You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Rico M <ri...@gmail.com> on 2010/08/05 17:03:17 UTC

Document Style messages VS RPC

I am trying to understand various calling mechanisms provided by web
services..Please correct my understanding if the below is incorrect.

RPC :

a = calc.add(10,20)

Document.

<root>
   <func> add </func>
   <p1> 10<p1>
    <p2> 20 <p2>
</root>


So in short RPC calls become similar to a pure function call. Where as
document/literal style communication requires you to build xml and parse the
response.



Cheers!
Rico

Re: Document Style messages VS RPC

Posted by Rico M <ri...@gmail.com>.
Thanks for all the replies!

On Sat, Aug 7, 2010 at 3:04 AM, Samisa Abeysinghe <sa...@wso2.com> wrote:

> There is more to this. See http://www.eherenow.com/soapfight.htm
>
>
> On Thu, Aug 5, 2010 at 8:33 PM, Rico M <ri...@gmail.com> wrote:
>
>> I am trying to understand various calling mechanisms provided by web
>> services..Please correct my understanding if the below is incorrect.
>>
>> RPC :
>>
>> a = calc.add(10,20)
>>
>> Document.
>>
>> <root>
>>    <func> add </func>
>>    <p1> 10<p1>
>>     <p2> 20 <p2>
>> </root>
>>
>>
>> So in short RPC calls become similar to a pure function call. Where as
>> document/literal style communication requires you to build xml and parse the
>> response.
>>
>>
>>
>> Cheers!
>> Rico
>>
> Samisa ...
>
> http://samisa-abeysinghe.blogspot.com/
>
>
>

Re: Document Style messages VS RPC

Posted by Samisa Abeysinghe <sa...@wso2.com>.
There is more to this. See http://www.eherenow.com/soapfight.htm

On Thu, Aug 5, 2010 at 8:33 PM, Rico M <ri...@gmail.com> wrote:

> I am trying to understand various calling mechanisms provided by web
> services..Please correct my understanding if the below is incorrect.
>
> RPC :
>
> a = calc.add(10,20)
>
> Document.
>
> <root>
>    <func> add </func>
>    <p1> 10<p1>
>     <p2> 20 <p2>
> </root>
>
>
> So in short RPC calls become similar to a pure function call. Where as
> document/literal style communication requires you to build xml and parse the
> response.
>
>
>
> Cheers!
> Rico
>
Samisa ...

http://samisa-abeysinghe.blogspot.com/