This should work without any problem. Can you provide your service side, client side codes together with a SOAP messages so that we can look into your problem ? Also what is your Axis2 version ?
You can trace SOAP messages using a tool like TCPMon. Thanks ! On Sat, Jul 23, 2011 at 7:17 AM, Louis Amstutz <loui...@gmail.com> wrote: > 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. -- Sagara Gunathunga Blog - http://ssagara.blogspot.com Web - http://people.apache.org/~sagara/ LinkedIn - http://www.linkedin.com/in/ssagara --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org