this is a bug in Axis2. It has fixed in the trunk. please have a look at
with a nightly build.

On 8/11/07, Raghu Upadhyayula <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
> In my webservices, I have a method which has a parameter defined as
> type="xsd:anyType" in the WSDL.
>
>
>
> In Axis 1.3, when I did WSDL2Java for my WSDL that parameter got converted
> to java.lang.Object.
>
>
>
> But in Axis2 1.2, when I did WSDL2Java for the same WSDL, that parameter
> got converted to org.apache.axiom.om.OMElement.
>
>
>
> My question is, if I need to pass a Java Object to my webservice method,
> how do I convert it to OMElement and pass it to the method from the client
> code & how do I convert OMElement back to java.lang.Object in my server
> code?
>
>
>
>
>
> Thanks
>
> Raghu
>



-- 
Amila Suriarachchi,
WSO2 Inc.

Reply via email to