6.1 .Net Message Framing MSMQ Binding Protocol WSDL and Policy Assertions
-
<?xml version="1.0" encoding="utf-8"?> <wsdl:definitions name="OrderProcessorService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:i0="http://Microsoft.ServiceModel.Samples" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:msmq="http://schemas.microsoft.com/ws/06/2004/mspolicy/msmq"> <wsp:Policy wsu:Id="NetMsmqBinding_IOrderProcessor_policy"> <wsp:ExactlyOne> <wsp:All> <!-- omitted elements --> <msmq:MsmqVolatile /> <msmq:MsmqBestEffort /> <msmq:MsmqSession /> <msmq:Authenticated /> <msmq:WindowsDomain /> <!-- omitted elements --> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> <!-- omitted elements --> <wsdl:binding name="NetMsmqBinding_IOrderProcessor" type="i0:IOrderProcessor"> <wsp:PolicyReference URI="#NetMsmqBinding_IOrderProcessor_policy"/> <soap12:binding transport="http://schemas.microsoft.com/soap/msmq"/> <wsdl:operation name="SubmitPurchaseOrder"> <soap12:operation soapAction="http://SampleNamespace/IOrderProcessor/SubmitPurchaseOrder" style="document"/> <wsdl:input> <soap12:body use="literal"/> </wsdl:input> </wsdl:operation> </wsdl:binding> <wsdl:service name="OrderProcessorService"> <wsdl:port name="NetMsmqBinding_IOrderProcessor" binding="tns:NetMsmqBinding_IOrderProcessor"> <soap12:address location="net.msmq://localhost/private/testq"/> <wsa10:EndpointReference> <wsa10:Address>net.msmq://localhost/private/testq</wsa10:Address> </wsa10:EndpointReference> </wsdl:port> </wsdl:service> </wsdl:definitions>