Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Rajani Gummadi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic