15.8 Remote Procedure Call (RPC)

 
 <?xml version="1.0" encoding="UTF-8"?>
 <env:Envelope
    xmlns:env = "http://www.w3.org/2002/12/soap-envelope"
    env:encodingStyle = "http://www.w3.org/2002/12/soap-encoding"
 >
   <env:Body>
     <m:echo xmlns:m = "uri" >
        <m:arg1 xsi:type = "xs:string">abc</m:arg1>
        <m:arg2 xsi:type = "xs:int">123</m:arg2>
     </m:echo>
   </env:Body>
 </env:Envelope>

 
 <?xml version = "1.0" encoding = "UTF-8"?>
 <end:Envelope
    xmlns:env = "http://www.w3.org/2002/12/soap-envelope"
    xmlns:enc = "http://www.w3.org/2002/12/soap-encoding"
    xmlns:rpc = "http://www.w3.org/2002/12/soap-rpc"
    xmlns:xs = "http://www.w3.org/2001/XMLSchema"
    xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
 >
   <env:Body>
     <m:echoResponse xmlns:m = "uri">
       <rpc:result>m:ans</rpc:result>
       <m:ans xsi:type = "m:struct">
          <m:val1 xsi:type = "xs:string">abc</m:val1>
          <m:val2 xsi:type = "xs:int">123</m:val2>
       </m:ans>
     </m:echoResponse>
   </env:Body>
 </env:Envelope>