<?php
header('Content-Type: text/xml');
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; ?>
<definitions name="SoapInterop" targetNamespace="http://soapinterop.org/main/" 
		xmlns:wsdlns1="http://soapinterop.org/definitions/"  
		xmlns:wsdlns="http://soapinterop.org/main/"  
		xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 		
		xmlns="http://schemas.xmlsoap.org/wsdl/">
	<import location="imported/import2B.wsdl" namespace="http://soapinterop.org/definitions/" /> 

	<binding name="SoapInteropImport2Binding" type="wsdlns1:SoapInteropImport2PortType">
		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="echoStruct">
			<soap:operation soapAction="http://soapinterop.org/"/>
			<input>
				<soap:body use="encoded" namespace="http://soapinterop/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			</input>
			<output>
				<soap:body use="encoded" namespace="http://soapinterop/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			</output>
		</operation>
	</binding>
	<service name="Import2">
		<port name="SoapInteropImport2Port" binding="wsdlns:SoapInteropImport2Binding">
			<soap:address location="http://<?php echo $_SERVER["SERVER_NAME"].':'.$_SERVER["SERVER_PORT"];?>/soap_interop/server_Round3GroupDImport2.php"/>
		</port>
	</service>
</definitions>
