wood burning stoves 2.0*
The moose likes Web Services and the fly likes Is that Document or RPC style? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Is that Document or RPC style?" Watch "Is that Document or RPC style?" New topic
Author

Is that Document or RPC style?

shai ban
Ranch Hand

Joined: Jan 05, 2010
Posts: 177
Hi All, I have confusion about the below statements given in Book "SOA Using Java Web Services by Mark D.Hansen" (Page No. 155).




The same soap request is given below (from the book only)




Is that correct? When I created a sample program in RPC using JDK6 and METRO 2.2.1 then I got Method name in SOAP request, qualified with namespace in the wsdl!!!
So the queries are:
- The method name should be namespace qualified or not in RPC style?
- If it is not qualified then you cna easily recognize the service saying it is RPC otherwise it will look exactly like Document/Wrapped. Isn't it? If yes, then how you will identify the service with soap request, whether it is RPC or Document/Wrapped?

Thanks in advance.


 
 
subject: Is that Document or RPC style?