aspose file tools
The moose likes Web Services and the fly likes Difference between RPC  style & Document Style Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Difference between RPC  style & Document Style " Watch "Difference between RPC  style & Document Style " New topic
Author

Difference between RPC style & Document Style

vikram karne
Ranch Hand

Joined: Jun 05, 2007
Posts: 34
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
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
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).


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
Binu George
Greenhorn

Joined: May 20, 2013
Posts: 2
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

Binu George
Enterprise Java Technology Blog
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Difference between RPC style & Document Style
 
Similar Threads
Axis RPC vs Document style web service
tightly coupled vs loosely coupled
Is calling a method on stub a RPC style of webservice ?
difference between JAXM and JAX-RPC
could anybody suggest me the major points