Hi,

Could you use servicemix-cxf-se instead? As servicemix-jsr181 is kinda of deprecated.

Freeman
On 2010-3-4, at 下午8:11, chris charles harris wrote:


Hi,
I am going to use servicemix-jsr181 component for develop my application
with "annotation = none" condition. I was able pass a string parameter
according to their example. Now I want to pass a complex object to a method.
I changed the wsdl and create classes.

Lets say this is the method i want to expose as a service.

public String processOrder(Order order );


Order class :

public class Order {

   protected String customerID;
   protected String itemID;

.......

}

I implemented the method and deployed successfully in servicemix. Then i saw the generated wsdl it contains different namespace for the my order class even i define it the my wsdl. When i test the service with SOAPUI it always passes one parameter. Other one is not passing. Can anyone temm me how to pass complex object with servicemix-jsr181 componentand annotation=none
condition.

Thanks
 chris

--
View this message in context: 
http://old.nabble.com/How--to-pass-complex-object-in-to-a-web-service-tp27779954p27779954.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.



--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to