aspose file tools*
The moose likes Web Services and the fly likes When to RPC webservice and When to use WS webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "When to RPC webservice and When to use WS webservice" Watch "When to RPC webservice and When to use WS webservice" New topic
Author

When to RPC webservice and When to use WS webservice

pk meduri
Greenhorn

Joined: Oct 04, 2012
Posts: 1
Hi ,

Van any one guide me as to When to RPC webservice and When to use WS webservice?

Tahnks
J Dirksen
Author
Greenhorn

Joined: Sep 04, 2012
Posts: 13
I don't really understand the question, since RPC is a style you can use to do webservices. OFten webservices (the SOAP ones) are divided into two styles. RPC Style webservices and document style webservices. In the early days of webservices RPC was most often used, but this caused all kinds of performance and interoperability issues. Microsoft was one of the first to start with document/literal way of webservices. This provided an easy way to map webservices to server implementations and also allowed for easy interoperability.

The JBoss webservice documentation has a more extensive explanation: http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/Web_Services.html
 
 
subject: When to RPC webservice and When to use WS webservice
 
Similar Threads
diff between JAX-RPC and JAX-WS?
Creating JAX-WS Client in J2ME
JAX-WS dynamic proxies and increased platform independence
Regarding 'annotations' in webservice eg. @WebService
I need to write a client for Testing the SEI implemented as stateless session bean