NonStop SOAP 4.1 User's Manual
For example:
SDL file:SDL file:
SoapDDLAttribute ="no"SoapDDLAttribute ="yes"
Generated schema in the WSDL file:Generated schema in the WSDL file:
<xsd:complexType name="request">
<xsd:sequence>
<xsd:complexType name="request">
<xsd:attribute name="req1"
<xsd:element name="req1" use="required">
minOccurs="1" maxOccurs="1"> <xsd:simpleType>
<xsd:simpleType> <xsd:restriction base="xsd:string">
<xsd:restriction base="xsd:string"> <xsd:maxLength value="5"/>
<xsd:maxLength value="5"/> </xsd:restriction>
</xsd:restriction> </xsd:simpleType>
</xsd:simpleType></xsd:attribute>
</xsd:element><xsd:attribute name="req2"
<xsd:element name="req2" use="required">
minOccurs="1" maxOccurs="1"> <xsd:simpleType>
<xsd:simpleType> <xsd:restriction base="xsd:string">
<xsd:restriction base="xsd:string"> <xsd:maxLength value="5"/>
<xsd:maxLength value="5"/> </xsd:restriction>
</xsd:restriction> </xsd:simpleType>
</xsd:simpleType></xsd:attribute>
</xsd:element><xsd:attribute name="req3"
<xsd:element name="req3" use="required">
minOccurs="1" maxOccurs="1"> <xsd:simpleType>
<xsd:simpleType> <xsd:restriction base="xsd:string">
<xsd:restriction base="xsd:string"> <xsd:maxLength value="2"/>
<xsd:maxLength value="2"/> </xsd:restriction>
</xsd:restriction> </xsd:simpleType>
</xsd:simpleType></xsd:attribute>
</xsd:complexType> </xsd:element>
</xsd:sequence>
</xsd:complexType>
OutputFileNamePrefix
The OutputFileNamePrefix attribute specifies the prefix of the generated files. The default
value is "". This attribute is optional and supports alphanumeric characters and an underscore(_).
For example:
SDL file:
OutputFileNamePrefix = "John_"
Generated directory structure:
<NonStop SOAP 4 Deployment Directory>
Client
MyService
John_SoapPW_MyOperation.html
Services
MyService
John_SoapPW_MyService.wsdl
services.xml
Generated services.xml file:
<parameter name="wsdl_path"><NonStop SOAP Deployment Directory>
/services/MyService/John_SoapPW_reflector.wsdl</parameter>
UseDDLDefaultValue
The UseDDLDefaultValue attribute specifies whether the default value of the element or
attribute must be used. The default value is no. This attribute is optional.
For example:
SDL file:SDL file:
SDL Service Types 167










