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.
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.
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