NewWSDLFile.wsdl 4.86 KB
<!-- (c) Mink Mew Khing 2020-06-09 test soap wsdl Online WSDL 1.1 SOAP generator 
	0.2 Julien Blitte -->
<definitions xmlns:tns="us.sma.wsdl"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="us.sma.xsd"
	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns="http://schemas.xmlsoap.org/wsdl/" name="test soap wsdl"
	targetNamespace="us.sma.wsdl">
	<!-- definition of datatypes -->
	<types>
		<schema xmlns="http://www.w3.org/2000/10/XMLSchema"
			targetNamespace="us.sma.xsd">
			<element name="nickname">
				<complexType>
					<all>
						<element name="value" type="string" />
					</all>
				</complexType>
			</element>
			<element name="message">
				<complexType>
					<all>
						<element name="value" type="string" />
					</all>
				</complexType>
			</element>
			<element name="resultcode">
				<complexType>
					<all>
						<element name="value" type="int" />
					</all>
				</complexType>
			</element>
			<element name="number">
				<complexType>
					<all>
						<element name="value" type="int" />
					</all>
				</complexType>
			</element>
		</schema>
	</types>
	<!-- response messages -->
	<message name="returns_resultcode">
		<part name="resultcode" type="xsd:resultcode" />
	</message>
	<message name="returns_number">
		<part name="number" type="xsd:number" />
	</message>
	<message name="returns_message">
		<part name="message" type="xsd:message" />
	</message>
	<!-- request messages -->
	<message name="post_message">
		<part name="nickname" type="xsd:nickname" />
		<part name="message" type="xsd:message" />
	</message>
	<message name="get_number_of_messages">
		<part name="nickname" type="xsd:nickname" />
	</message>
	<message name="retrieve_message">
		<part name="nickname" type="xsd:nickname" />
		<part name="number" type="xsd:number" />
	</message>
	<message name="retrieve_last_message">
		<part name="nickname" type="xsd:nickname" />
		<part name="number" type="xsd:number" />
	</message>
	<!-- server's services -->
	<portType name="my SOAP">
		<operation name="post_message">
			<input message="tns:post_message" />
			<output message="tns:returns_resultcode" />
		</operation>
		<operation name="get_number_of_messages">
			<input message="tns:get_number_of_messages" />
			<output message="tns:returns_number" />
		</operation>
		<operation name="retrieve_message">
			<input message="tns:retrieve_message" />
			<output message="tns:returns_message" />
		</operation>
		<operation name="retrieve_last_message">
			<input message="tns:retrieve_last_message" />
			<output message="tns:returns_message" />
		</operation>
	</portType>
	<!-- server encoding -->
	<binding name="my SOAP_webservices" type="tns:my SOAP">
		<soap:binding style="rpc"
			transport="http://schemas.xmlsoap.org/soap/http" />
		<operation name="post_message">
			<soap:operation
				soapAction="urn:xmethods-delayed-quotes#post_message" />
			<input>
				<soap:body use="encoded"
					namespace="urn:xmethods-delayed-quotes"
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
			</input>
			<output>
				<soap:body use="encoded"
					namespace="urn:xmethods-delayed-quotes"
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
			</output>
		</operation>
		<operation name="get_number_of_messages">
			<soap:operation
				soapAction="urn:xmethods-delayed-quotes#get_number_of_messages" />
			<input>
				<soap:body use="encoded"
					namespace="urn:xmethods-delayed-quotes"
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
			</input>
			<output>
				<soap:body use="encoded"
					namespace="urn:xmethods-delayed-quotes"
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
			</output>
		</operation>
		<operation name="retrieve_message">
			<soap:operation
				soapAction="urn:xmethods-delayed-quotes#retrieve_message" />
			<input>
				<soap:body use="encoded"
					namespace="urn:xmethods-delayed-quotes"
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
			</input>
			<output>
				<soap:body use="encoded"
					namespace="urn:xmethods-delayed-quotes"
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
			</output>
		</operation>
		<operation name="retrieve_last_message">
			<soap:operation
				soapAction="urn:xmethods-delayed-quotes#retrieve_last_message" />
			<input>
				<soap:body use="encoded"
					namespace="urn:xmethods-delayed-quotes"
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
			</input>
			<output>
				<soap:body use="encoded"
					namespace="urn:xmethods-delayed-quotes"
					encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
			</output>
		</operation>
	</binding>
	<!-- access to service provider -->
	<service name="sma">
		<port name="sma_0" binding="my SOAP_webservices">
			<soap:address
				location="HTTP://10.1.2.144:1880/icrm/sendoffer1" />
		</port>
	</service>
</definitions>