La interfaz de servicio de este documento WSDL contiene un tipo de puerto (NewWSDLFile), una operación (ProcessOrderOperation), un mensaje de entrada (inProcessOrderRequest) y un mensaje de entrada (outProcessOrderResponse).
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://tempuri.org/NewWSDLFile/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
name="NewWSDLFile" targetNamespace="http://tempuri.org/NewWSDLFile/">
<wsdl:types>
<xsd:schema targetNamespace="http://tempuri.org/NewWSDLFile/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="inProcessOrderResponse" type="xsd:string"/>
<xsd:element name="outProcessOrderRequest" type="xsd:string"/>
<xsd:complexType name="ReqProcessOrder">
<xsd:sequence>
<xsd:element name="accountNumber">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="10"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RespProcessOrder">
<xsd:sequence>
<xsd:element name="totalCost">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="10"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="itemDescription">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="20"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="orderStatus">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="79"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="outProcessOrderResponse">
<wsdl:part type="tns:RespProcessOrder" name="outProcessOrderResponse"/>
</wsdl:message>
<wsdl:message name="inProcessOrderRequest">
<wsdl:part type="tns:ReqProcessOrder" name="inProcessOrderRequest"/>
</wsdl:message>
<wsdl:portType name="NewWSDLFile">
<wsdl:operation name="ProcessOrderOperation">
<wsdl:input message="tns:inProcessOrderRequest"/>
<wsdl:output message="tns:outProcessOrderResponse"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>