BasicHttp_Config2.xml 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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="BasicHttpBinding_IMyContract" type="tns:IMyContract">
  31. <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
  32. <wsdl:operation name="Hello">
  33. <soap:operation soapAction="http://tempuri.org/IMyContract/Hello" style="document" />
  34. <wsdl:input>
  35. <soap:body use="literal" />
  36. </wsdl:input>
  37. <wsdl:output>
  38. <soap:body use="literal" />
  39. </wsdl:output>
  40. </wsdl:operation>
  41. </wsdl:binding>
  42. <wsdl:binding name="NetTcpBinding_IMyContract" type="tns:IMyContract">
  43. <wsp:PolicyReference URI="#NetTcpBinding_IMyContract_policy" />
  44. <soap12:binding transport="http://schemas.microsoft.com/soap/tcp" />
  45. <wsdl:operation name="Hello">
  46. <soap12:operation soapAction="http://tempuri.org/IMyContract/Hello" style="document" />
  47. <wsdl:input>
  48. <soap12:body use="literal" />
  49. </wsdl:input>
  50. <wsdl:output>
  51. <soap12:body use="literal" />
  52. </wsdl:output>
  53. </wsdl:operation>
  54. </wsdl:binding>
  55. <wsdl:service name="service">
  56. <wsdl:port name="BasicHttpBinding_IMyContract" binding="tns:BasicHttpBinding_IMyContract">
  57. <soap:address location="http://tempuri.org/TestHttp/" />
  58. </wsdl:port>
  59. <wsdl:port name="NetTcpBinding_IMyContract" binding="tns:NetTcpBinding_IMyContract">
  60. <soap12:address location="net-tcp://tempuri.org:8000/TestNetTcp/" />
  61. <wsa10:EndpointReference>
  62. <wsa10:Address>net-tcp://tempuri.org:8000/TestNetTcp/</wsa10:Address>
  63. </wsa10:EndpointReference>
  64. </wsdl:port>
  65. </wsdl:service>
  66. </wsdl:definitions>
  67. </wsx:MetadataSection>
  68. <wsx:MetadataSection xmlns="" Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://tempuri.org/">
  69. <xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  70. <xs:element name="Hello">
  71. <xs:complexType>
  72. <xs:sequence />
  73. </xs:complexType>
  74. </xs:element>
  75. <xs:element name="HelloResponse">
  76. <xs:complexType>
  77. <xs:sequence />
  78. </xs:complexType>
  79. </xs:element>
  80. </xs:schema>
  81. </wsx:MetadataSection>
  82. </Metadata>