[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sandesha-dev
Subject:    Re: Axis 1.4.2 to Axis2 1.6 Migration
From:       JERIL NADAR <jeril842002 () gmail ! com>
Date:       2014-12-05 16:48:46
Message-ID: CAFVXyxvp_nGaXGqx2Fs0_VXfBrTPwG+5L=JFw8uqRySwYAO9bw () mail ! gmail ! com
[Download RAW message or body]

thanks very much.
I will check this out.

On Fri, Dec 5, 2014 at 6:30 PM, satyapriya sahoo <sahoo.satyapriya@gmail.com
> wrote:

> JERIL,
>
>  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.
>
> XML:
> <emp>
> <emp-no>1</emp-no>
> <emp-name>aaa</emp-name>
> </emp>
>
> 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.
>
> NOTE:
> *******
> For changing from RPC to Document Style, You have to Recompile the WSDL.
>
> Hope this information help you to proceed further.
>
> Thanks,
> Satya
>
> On Fri, Dec 5, 2014 at 6:04 PM, JERIL NADAR <jeril842002@gmail.com> wrote:
>
>>
>>   Hi,
>> I got your mail id from your Axis migration page :
>> http://axis.apache.org/axis2/java/core/docs/migration.html
>> 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
>>
>>
>>
>>
>


-- 
Thanks,
Jeril Nadar
John 3:16

[Attachment #3 (text/html)]

<div dir="ltr">thanks very much.<br>I will check this out.<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 5, 2014 at 6:30 PM, \
satyapriya sahoo <span dir="ltr">&lt;<a href="mailto:sahoo.satyapriya@gmail.com" \
target="_blank">sahoo.satyapriya@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">JERIL,<div><br></div><div> In RPC you can pass \
whole XML as a STRING, BUT in <span style="font-size:13.3333339691162px"> \
</span><span style="font-size:13.3333339691162px">Document style you need to pass as \
an Object not a String.</span></div><div><span \
style="font-size:13.3333339691162px">Consider the bellow \
example.</span></div><div><span \
style="font-size:13.3333339691162px"><br></span></div><div><span \
style="font-size:13.3333339691162px">XML:</span></div><div><span \
style="font-size:13.3333339691162px">&lt;emp&gt; </span></div><div><span \
style="font-size:13.3333339691162px">&lt;emp-no&gt;1&lt;/emp-no&gt;</span></div><div><span \
style="font-size:13.3333339691162px">&lt;emp-name&gt;aaa&lt;/emp-name&gt;</span></div><div><span \
style="font-size:13.3333339691162px">&lt;/emp&gt;</span></div><div><span \
style="font-size:13.3333339691162px"><br></span></div><div><span \
style="font-size:13.3333339691162px">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.</span></div><div><span style="font-size:13.3333339691162px">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. </span></div><div><span \
style="font-size:13.3333339691162px">Here you can&#39;t pass as string, you need to \
pass the EMP class Object.</span></div><div><span \
style="font-size:13.3333339691162px"><br></span></div><div><span \
style="font-size:13.3333339691162px">NOTE:</span></div><div><span \
style="font-size:13.3333339691162px">*******</span></div><div><span \
style="font-size:13.3333339691162px">For changing from RPC to Document Style, You \
have to Recompile the WSDL.</span></div><div><span \
style="font-size:13.3333339691162px"><br></span></div><div><span \
style="font-size:13.3333339691162px">Hope this information help you to </span>proceed \
further.</div><div><span style="font-size:13.3333339691162px"> \
</span></div><div><span \
style="font-size:13.3333339691162px">Thanks,</span></div><div><span \
style="font-size:13.3333339691162px">Satya </span></div></div><div \
class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div \
class="gmail_quote">On Fri, Dec 5, 2014 at 6:04 PM, JERIL NADAR <span \
dir="ltr">&lt;<a href="mailto:jeril842002@gmail.com" \
target="_blank">jeril842002@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div><div class="gmail_quote"><br> <div>
<div>
<div class="gmail_quote">
<div>Hi,</div>
<div>I got your mail id from your Axis migration page : <a \
href="http://axis.apache.org/axis2/java/core/docs/migration.html" \
target="_blank">http://axis.apache.org/axis2/java/core/docs/migration.html</a><br \
clear="all"></div> <div>I have one quick question for you. Your help would be highly \
appreciated.</div> <div>Our project receives Webservice response from an external \
system. <br>We have webservice clients written to send the request and receive the \
response/fault message accordingly. <br>Till recently they were using Axis 1.4.2 but \
now are planning to move to Axis2 1.6. <br>They are ready with the Webservice part \
and have shared their WSDL file. <br>The operations remains the same but now they \
have moved from RPC style to Document style.</div> <div> </div>
<div><u>So my question is  if we continue to remain with the older client (axis \
1.4.2) will it make any difference?</u></div> <div><u>If yes, what changes would be \
required from our side for the client code?</u></div> <div> </div>
<div>Any help would be useful.<span><font \
color="#888888"><br><br></font></span><br><br>-- <br></div></div></div></div></div> \
<div><span style="FONT-FAMILY:comic sans ms,sans-serif">Thanks,</span><br \
style="FONT-FAMILY:comic sans ms,sans-serif"><span style="FONT-FAMILY:comic sans \
ms,sans-serif">Jeril Nadar</span><br style="FONT-FAMILY:comic sans \
ms,sans-serif"><span style="FONT-FAMILY:comic sans ms,sans-serif">John \
3:16</span><br><br><br><br></div> </div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div \
class="gmail_signature"><span style="font-family:comic sans \
ms,sans-serif">Thanks,</span><br style="font-family:comic sans ms,sans-serif"><span \
style="font-family:comic sans ms,sans-serif">Jeril Nadar</span><br \
style="font-family:comic sans ms,sans-serif"><span style="font-family:comic sans \
ms,sans-serif">John 3:16</span><br><br><br><br></div> </div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic