NonStop SOAP 4.1 User's Manual
The ServerAPI Element
The ServerAPI element specifies that the service is a server API service. The SDL file can define
multiple ServerAPI environments. Multiple environments are separated by the ServerAPI
element. The element definition appears in the SDL file as:
<ServerAPI>
The ServerAPI element has one child element named Service. The ServerAPI element
contains attributes that are same as the Service element. Except for the ServerClass attribute
in the Service element, the ServerAPI elements support all the attributes in the Service
element.
For example:
<sdl Url="/nssoap" ServerAddress="http://www.nonstopsoap.com">
<ServerAPI>
<Service
Name="math"
DDLDictionaryLocation="$DSMSCM.API">
<Operation
Name="add"
NameSpaceQualified="yes"
SoapMessageType="document"
ProcessSoapDDLComments="no"
SoapDDLAttribute="no"
UseDDLDefaultValue="no">
<OperationDescription>
Add two numbers
</OperationDescription>
<RequestInfo>
<DDLDefinitionName>PARAMETER</DDLDefinitionName>
</RequestInfo>
<ResponseInfo>
<DDLDefinitionName>RESULT</DDLDefinitionName>
<ResponseSelection defaultResp="yes" Fault="no"/>
</ResponseInfo>
</Operation>
</Service>
</ServerAPI>
</sdl>
176 NonStop SOAP 4 Service Description Language










