NonStop SOAP 4.1 User's Manual
NOTE: You can use multiple <DDLDefinitionName> element. For more information about
support for multiple DDL elements, see “Support for Multiple DDL Definitions” (page 234)
Generated WSDL file:
<xsd:element name="MyOperationResponse0" type="tns1:MyOperationResponse0"/>
<xsd:complexType name="MyOperationResponse0">
<xsd:sequence>
<xsd:element name="response" minOccurs="1" maxOccurs="1">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="12"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
The ResponseSelection Element
The ResponseSelection element specifies the selection criteria of a NonStop SOAP 4 response.
This element supports the multiple non-fault response feature.
NOTE: NonStop SOAP supports multiple non-fault messages per request. However, wsdl standard
mandates only one non-fault message and maximum one fault message per request. If multiple
messages are marked as non-fault messages, the generated wsdl is not parsed by wsdl2c and
wsdl2pwy tools and may result in error.
The value of the attributes guide the NonStop SOAP 4 server to select a particular response. The
information is stored in the services.xml file, which the server uses during runtime. This is a
mandatory element. The element definition appears in the SDL file as:
<ResponseSelection
Start="0"
End="2"
BufVal="00"
ConversionOp="[string | decimal]"
ComparisonOp="[eq | gt | lt | ne]"
Fault="[yes | no]"
defaultResp="[yes | no]"/>
The ResponseSelection element includes the following attributes:
• Start
• End
• BufVal
• ConversionOp
• ComparisonOp
• Fault
• defaultResp
•
Start
The Start attribute specifies the start index of the response buffer for the response selection
criteria. There is no default value for this attribute. This attribute is optional.
For example:
SDL file:
Start="0"
SDL Service Types 171










