Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

rpc and document

Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

What i understood for RPC and document is as follows:-

RPC -> Remote Method will be called and response will be the return value of that method.

Document -> Data will be exchanged in XML format.

Question here is even in RPC request/response the data/message is going in XML only,so what's the difference between RPC and document ?..The only difference i see the way data/message is organised.

Can someone put more light on this..
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to my knowledge, both use xml over http in the form of soap messages but the difference is to what level of xml detail in the soap message. for rpc, the xml has information of the calling method, arguments, return values and no information of how complex types if any are transferred over the wire unlike document type where there the actual soap message has information of how the complex types are transferred.

and people (WS-I Basic Profile) say that using rpc/encoded style web services we cannot achive interopability which can be achieved by document/literal style and rpc/literal style web services.

can anyone please correct me ...
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic