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
posted
0
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.
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
posted
0
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
posted
0
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?