Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / class / System.ServiceModel / Test / MetadataTests / Resources / NetTcp_Operation.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Metadata xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns="http://schemas.xmlsoap.org/ws/2004/09/mex">
3   <wsx:MetadataSection xmlns="" Dialect="http://schemas.xmlsoap.org/wsdl/" Identifier="http://tempuri.org/">
4     <wsdl:definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa10="http://www.w3.org/2005/08/addressing" 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:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" name="service" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
5       <wsp:Policy wsu:Id="NetTcpBinding_IMyContract_policy">
6         <wsp:ExactlyOne>
7           <wsp:All>
8             <msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1" />
9             <wsaw:UsingAddressing />
10           </wsp:All>
11         </wsp:ExactlyOne>
12       </wsp:Policy>
13       <wsdl:types>
14         <xsd:schema targetNamespace="http://tempuri.org/Imports">
15           <xsd:import namespace="http://tempuri.org/" />
16         </xsd:schema>
17       </wsdl:types>
18       <wsdl:message name="IMyContract_Hello_InputMessage">
19         <wsdl:part name="parameters" element="tns:Hello" />
20       </wsdl:message>
21       <wsdl:message name="IMyContract_Hello_OutputMessage">
22         <wsdl:part name="parameters" element="tns:HelloResponse" />
23       </wsdl:message>
24       <wsdl:portType name="IMyContract">
25         <wsdl:operation name="Hello">
26           <wsdl:input wsaw:Action="http://tempuri.org/IMyContract/Hello" message="tns:IMyContract_Hello_InputMessage" />
27           <wsdl:output wsaw:Action="http://tempuri.org/IMyContract/HelloResponse" message="tns:IMyContract_Hello_OutputMessage" />
28         </wsdl:operation>
29       </wsdl:portType>
30       <wsdl:binding name="NetTcpBinding_IMyContract" type="tns:IMyContract">
31         <wsp:PolicyReference URI="#NetTcpBinding_IMyContract_policy" />
32         <soap12:binding transport="http://schemas.microsoft.com/soap/tcp" />
33         <wsdl:operation name="Hello">
34           <soap12:operation soapAction="http://tempuri.org/IMyContract/Hello" style="document" />
35           <wsdl:input>
36             <soap12:body use="literal" />
37           </wsdl:input>
38           <wsdl:output>
39             <soap12:body use="literal" />
40           </wsdl:output>
41         </wsdl:operation>
42       </wsdl:binding>
43       <wsdl:service name="service">
44         <wsdl:port name="NetTcpBinding_IMyContract" binding="tns:NetTcpBinding_IMyContract">
45           <soap12:address location="net-tcp://tempuri.org:8000/TestNetTcp/" />
46           <wsa10:EndpointReference>
47             <wsa10:Address>net-tcp://tempuri.org:8000/TestNetTcp/</wsa10:Address>
48           </wsa10:EndpointReference>
49         </wsdl:port>
50       </wsdl:service>
51     </wsdl:definitions>
52   </wsx:MetadataSection>
53   <wsx:MetadataSection xmlns="" Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://tempuri.org/">
54     <xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
55       <xs:element name="Hello">
56         <xs:complexType>
57           <xs:sequence />
58         </xs:complexType>
59       </xs:element>
60       <xs:element name="HelloResponse">
61         <xs:complexType>
62           <xs:sequence />
63         </xs:complexType>
64       </xs:element>
65     </xs:schema>
66   </wsx:MetadataSection>
67 </Metadata>