【REQUEST】
POST /XML/Part3-3/3-3-2-Server.php HTTP/1.1
Host: sample.sakushima.net
Connection: Keep-Alive
User-Agent: PHP-SOAP/7.0.33
Content-Type: application/soap+xml; charset=utf-8; action="urn:PHP-SOAP-Example#query"
Content-Length: 457

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/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:enc="http://www.w3.org/2003/05/soap-encoding">
<env:Body>
<ns1:query env:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<param0 xsi:type="xsd:string">ケーキ</param0>
</ns1:query>
</env:Body>
</env:Envelope>
【RESPONSE】
HTTP/1.1 200 OK
Date: Sun, 22 Dec 2024 01:34:07 GMT
Server: Apache
Content-Length: 574
Vary: User-Agent
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: application/soap+xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/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:enc="http://www.w3.org/2003/05/soap-encoding">
<env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc">
<ns1:queryResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<rpc:result>return</rpc:result>
<return xsi:type="xsd:string">ケーキは、50個あります</return>
</ns1:queryResponse>
</env:Body>
</env:Envelope>