• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Difference between RPC style & Document Style

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Can anybody let me know whats the difference between the RPC style & Document Style in WebServices.
Where can we use either of these and if possible provide me some WSDL which contains this difference.
any help will be greatly appereciated.

Thanks & Regards
Vikram K
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which style of WSDL should I use?
Patterns and Strategies for Building Document-Based Web Services

RPC is considered procedural and more tightly coupled compared to document-based. When you submit a document to a document-based web service there is no 'web method' - the web service knows what to do with the document 1) based on its type and 2) possibly based on its contents.

You may also want to check out Highlights: Ted Neward on Web Services (Tech Talk: Ted Neward on Web Services and Security).
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
RPC style web service uses the names of the method and its parameters to generate XML structures that represent a method’s call stack. While document style indicates that the SOAP body contains a XML document which can be validated against pre-defined XML schema document. A good starting point : SOAP Binding: Difference between Document and RPC Style Web Services
 
That which doesn't kill us makes us stronger. I think a piece of pie wouldn't kill me. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic