NonStop SOAP for Java User's Manual

Using the Administration Tools
NonStop SOAP for Java User’s Manual523860-001
5-20
Deploying an Entity Bean
First Request SOAP Message
Example 5-1 deploys a stateful session bean and shows the "create" method being
invoked.
.
Example 5-1. First Request SOAP Message
POST /servlet_jsp/soap-2_2/servlet/rpcrouter HTTP/1.0Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: 447
SOAPAction: ""
<?xml version='1.0' encoding='UTF-8'?>
<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:create xmlns:ns1="urn:CartSample">
<name xsi:type="xsd:string"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/
encoding/">
Test Person
</name>
</ns1:create>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>