Hi,
I have a POJO service that I have decided to move from Axis1 to Axis2. I have, however run in to some problems: Methods taking arguments of class java.lang.Object (and arrays of that class), receive a javax.activation.DataHandler object instead of the "real" object. Other methods that takes other kinds of arguments work fine.

Is there a way to fix this problem without changing the code on the server?

This is how I have done:
I deploy the service. I generate client the stub using Axis2's wsdl2java, and the wsdl file created by Axis2. I call the method (that takes an Object argument) with an argument of class java.lang.String. The service receives the DataHandler object.

Please help
/Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to