Hi all.

I've got a webservice that runs correctly on Jboss, Weblogic and
Websphere.  I then also have an internal mechanism that takes advantage
of the xfire://local transport for an asynchronous process between a
logic engine and the webservice api for external development to add
functionality to the logic engine.  This works just fine on Jboss, but
fails on both Weblogic and Websphere.  

The call it is failing on the rudimentary, 

ObjectServiceFactory osf = new ObjectServiceFactory();

I get a java.lang.NoClassDefFoundError:
org/codehaus/xfire/service/binding/ObjectServiceFactoryClassNotFound
Exception.  

Here is the code sample: 

public MyClassWS getJavaClient(){
  ObjectServiceFactory osf = new ObjectServiceFactory();
  Service service = osf.create(MyClass.class);                 
  service.setProperty(ObjectInvoker.SERVICE_IMPL_CLASS,
MyClassWSImpl.class);      
  
  MyClassWS myClassWS =  (MyClassWS) new
XFireProxyFactory().create(service, "xfire.local://MyClassWS")       
  Client client = Client.getInstance(myClassWS);                        
  client.getXFire().getServiceRegistry().register(service);

  return myClassWS;
}

The qname.jar is updated, the jdom is updated and like I said, the
WebService works correctly, the method only fails when I'm calling this
method on weblogic/websphere.  Its almost like the xfire library didn't
get loaded with the application, but then I don't understand how the
webservice could be working correctly.

Has anyone else had this or a similar issue?  Again, this works fine on
Jboss.  Is there something special in the ObjectServiceFactory class
that could be conflicting with the libs in Websphere/weblogic?  Is there
something I'm missing? 

Any help would be appreciated.

Using jdk 1.4.10 and Aegis binding.

Thanks. 

Rodrigo.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to