IBM®
跳转到主要内容
    中国 [选择]    使用条款
 
 
Select a scope: Search for:    
    首页    产品    服务与解决方案     支持与下载    个性化服务    
跳转到主要内容

developerWorks 中国  >  SOA and Web services  >

The Web services (r)evolution: Part 3

How SOAP works

developerWorks

Return to article


Listing 1: An example SOAP/HTTP request with XML content
        
        
POST /soap/servlet/rpcrouter HTTP/1.0
Host: localhost:8070
Content-Type: text/xml
Content-Length: 461
SOAPAction: ""
<SOAP-ENV:Envelope
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/1999/XMLSchema">
 <SOAP-ENV:Body>
 <ns1:getRate xmlns:ns1="urn:demo1:exchange" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
 <country1 xsi:type="xsd:string">USA</country1>
 <country2 xsi:type="xsd:string">japan</country2>
 </ns1:getRate>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
      
      

Return to article

    关于 IBM 隐私条约 联系 IBM 使用条款