NonStop SOAP 4.1 User's Manual
For example, if the StartIndex is specified for the first response selection criterion, the
sample syntax will be:
<parameter name="Response0">Element Name</parameter>
<parameter name="Response0_StartIndex">0</parameter>
This is an optional element.
• Response(x)_EndIndex
This element defines the offset in the response buffer up to which the data must be evaluated
against the response selection criterion. The data selected from the response buffer ranges
from the Response(x)_StartIndex parameter to the Response(x)_EndIndex parameter.
For example:
<parameter name="Response0">Element Name</parameter>
<parameter name="Response0_StartIndex">0</parameter>
<parameter name="Response0_EndIndex">2</parameter>
This is an optional element. It is mandatory only if the Response(x)_StartIndex parameter
is specified for the response selection criterion.
• Response(x)_ConversionOp [ string | decimal ]
This tag defines the conversion that must be done on the Response(x)_BufferValue
parameter before comparing it with the response[start-index:end-index-1] buffer.
The permissible values for this parameter are:
string
performs the string conversion on the Response(x)_BufferValue parameter before
comparing it with response[start-index:end-index-1].
decimal
performs the decimal conversion on the Response(x)_BufferValue parameter before
comparing it with response[start-index:end-index-1].
For example:
<parameter name="Response0_ConversionOp">string</parameter>
This is an optional parameter. If not specified, the default conversion value is string.
• Response(x)_Default [true | false ]
If this parameter is set to true, it indicates that this is the default response element to be
selected if no matching response selection criteria specified for the operation is found. This is
an optional parameter.
<parameter name="Response0_Default">true</parameter>
• Response(x)_Fault [true | false ]
If this parameter is set to true and the response received from the service matches the response
selection criterion, NonStop SOAP 4 considers the response received to be a fault response.
This parameter is optional. For example:
<parameter name="Response0_Fault">true</parameter>
For example:
<parameter name= "Response0">TestElementResponse</parameter>
<parameter name= "Response0_StartIndex">0</parameter>
<parameter name= "Response0_EndIndex">2</parameter>
<parameter name= "Response0_BufferValue">00</parameter>
In the example, on receiving a response from the service, NonStop SOAP 4 compares bytes 0
(StartIndex) to 1 (EndIndex – 1) received in the response with the specified
Response0_BufferValue. If a comparison operator is not specified, the default value is “equal
The services.xml File 187










