axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From satyapriya sahoo <>
Subject Re: Axis 1.4.2 to Axis2 1.6 Migration
Date Fri, 05 Dec 2014 13:00:00 GMT

 In RPC you can pass whole XML as a STRING, BUT in  Document style you need
to pass as an Object not a String.
Consider the bellow example.


In RPC you can pass the whole xml as a String, but in document style U need
to Reccompile your wsdl. There you will get so many bean classes.
Like here May be one EMP class. and in the EMP class there will be 2
setters() method present where it set the value for emp-no and emp-name.
Here you can't pass as string, you need to pass the EMP class Object.

For changing from RPC to Document Style, You have to Recompile the WSDL.

Hope this information help you to proceed further.


On Fri, Dec 5, 2014 at 6:04 PM, JERIL NADAR <> wrote:

>   Hi,
> I got your mail id from your Axis migration page :
> I have one quick question for you. Your help would be highly appreciated.
> Our project receives Webservice response from an external system.
> We have webservice clients written to send the request and receive the
> response/fault message accordingly.
> Till recently they were using Axis 1.4.2 but now are planning to move to
> Axis2 1.6.
> They are ready with the Webservice part and have shared their WSDL file.
> The operations remains the same but now they have moved from RPC style to
> Document style.
> *So my question is  if we continue to remain with the older client (axis
> 1.4.2) will it make any difference?*
> *If yes, what changes would be required from our side for the client code?*
> Any help would be useful.
> --
> Thanks,
> Jeril Nadar
> John 3:16

View raw message