Developing a WSDL to Support the Wrapped Style
Here is how this style looks in WSDL:
 
<wsdl:types>
<schema ...>
<element name="prevDay" type="sns:prevDay"/> //1
<complexType name="prevDay">
<sequence>
<element name="Unit" type="xsd:string"/>
<element name="identifier" type="xsd:int"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
...
<wsdl:message name="getBusinessDayRequest">
<wsdl:part name="input" element="sns:prevDay" /> //2
</wsdl:message>
 
...
<wsdl:portType name="BusinessDayPortType">
<wsdl:operation name="prevDay"> //3
<wsdl:input message="tns:getBusinessDayRequest" />
<wsdl:output message="tns:getBusinessDayResponse" />
</wsdl:operation>
</wsdl:portType>
 
...
<wsdl:binding name="BusinessDayPortType">
<soap:binding style="document" //4
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="prevDay">
<wsdl:input message="tns:getBusinessDayRequest" />
<wsdl:output message="tns:getBusinessDayResponse" />
</wsdl:operation>
</wsdl:binding>
//1 The WSDL types element (or the XML Schema) defines a complex type with just one attribute, name, containing only elements, in this case the two elements Unit and identifier.
//2 The message’s input part contains just a single part element, prevDay.
//3 The operation prevDay must have the same name as the related Schema element.
//4 The WSDL-SOAP binding specifies document style.