NonStop SOAP User's Manual
Customizing the SOAP Server
NonStop SOAP User’s Manual—520501-012
8-42
Examples
Example 8-6 on page 8-43 shows sample code accessing headers. For explanatory
purposes only the pre_process method of the SoapUEHandler_Generic class is
shown.
Example 8-5. Response SOAP Message
<?xml version ="1.0" ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:hdr="urn:compaq_nsk_oss_SoapHeader"
>
<SOAP-ENV:Header>
<myNS:testHeader
xmlns:myNS="urn:TestHeaderNameSpace"
SOAP-ENV:mustUnderstand="true"
SOAP-ENV:role="http://www.w3.org/2002/06/soap-
envelope/role/none">
<headersFound>1</headersFound>
</myNS:testHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<EmpInfoResponse>
.......
</EmpInfoResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>