File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Is calling a method on stub a RPC style of webservice ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Is calling a method on stub a RPC style of webservice ?" Watch "Is calling a method on stub a RPC style of webservice ?" New topic
Author

Is calling a method on stub a RPC style of webservice ?

Rajani Gummadi
Ranch Hand

Joined: Dec 17, 2010
Posts: 48
Hi,

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 ?

- Rajani G
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
There is quite recent thread discussing these things. You may want to take a look:
http://www.coderanch.com/t/520460/java-Web-Services-SCDJWS/certification/generate-correct-WSDL-service-overloaded
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is calling a method on stub a RPC style of webservice ?