NonStop SOAP User's Manual
The Service Description Language (SDL)
NonStop SOAP User’s Manual—520501-012
3-7
SDL DTD for TS/MP and NonStop Processes
NonStop SOAP server can now process a SOAP request which is of RPC style and
contain multi-reference elements. For example, here is a SOAP request from an
Apache Axis client containing a multi-reference element.
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:BookCatalogRPC
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encodi
ng/" xmlns:ns1="BookCatalogRPC">
<BookCatalogRPC href="#id0"/>
</ns1:BookCatalogRPC>
<multiRef id="id0"
soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encodi
ng/"
xsi:type="ns2:BookCatalogRPC"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="urn:cpq_tns_BookCatalogRPC">
<fncode xsi:type="xsd:int">1</fncode>
<bookinfo xsi:type="xsd:string">Grisham</bookinfo>
</multiRef>
</soapenv:Body>
</soapenv:Envelope>
In the SOAP message above, the element <BookCatalogRPC href="#id0"/>, refers to
an element which has an attribute id with a value of “id0”.
Also note that in the SDL for the above service, the <service> element has the attribute
NameSpaceQualified set to "yes", and SoapMessageType set to "rpc".
<!-- Attribute 'SoapDDLAttribute': The specified value indicates
to NonStop SOAP that all the leaf fields of the request and
response DDL definitions of that service are to be represented
as XML attributes. The specified value is "yes" or "no", the