what you're asking to do is common place in axis2. You can send instances of custom pojos to a service operation, just deploy them in a jar in the /lib folder or in the aar file itself.
Sent from a mobile device, please excuse misspellings. ----- Reply message ----- From: "Louis Amstutz" <loui...@gmail.com> Date: Fri, Jul 22, 2011 20:47 Subject: Sending custom Java objects as parameters to a web service To: "java-user@axis.apache.org" <java-user@axis.apache.org> I am able to return custom objects from a webservice, but not send them as parameters I get an Instantiation Exception when if a method in the service has a parameter that is a custom object that I defined. I have no problems with parameters that are simple data types like int or standard Java objects like String. These custom class only have basic Java data types (int, String, boolean). Now the client stub defines it's own versions of my custom classes, but to my understanding these should map correctly to the original classes on the server. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org