SOAP_Interop
[ class tree: SOAP_Interop ] [ index: SOAP_Interop ] [ all elements ]

Source for file compound2.wsdl.php

Documentation is available at compound2.wsdl.php

  1. <?php
  2. header('Content-Type: text/xml');
  3. echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"?>
  4. <definitions name="SoapInteropCompound" targetNamespace="http://soapinterop.org/" 
  5.         xmlns:wsdlns="http://soapinterop.org/" 
  6.         xmlns:emp="http://soapinterop.org/employee" 
  7.         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
  8.         xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  9.         xmlns="http://schemas.xmlsoap.org/wsdl/">
  10.     <types>
  11.         <schema targetNamespace="http://soapinterop.org/person" 
  12.             xmlns="http://www.w3.org/2001/XMLSchema" 
  13.             elementFormDefault="qualified">
  14.                     
  15.             <complexType name="Person">
  16.                 <sequence>
  17.                     <element minOccurs="1" maxOccurs="1" name="Name" type="string"/>
  18.                     <element minOccurs="1" maxOccurs="1" name="Male" type="boolean"/>                    
  19.                 </sequence>
  20.             </complexType>
  21.         </schema>
  22.         <schema targetNamespace = "http://soapinterop.org/employee" 
  23.             xmlns:prs = "http://soapinterop.org/person"             
  24.             xmlns="http://www.w3.org/2001/XMLSchema" 
  25.             elementFormDefault="qualified">
  26.                         <import namespace="http://soapinterop.org/person" /> 
  27.             <complexType name="Employee">
  28.                 <sequence>
  29.                     <element minOccurs="1" maxOccurs="1" name="person" type="prs:Person"/>
  30.                     <element minOccurs="1" maxOccurs="1" name="salary" type="double"/>                    
  31.                     <element minOccurs="1" maxOccurs="1" name="ID" type="int"/>
  32.                 </sequence>
  33.             </complexType>
  34.             <element name="x_Employee" type="emp:Employee"/>    
  35.             <element name="result_Employee" type="emp:Employee"/>
  36.         </schema>
  37.     </types>
  38.     <message name="echoEmployee">
  39.         <part name="x" element="emp:x_Employee"/>
  40.     </message>
  41.     <message name="echoEmployeeResponse">
  42.         <part name="result" element="emp:result_Employee"/>
  43.     </message>
  44.     <portType name="SoapInteropCompound2PortType">
  45.         <operation name="echoEmployee" parameterOrder="x">
  46.             <input message="wsdlns:echoEmployee"/>
  47.             <output message="wsdlns:echoEmployeeResponse"/>
  48.         </operation>
  49.     </portType>
  50.     <binding name="SoapInteropCompound2Binding" type="wsdlns:SoapInteropCompound2PortType">
  51.         <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  52.         <operation name="echoEmployee">
  53.             <soap:operation soapAction="#echoEmployee"/>
  54.             <input>
  55.                 <soap:body use="literal"/>
  56.             </input>
  57.             <output>
  58.                 <soap:body use="literal"/>
  59.             </output>
  60.         </operation>        
  61.     </binding>
  62.     <service name="Compound2">
  63.         <port name="SoapInteropCompound2Port" binding="wsdlns:SoapInteropCompound2Binding">
  64.             <soap:address location="http://<?php echo $_SERVER["SERVER_NAME"].':'.$_SERVER["SERVER_PORT"];?>/soap_interop/server_Round3GroupDCompound2.php"/>
  65.         </port>
  66.     </service>
  67. </definitions>

Documentation generated on Mon, 11 Mar 2019 15:06:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.