<?xml version="1.0"?>

<definitions 	name="EchoFileDIMERpcTest"
		targetNamespace="http://whitemesa.net/wsdl/2003/02/echofile"
		xmlns="http://schemas.xmlsoap.org/wsdl/"
		xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
		xmlns:xsd="http://www.w3.org/2001/XMLSchema"
		xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
		xmlns:tns="http://whitemesa.net/wsdl/2003/02/echofile"
		xmlns:types="http://whitemesa.net/echofile/types"
		xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

	<types>
		<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://whitemesa.net/echofile/types">
			<complexType name="DataFileStruct">
				<all>
					<element name="fileName" type="string"/>
					<element name="fileData" type="base64Binary"/>
				</all>
			</complexType>
		</schema>
	</types>

	<message name="echoDataFileHdrRequest">
		<part name="inputDataFile" type="types:DataFileStruct"/>
	</message>
	<message name="echoDataFileHdrResponse">
		<part name="outputDataFile" type="types:DataFileStruct"/>
	</message>
	<message name="echoDataFileRequest">
		<part name="inputDataFile" type="types:DataFileStruct"/>
	</message>
	<message name="echoDataFileResponse">
		<part name="return" type="types:DataFileStruct"/>
	</message>

	<portType name="EchoFileDIMEPortType">
		<operation name="echoDataFile" parameterOrder="inputDataFile">
			<input message="tns:echoDataFileRequest"/>
			<output message="tns:echoDataFileResponse"/>
		</operation>
	</portType>

	<binding name="EchoFileDIMERpcBinding" type="tns:EchoFileDIMEPortType">
		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="echoDataFile">
			<soap:operation soapAction="http://soapinterop.org/"/>
			<input>
				<soap:body use="encoded" namespace="http://whitemesa.net/echofile" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:echoDataFileHdrRequest" part="inputDataFile" namespace="http://whitemesa.net/echofile/header" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</input>
			<output>
				<soap:body use="encoded" namespace="http://whitemesa.net/echofile" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:echoDataFileHdrResponse" part="outputDataFile" namespace="http://whitemesa.net/echofile/header" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</output>
		</operation>

	</binding>

	<service name="EchoFileDIMESvc">
  		<port name="EchoFileDIMERpcPort" binding="tns:EchoFileDIMERpcBinding">
    			<soap:address location="http://localhost/dime-rpc/echofile"/>
  		</port>
	</service>

</definitions>
