<?xml version="1.0"?>

<definitions 	name="DIMEInteropTest"
		targetNamespace="http://soapinterop.org/"
		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://soapinterop.org/"
		xmlns:ns1="http://soapinterop.org/xsd"
		xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

	<types>
		<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd">
			<import namespace = "http://schemas.xmlsoap.org/soap/encoding/"/>
			<complexType name="ArrayOfbase64Binary">
				<complexContent>
					<restriction base="SOAP-ENC:Array">
						<sequence>
          						<element name="item" type="base64Binary" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
		  				</sequence>
 						<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="base64Binary[]"/>
					</restriction>
				</complexContent>
			</complexType>

			<complexType name="DataFileStruct">
				<all>
					<element name="fileName" type="string"/>
					<element name="fileData" type="base64Binary" nillable="true"/>
				</all>
			</complexType>
		</schema>
	</types>

	<message name="echoBase64AsAttachRequest">
		<part name="inputBase64" type="xsd:base64Binary"/>
	</message>
	<message name="echoBase64AsAttachResponse">
		<part name="return" type="xsd:base64Binary"/>
	</message>
	<message name="echoAttachAsBase64Request">
		<part name="inputAttachment" type="xsd:base64Binary"/>
	</message>
	<message name="echoAttachAsBase64Response">
		<part name="return" type="xsd:base64Binary"/>
	</message>
	<message name="echoBase64Request">
		<part name="inputBase64" type="xsd:base64Binary"/>
	</message>
	<message name="echoBase64Response">
		<part name="return" type="xsd:base64Binary"/>
	</message>
	<message name="echoHexBinaryRequest">
		<part name="inputHexBinary" type="xsd:hexBinary"/>
	</message>
	<message name="echoHexBinaryResponse">
		<part name="return" type="xsd:hexBinary"/>
	</message>
	<message name="exampleHeader_Request">
		<part name="exampleDataIn" type="xsd:base64Binary"/>
	</message>
	<message name="exampleHeader_Response">
		<part name="exampleDataOut" type="xsd:base64Binary"/>
	</message>
	<message name="echoBase64OutParamRequest">
		<part name="inputBase64" type="xsd:base64Binary"/>
	</message>
	<message name="echoBase64OutParamResponse">
		<part name="outputBase64" type="xsd:base64Binary"/>
		<part name="return" type="xsd:boolean"/>
	</message>
	<message name="echoBase64ArrayRequest">
		<part name="inputBase64Array" type="ns1:ArrayOfbase64Binary"/>
	</message>
	<message name="echoBase64ArrayResponse">
		<part name="return" type="ns1:ArrayOfbase64Binary"/>
	</message>
	<message name="echoDataFileRequest">
		<part name="inputDataFile" type="ns1:DataFileStruct"/>
	</message>
	<message name="echoDataFileResponse">
		<part name="return" type="ns1:DataFileStruct"/>
	</message>

	<portType name="DIMEInteropPortType">
		<operation name="echoBase64AsAttachment" parameterOrder="inputBase64">
			<input message="tns:echoBase64AsAttachRequest" name="echoBase64AsAttachment"/>
			<output message="tns:echoBase64AsAttachResponse" name="echoBase64AsAttachmentResponse"/>
		</operation>
		<operation name="echoAttachmentAsBase64" parameterOrder="inputAttachment">
			<input message="tns:echoAttachAsBase64Request" name="echoAttachmentAsBase64"/>
			<output message="tns:echoAttachAsBase64Response" name="echoAttachmentAsBase64Response"/>
		</operation>
		<operation name="echoBase64" parameterOrder="inputBase64">
			<input message="tns:echoBase64Request" name="echoBase64"/>
			<output message="tns:echoBase64Response" name="echoBase64Response"/>
		</operation>
		<operation name="echoHexBinary" parameterOrder="inputHexBinary">
			<input message="tns:echoHexBinaryRequest" name="echoHexBinary"/>
			<output message="tns:echoHexBinaryResponse" name="echoHexBinaryResponse"/>
		</operation>
		<operation name="echoBase64OutParam" parameterOrder="inputBase64 outputBase64">
			<input message="tns:echoBase64OutParamRequest" name="echoBase64OutParam"/>
			<output message="tns:echoBase64OutParamResponse" name="echoBase64OutParamResponse"/>
		</operation>
		<operation name="echoBase64Array" parameterOrder="inputBase64Array">
			<input message="tns:echoBase64ArrayRequest" name="echoBase64Array"/>
			<output message="tns:echoBase64ArrayResponse" name="echoBase64ArrayResponse"/>
		</operation>
		<operation name="echoDataFile" parameterOrder="inputDataFile">
			<input message="tns:echoDataFileRequest" name="echoDataFile"/>
			<output message="tns:echoDataFileResponse" name="echoDataFileResponse"/>
		</operation>
	</portType>

	<binding name="DIMEInteropSoapBinding" type="tns:DIMEInteropPortType">
		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="echoBase64AsAttachment">
			<soap:operation soapAction="http://soapinterop.org/"/>
			<input>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Request" part="exampleDataIn" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</input>
			<output>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Response" part="exampleDataOut" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</output>
		</operation>
		<operation name="echoAttachmentAsBase64">
			<soap:operation soapAction="http://soapinterop.org/"/>
			<input>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Request" part="exampleDataIn" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</input>
			<output>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Response" part="exampleDataOut" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</output>
		</operation>
		<operation name="echoBase64">
			<soap:operation soapAction="http://soapinterop.org/"/>
			<input>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Request" part="exampleDataIn" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</input>
			<output>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Response" part="exampleDataOut" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</output>
		</operation>
		<operation name="echoHexBinary">
			<soap:operation soapAction="http://soapinterop.org/"/>
			<input>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Request" part="exampleDataIn" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			</input>
			<output>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Response" part="exampleDataOut" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
			</output>
		</operation>
		<operation name="echoBase64OutParam">
			<soap:operation soapAction="http://soapinterop.org/"/>
			<input>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Request" part="exampleDataIn" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</input>
			<output>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Response" part="exampleDataOut" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</output>
		</operation>
		<operation name="echoBase64Array">
			<soap:operation soapAction="http://soapinterop.org/"/>
			<input>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Request" part="exampleDataIn" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</input>
			<output>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Response" part="exampleDataOut" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</output>
		</operation>
		<operation name="echoDataFile">
			<soap:operation soapAction="http://soapinterop.org/"/>
			<input>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Request" part="exampleDataIn" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</input>
			<output>
				<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
				<soap:header use="encoded" message="tns:exampleHeader_Response" part="exampleDataOut" namespace="http://soapinterop.org/exampleheader/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

			</output>
		</operation>

	</binding>

	<service name="DIMEInteropSvc">
  		<port name="DIMEInteropRPCPort" binding="tns:DIMEInteropSoapBinding">
    			<soap:address location="http://www.whitemesa.net/dimetest/rpc"/>
  		</port>
	</service>

</definitions>
