• Post Reply Bookmark Topic Watch Topic
  • New Topic

RPC and SOAP relationship  RSS feed

 
chaohua wang
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you talking about the RPC style of messaging ?
 
chaohua wang
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
chaohua wang
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!