【REQUEST】
POST /XML/Part3-3/3-3-5-Server.php HTTP/1.1
Host: sample.sakushima.net
Connection: Keep-Alive
User-Agent: PHP-SOAP/7.0.33
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:PHP-SOAP-Example#order"
Content-Length: 535

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:PHP-SOAP-Example" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:order>
<name xsi:type="xsd:string">ケーキ</name>
<quantity xsi:type="xsd:int">5</quantity>
</ns1:order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
【RESPONSE】
HTTP/1.1 200 OK
Date: Wed, 24 Apr 2024 17:46:00 GMT
Server: Apache
Content-Length: 825
Vary: Accept-Encoding,User-Agent
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:PHP-SOAP-Example" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:orderResponse>
<return xsi:type="ns2:Map">
<item>
<key xsi:type="xsd:string">商品名</key>
<value xsi:type="xsd:string">ケーキ</value>
</item>
<item>
<key xsi:type="xsd:string">単価</key>
<value xsi:type="xsd:int">350</value>
</item>
<item>
<key xsi:type="xsd:string">合計</key>
<value xsi:type="xsd:int">1750</value>
</item>
</return>
</ns1:orderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>