one.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <Metadata xmlns="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
  2. <wsx:MetadataSection Dialect="http://schemas.xmlsoap.org/wsdl/" Identifier="http://myns/echo" xmlns="">
  3. <wsdl:definitions targetNamespace="http://myns/echo" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://myns/echo" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
  4. <wsdl:types>
  5. <xsd:schema targetNamespace="http://myns/echo/Imports">
  6. <xsd:import namespace="http://myns/echo"/>
  7. <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
  8. <xsd:import namespace="http://schemas.datacontract.org/2004/07/"/>
  9. </xsd:schema>
  10. </wsdl:types>
  11. <wsdl:message name="IEchoService_Echo_InputMessage">
  12. <wsdl:part name="parameters" element="tns:Echo"/>
  13. </wsdl:message>
  14. <wsdl:message name="IEchoService_Echo_OutputMessage">
  15. <wsdl:part name="parameters" element="tns:EchoResponse"/>
  16. </wsdl:message>
  17. <wsdl:message name="IEchoService_DoubleIt_InputMessage">
  18. <wsdl:part name="parameters" element="tns:DoubleIt"/>
  19. </wsdl:message>
  20. <wsdl:message name="IEchoService_DoubleIt_OutputMessage">
  21. <wsdl:part name="parameters" element="tns:DoubleItResponse"/>
  22. </wsdl:message>
  23. <wsdl:portType name="IEchoService">
  24. <wsdl:operation name="Echo">
  25. <wsdl:input wsaw:Action="http://myns/echo/IEchoService/Echo" message="tns:IEchoService_Echo_InputMessage"/>
  26. <wsdl:output wsaw:Action="http://myns/echo/IEchoService/EchoResponse" message="tns:IEchoService_Echo_OutputMessage"/>
  27. </wsdl:operation>
  28. <wsdl:operation name="DoubleIt">
  29. <wsdl:input wsaw:Action="http://myns/echo/IEchoService/DoubleIt" message="tns:IEchoService_DoubleIt_InputMessage"/>
  30. <wsdl:output wsaw:Action="http://myns/echo/IEchoService/DoubleItResponse" message="tns:IEchoService_DoubleIt_OutputMessage"/>
  31. </wsdl:operation>
  32. </wsdl:portType>
  33. </wsdl:definitions>
  34. </wsx:MetadataSection>
  35. <wsx:MetadataSection Dialect="http://schemas.xmlsoap.org/wsdl/" Identifier="http://tempuri.org/" xmlns="">
  36. <wsdl:definitions name="EchoService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://myns/echo" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing">
  37. <wsdl:import namespace="http://myns/echo" location=""/>
  38. <wsdl:types/>
  39. <wsdl:binding name="BasicHttpBinding_IEchoService" type="i0:IEchoService">
  40. <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
  41. <wsdl:operation name="Echo">
  42. <soap:operation soapAction="http://myns/echo/IEchoService/Echo" style="document"/>
  43. <wsdl:input>
  44. <soap:body use="literal"/>
  45. </wsdl:input>
  46. <wsdl:output>
  47. <soap:body use="literal"/>
  48. </wsdl:output>
  49. </wsdl:operation>
  50. <wsdl:operation name="DoubleIt">
  51. <soap:operation soapAction="http://myns/echo/IEchoService/DoubleIt" style="document"/>
  52. <wsdl:input>
  53. <soap:body use="literal"/>
  54. </wsdl:input>
  55. <wsdl:output>
  56. <soap:body use="literal"/>
  57. </wsdl:output>
  58. </wsdl:operation>
  59. </wsdl:binding>
  60. <wsdl:service name="EchoService">
  61. <wsdl:port name="BasicHttpBinding_IEchoService" binding="tns:BasicHttpBinding_IEchoService">
  62. <soap:address location="http://192.168.0.1:8080/echo/svc"/>
  63. </wsdl:port>
  64. </wsdl:service>
  65. </wsdl:definitions>
  66. </wsx:MetadataSection>
  67. <wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://myns/echo" xmlns="">
  68. <xs:schema elementFormDefault="qualified" targetNamespace="http://myns/echo" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://myns/echo">
  69. <xs:import namespace="http://schemas.datacontract.org/2004/07/"/>
  70. <xs:element name="Echo">
  71. <xs:complexType>
  72. <xs:sequence>
  73. <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string"/>
  74. <xs:element minOccurs="0" name="num" type="xs:int"/>
  75. <xs:element minOccurs="0" name="d" nillable="true" type="q1:dc" xmlns:q1="http://schemas.datacontract.org/2004/07/"/>
  76. </xs:sequence>
  77. </xs:complexType>
  78. </xs:element>
  79. <xs:element name="EchoResponse">
  80. <xs:complexType>
  81. <xs:sequence>
  82. <xs:element minOccurs="0" name="EchoResult" nillable="true" type="xs:string"/>
  83. </xs:sequence>
  84. </xs:complexType>
  85. </xs:element>
  86. <xs:element name="DoubleIt">
  87. <xs:complexType>
  88. <xs:sequence>
  89. <xs:element minOccurs="0" name="it" type="xs:int"/>
  90. <xs:element minOccurs="0" name="prefix" nillable="true" type="xs:string"/>
  91. </xs:sequence>
  92. </xs:complexType>
  93. </xs:element>
  94. <xs:element name="DoubleItResponse">
  95. <xs:complexType>
  96. <xs:sequence>
  97. <xs:element minOccurs="0" name="DoubleItResult" nillable="true" type="xs:string"/>
  98. </xs:sequence>
  99. </xs:complexType>
  100. </xs:element>
  101. </xs:schema>
  102. </wsx:MetadataSection>
  103. <wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="">
  104. <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/">
  105. <xs:element name="anyType" nillable="true" type="xs:anyType"/>
  106. <xs:element name="anyURI" nillable="true" type="xs:anyURI"/>
  107. <xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/>
  108. <xs:element name="boolean" nillable="true" type="xs:boolean"/>
  109. <xs:element name="byte" nillable="true" type="xs:byte"/>
  110. <xs:element name="dateTime" nillable="true" type="xs:dateTime"/>
  111. <xs:element name="decimal" nillable="true" type="xs:decimal"/>
  112. <xs:element name="double" nillable="true" type="xs:double"/>
  113. <xs:element name="float" nillable="true" type="xs:float"/>
  114. <xs:element name="int" nillable="true" type="xs:int"/>
  115. <xs:element name="long" nillable="true" type="xs:long"/>
  116. <xs:element name="QName" nillable="true" type="xs:QName"/>
  117. <xs:element name="short" nillable="true" type="xs:short"/>
  118. <xs:element name="string" nillable="true" type="xs:string"/>
  119. <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/>
  120. <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/>
  121. <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/>
  122. <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/>
  123. <xs:element name="char" nillable="true" type="tns:char"/>
  124. <xs:simpleType name="char">
  125. <xs:restriction base="xs:int"/>
  126. </xs:simpleType>
  127. <xs:element name="duration" nillable="true" type="tns:duration"/>
  128. <xs:simpleType name="duration">
  129. <xs:restriction base="xs:duration">
  130. <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/>
  131. <xs:minInclusive value="-P10675199DT2H48M5.4775808S"/>
  132. <xs:maxInclusive value="P10675199DT2H48M5.4775807S"/>
  133. </xs:restriction>
  134. </xs:simpleType>
  135. <xs:element name="guid" nillable="true" type="tns:guid"/>
  136. <xs:simpleType name="guid">
  137. <xs:restriction base="xs:string">
  138. <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/>
  139. </xs:restriction>
  140. </xs:simpleType>
  141. <xs:attribute name="FactoryType" type="xs:QName"/>
  142. </xs:schema>
  143. </wsx:MetadataSection>
  144. <wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://schemas.datacontract.org/2004/07/" xmlns="">
  145. <xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/">
  146. <xs:complexType name="dc">
  147. <xs:sequence>
  148. <xs:element minOccurs="0" name="foo" nillable="true" type="xs:string"/>
  149. </xs:sequence>
  150. </xs:complexType>
  151. <xs:element name="dc" nillable="true" type="tns:dc"/>
  152. </xs:schema>
  153. </wsx:MetadataSection>
  154. </Metadata>