aspose file tools
The moose likes Web Services and the fly likes RPC and SOAP relationship Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "RPC and SOAP relationship" Watch "RPC and SOAP relationship" New topic
Author

RPC and SOAP relationship

chaohua wang
Ranch Hand

Joined: Dec 22, 2002
Posts: 61
Hi, Folks,

I am confused in RPC and SOAP.

From what I have learned, RPC and SOAP relationship is like letter and envelope, which means, add a SOAP header on RPC message to transmit. But SOAP has Body element. I wonder if I can put the message in the body, so to get rid of RPC totally.

Thank you very much!

Chaohua
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32767
RPC in the context of SOAP means RPC, the concept, not RPC, the protocol. SOAP is most often transported over HTTP, which is much more widely known and available than the RPC protocol. RPC here means that SOAP can (and often is) used to invoke methods remotely, but that happens by wrapping method names, parameters amd results in XML, not by wrapping the RPC protocol.


Android appsImageJ pluginsJava web charts
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8845

Are you talking about the RPC style of messaging ?


Groovy
chaohua wang
Ranch Hand

Joined: Dec 22, 2002
Posts: 61
Yes, we are taking about RPC style of message.
Can we say the SOAP is more advanced than RPC?
Eddy Lee Sin Ti
Ranch Hand

Joined: Oct 06, 2005
Posts: 135
I would say that SOAP is a generic messaging level protocol that can supports different types of messaging style, which one of it is rpc style.


SCJP, SCWCD, SCJWS, IBM 700,IBM 701, IBM 704, IBM 705, CA Clarity Technical<br /> <br /><a href="http://eddyleesinti.blogspot.com" target="_blank" rel="nofollow">http://eddyleesinti.blogspot.com</a>
chaohua wang
Ranch Hand

Joined: Dec 22, 2002
Posts: 61
Thank you!
When I request the Web service, at the client side, look like I don't need to hard code the soap or rpc xml file. I only care about the rpc API to hard code Java, Right?

Chaohua
 
 
subject: RPC and SOAP relationship
 
Threads others viewed
JAX-RPC with soap header/body
XML-RPC
How to find Document style or RPC from SOAP
Diff b/w RPC / Document / MSG Style
some confused question
developer file tools