interop.wsdl.php 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. <?php
  2. header("Content-Type: text/xml");
  3. echo '<?xml version="1.0"?>';
  4. echo "\n";
  5. ?>
  6. <definitions name="InteropTest"
  7. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  8. xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  9. xmlns:tns="http://soapinterop.org/"
  10. xmlns:s="http://soapinterop.org/xsd"
  11. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  12. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  13. xmlns="http://schemas.xmlsoap.org/wsdl/"
  14. targetNamespace="http://soapinterop.org/">
  15. <types>
  16. <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd">
  17. <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
  18. <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
  19. <xsd:complexType name="ArrayOfstring">
  20. <xsd:complexContent>
  21. <xsd:restriction base="SOAP-ENC:Array">
  22. <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[]"/>
  23. </xsd:restriction>
  24. </xsd:complexContent>
  25. </xsd:complexType>
  26. <xsd:complexType name="ArrayOfint">
  27. <xsd:complexContent>
  28. <xsd:restriction base="SOAP-ENC:Array">
  29. <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="int[]"/>
  30. </xsd:restriction>
  31. </xsd:complexContent>
  32. </xsd:complexType>
  33. <xsd:complexType name="ArrayOffloat">
  34. <xsd:complexContent>
  35. <xsd:restriction base="SOAP-ENC:Array">
  36. <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="float[]"/>
  37. </xsd:restriction>
  38. </xsd:complexContent>
  39. </xsd:complexType>
  40. <xsd:complexType name="SOAPStruct">
  41. <xsd:all>
  42. <xsd:element name="varString" type="string"/>
  43. <xsd:element name="varInt" type="int"/>
  44. <xsd:element name="varFloat" type="float"/>
  45. </xsd:all>
  46. </xsd:complexType>
  47. <xsd:complexType name="ArrayOfSOAPStruct">
  48. <xsd:complexContent>
  49. <xsd:restriction base="SOAP-ENC:Array">
  50. <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="s:SOAPStruct[]"/>
  51. </xsd:restriction>
  52. </xsd:complexContent>
  53. </xsd:complexType>
  54. </schema>
  55. </types>
  56. <message name="echoStringRequest">
  57. <part name="inputString" type="xsd:string" />
  58. </message>
  59. <message name="echoStringResponse">
  60. <part name="outputString" type="xsd:string" />
  61. </message>
  62. <message name="echoStringArrayRequest">
  63. <part name="inputStringArray" type="s:ArrayOfstring" />
  64. </message>
  65. <message name="echoStringArrayResponse">
  66. <part name="outputStringArray" type="s:ArrayOfstring" />
  67. </message>
  68. <message name="echoIntegerRequest">
  69. <part name="inputInteger" type="xsd:int" />
  70. </message>
  71. <message name="echoIntegerResponse">
  72. <part name="outputInteger" type="xsd:int" />
  73. </message>
  74. <message name="echoIntegerArrayRequest">
  75. <part name="inputIntegerArray" type="s:ArrayOfint" />
  76. </message>
  77. <message name="echoIntegerArrayResponse">
  78. <part name="outputIntegerArray" type="s:ArrayOfint" />
  79. </message>
  80. <message name="echoFloatRequest">
  81. <part name="inputFloat" type="xsd:float" />
  82. </message>
  83. <message name="echoFloatResponse">
  84. <part name="outputFloat" type="xsd:float" />
  85. </message>
  86. <message name="echoFloatArrayRequest">
  87. <part name="inputFloatArray" type="s:ArrayOffloat" />
  88. </message>
  89. <message name="echoFloatArrayResponse">
  90. <part name="outputFloatArray" type="s:ArrayOffloat" />
  91. </message>
  92. <message name="echoStructRequest">
  93. <part name="inputStruct" type="s:SOAPStruct" />
  94. </message>
  95. <message name="echoStructResponse">
  96. <part name="outputStruct" type="s:SOAPStruct" />
  97. </message>
  98. <message name="echoStructArrayRequest">
  99. <part name="inputStructArray" type="s:ArrayOfSOAPStruct" />
  100. </message>
  101. <message name="echoStructArrayResponse">
  102. <part name="outputStructArray" type="s:ArrayOfSOAPStruct" />
  103. </message>
  104. <message name="echoVoidRequest">
  105. </message>
  106. <message name="echoVoidResponse">
  107. </message>
  108. <message name="echoBase64Request">
  109. <part name="inputBase64" type="xsd:base64Binary" />
  110. </message>
  111. <message name="echoBase64Response">
  112. <part name="outputBase64" type="xsd:base64Binary" />
  113. </message>
  114. <message name="echoDateRequest">
  115. <part name="inputDate" type="xsd:dateTime" />
  116. </message>
  117. <message name="echoDateResponse">
  118. <part name="outputDate" type="xsd:dateTime" />
  119. </message>
  120. <message name="echoHexBinaryRequest">
  121. <part name="inputHexBinary" type="xsd:hexBinary" />
  122. </message>
  123. <message name="echoHexBinaryResponse">
  124. <part name="outputHexBinary" type="xsd:hexBinary" />
  125. </message>
  126. <message name="echoDecimalRequest">
  127. <part name="inputDecimal" type="xsd:decimal" />
  128. </message>
  129. <message name="echoDecimalResponse">
  130. <part name="outputDecimal" type="xsd:decimal" />
  131. </message>
  132. <message name="echoBooleanRequest">
  133. <part name="inputBoolean" type="xsd:boolean" />
  134. </message>
  135. <message name="echoBooleanResponse">
  136. <part name="outputBoolean" type="xsd:boolean" />
  137. </message>
  138. <portType name="InteropTestPortType">
  139. <operation name="echoString">
  140. <input message="tns:echoStringRequest"/>
  141. <output message="tns:echoStringResponse"/>
  142. </operation>
  143. <operation name="echoStringArray">
  144. <input message="tns:echoStringArrayRequest"/>
  145. <output message="tns:echoStringArrayResponse"/>
  146. </operation>
  147. <operation name="echoInteger">
  148. <input message="tns:echoIntegerRequest"/>
  149. <output message="tns:echoIntegerResponse"/>
  150. </operation>
  151. <operation name="echoIntegerArray">
  152. <input message="tns:echoIntegerArrayRequest"/>
  153. <output message="tns:echoIntegerArrayResponse"/>
  154. </operation>
  155. <operation name="echoFloat">
  156. <input message="tns:echoFloatRequest"/>
  157. <output message="tns:echoFloatResponse"/>
  158. </operation>
  159. <operation name="echoFloatArray">
  160. <input message="tns:echoFloatArrayRequest"/>
  161. <output message="tns:echoFloatArrayResponse"/>
  162. </operation>
  163. <operation name="echoStruct">
  164. <input message="tns:echoStructRequest"/>
  165. <output message="tns:echoStructResponse"/>
  166. </operation>
  167. <operation name="echoStructArray">
  168. <input message="tns:echoStructArrayRequest"/>
  169. <output message="tns:echoStructArrayResponse"/>
  170. </operation>
  171. <operation name="echoVoid">
  172. <input message="tns:echoVoidRequest"/>
  173. <output message="tns:echoVoidResponse"/>
  174. </operation>
  175. <operation name="echoBase64">
  176. <input message="tns:echoBase64Request"/>
  177. <output message="tns:echoBase64Response"/>
  178. </operation>
  179. <operation name="echoDate">
  180. <input message="tns:echoDateRequest"/>
  181. <output message="tns:echoDateResponse"/>
  182. </operation>
  183. <operation name="echoHexBinary">
  184. <input message="tns:echoHexBinaryRequest"/>
  185. <output message="tns:echoHexBinaryResponse"/>
  186. </operation>
  187. <operation name="echoDecimal">
  188. <input message="tns:echoDecimalRequest"/>
  189. <output message="tns:echoDecimalResponse"/>
  190. </operation>
  191. <operation name="echoBoolean">
  192. <input message="tns:echoBooleanRequest"/>
  193. <output message="tns:echoBooleanResponse"/>
  194. </operation>
  195. </portType>
  196. <binding name="InteropTestBinding" type="tns:InteropTestPortType">
  197. <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  198. <operation name="echoString">
  199. <soap:operation soapAction="http://" style="rpc"/>
  200. <input>
  201. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  202. </input>
  203. <output>
  204. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  205. </output>
  206. </operation>
  207. <operation name="echoStringArray">
  208. <soap:operation soapAction="http://" style="rpc"/>
  209. <input>
  210. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  211. </input>
  212. <output>
  213. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  214. </output>
  215. </operation>
  216. <operation name="echoInteger">
  217. <soap:operation soapAction="http://" style="rpc"/>
  218. <input>
  219. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  220. </input>
  221. <output>
  222. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  223. </output>
  224. </operation>
  225. <operation name="echoIntegerArray">
  226. <soap:operation soapAction="http://" style="rpc"/>
  227. <input>
  228. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  229. </input>
  230. <output>
  231. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  232. </output>
  233. </operation>
  234. <operation name="echoFloat">
  235. <soap:operation soapAction="http://" style="rpc"/>
  236. <input>
  237. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  238. </input>
  239. <output>
  240. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  241. </output>
  242. </operation>
  243. <operation name="echoFloatArray">
  244. <soap:operation soapAction="http://" style="rpc"/>
  245. <input>
  246. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  247. </input>
  248. <output>
  249. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  250. </output>
  251. </operation>
  252. <operation name="echoStruct">
  253. <soap:operation soapAction="http://" style="rpc"/>
  254. <input>
  255. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  256. </input>
  257. <output>
  258. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  259. </output>
  260. </operation>
  261. <operation name="echoStructArray">
  262. <soap:operation soapAction="http://" style="rpc"/>
  263. <input>
  264. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  265. </input>
  266. <output>
  267. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  268. </output>
  269. </operation>
  270. <operation name="echoVoid">
  271. <soap:operation soapAction="http://" style="rpc"/>
  272. <input>
  273. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  274. </input>
  275. <output>
  276. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  277. </output>
  278. </operation>
  279. <operation name="echoBase64">
  280. <soap:operation soapAction="http://" style="rpc"/>
  281. <input>
  282. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  283. </input>
  284. <output>
  285. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  286. </output>
  287. </operation>
  288. <operation name="echoDate">
  289. <soap:operation soapAction="http://" style="rpc"/>
  290. <input>
  291. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  292. </input>
  293. <output>
  294. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  295. </output>
  296. </operation>
  297. <operation name="echoHexBinary">
  298. <soap:operation soapAction="http://" style="rpc"/>
  299. <input>
  300. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  301. </input>
  302. <output>
  303. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  304. </output>
  305. </operation>
  306. <operation name="echoDecimal">
  307. <soap:operation soapAction="http://" style="rpc"/>
  308. <input>
  309. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  310. </input>
  311. <output>
  312. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  313. </output>
  314. </operation>
  315. <operation name="echoBoolean">
  316. <soap:operation soapAction="http://" style="rpc"/>
  317. <input>
  318. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  319. </input>
  320. <output>
  321. <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  322. </output>
  323. </operation>
  324. </binding>
  325. <service name="InteropTest">
  326. <port name="InteropTestPort" binding="tns:InteropTestBinding">
  327. <soap:address location="<?php echo ((isset($_SERVER['HTTPS'])?"https://":"http://").$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']));?>/server_round2_base.php"/>
  328. </port>
  329. </service>
  330. </definitions>