NonStop SOAP 4.1 User's Manual
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
In the services.xml file, the following parameter is added to support different SOAP message
types:
<parameter name="SoapMessageType">document</parameter>
The value of this parameter can be either document or rpc based on the value in SDL.
NOTE: If SOAPMessageType is set to rpc, NonStop SOAP 4 does not validate the incoming
request with schema using its validation module, and even if it is engaged it will be skipped.
ProcessSoapDDLComments
The ProcessSoapDDLComments option processes the comments in the DDL files. If the
ProcessSoapDDLComments option is set to yes, the SoapAdminCL tool processes the
comments in the DDL files and takes the appropriate action while generating the files. The
default value is no.
NOTE: To enable DDL comments, you must specify ?comments in the DDL file.
Table 4 lists the various actions the SoapAdminCL tool performs for different DDL comment
values.
Table 4 The DDL Comments values
DescriptionDDL Comment
This specifies an element as optional. It sets the minOccurs value of the element as
0 and maxOccurs value to 1 in the generated WSDL file.
For example:
@SOAP_OPTIONAL
DDL file:
* @SOAP_OPTIONAL
input type binary 32.
WSDL file translation:
<input type="xsd:long"
minOccurs="0"
maxOccurs="1">
</input>
This specifies that a field is optional in the SOAP request message because the DDL
field might be a group field or a leaf field. This comment is activated only when it
@SOAP_SUPPRESS_IN
appears in combination with @SOAP_OPTIONAL. In the WSDL file, this comment is
translated as minOccurs=0 and maxOccurs depending on the selected DDL comment.
For example:
DDL file:
* @SOAP_OPTIONAL @SOAP_SUPPRESS_IN
20 Bin3 type binary 32.
WSDL file translation:
<xsd:element name="bin3"
type="xsd:int"
minOccurs="0"
maxOccurs="1" />
This specifies that a field is optional in the SOAP response message because the DDL
field might be a group field or a leaf field. This comment is activated only when it
@SOAP_SUPPRESS_OUT
appears in combination with @SOAP_OPTIONAL. In the WSDL file, this comment is
translated as minOccurs=0 and maxOccurs depending on the selected DDL comment.
For example:
DDL file:
164 NonStop SOAP 4 Service Description Language










