Is calling a method on stub a RPC style of webservice ?
posted 5 years ago
I'm new to webservices and have not worked much on either RPC or Document style. I was reading through some web pages at which talks about Remote Procedure Style and Document style web services. The concept is confusing me. Based on what I read so far and understood, I have few questions.
I saw some examples where client calls the webservice, just like a normal method call using the proxy. Is this an RPC style of webservice? Because its more like RMI call (involving stubs and skeletons).
I also saw a post at http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/, but I think this is more of a WSDL and SOAP comparision. But I was not able to map this to RPC style of calling Webservice or Document style of calling webservice. Also, if it is an RPC or Document, in both cases it is SOAP messages which are XML documents that are being exchanged. So why there is a difference between these two modes. Can some examples be referred here for both RPC and Document style ?