6 Appendix A: Full WSDL
The following WSDL specifies the WSDL 1.1 binding extension transport URI with the version of SOAP as indicated.
WSDL 1.1 binding extension transport URI with SOAP 1.2 [SOAP1.2-1/2003]
-
<?xml version="1.0" encoding="utf-8"?> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"> <!-- ommitted elements --> <wsdl:binding name="MyBinding" type="MyPortType"> <soap12:binding transport="http://schemas.microsoft.com/soap/tcp"/> <wsdl:operation name="MyOperation"> <!-- ommitted elements --> </wsdl:operation> </wsdl:binding> <wsdl:service name="MyService"> <wsdl:port name="MyPort" binding="MyBinding"> <soap12:address location="net.tcp://myhost/" /> </wsdl:port> </wsdl:service> </wsdl:definitions>
WSDL 1.1 binding extension transport URI with SOAP 1.1 [SOAP1.1]
-
<?xml version="1.0" encoding="utf-8"?> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> <!-- ommitted elements --> <wsdl:binding name="MyBinding" type="MyPortType"> <soap:binding transport="http://schemas.microsoft.com/soap/tcp"/> <wsdl:operation name="MyOperation"> <!-- ommitted elements --> </wsdl:operation> </wsdl:binding> <wsdl:service name="MyService"> <wsdl:port name="MyPort" binding="MyBinding"> <soap:address location="net.tcp://myhost/" /> </wsdl:port> </wsdl:service> </wsdl:definitions>