Listing 3. SOAP Request
POST http://localhost:8080/
Content-Length: 509
Content-Type: text/xml
SOAPAction: "Text/Caps#capitalize"
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<namesp3:capitalize xmlns:namesp3="Text/Caps">
<c-gensym19 xsi:type="xsd:string">abc</c-gensym19>
</namesp3:capitalize>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Copyright © 1994 - 2018 Linux Journal. All rights reserved.