Páginas filhas
  • 4. WSDL(Web Services Description Language)

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagexml
linenumberstrue
<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://jaxws.eaimock.bruno.totvs.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://jaxws.eaimock.bruno.totvs.com/" name="EAIService">
	<types/>
	<message name="receiveMessage">
		<part name="xml" type="xsd:string"/>
	</message>
	<message name="receiveMessageResponse">
		<part name="return" type="xsd:string"/>
	</message>
	<portType name="EAIService">
		<operation name="receiveMessage">
			<input message="tns:receiveMessage"/>
			<output message="tns:receiveMessageResponse"/>
		</operation>
	</portType>
	<binding name="EAIServicePortBinding" type="tns:EAIService">
		<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
		<operation name="receiveMessage">
				<soap:operation soapAction=""/>
				<input>
						<soap:body use="literal" namespace="http://jaxws.eaimock.bruno.totvs.com/"/>
				</input>
				<output>
						<soap:body use="literal" namespace="http://jaxws.eaimock.bruno.totvs.com/"/>
				</output>
		</operation>
	</binding>
	<service name="EAIService">
		<port name="EAIServicePort" binding="tns:EAIServicePortBinding">
				<soap:address location="http://touros:80/eaimock-webservice/services/eai"/>
		</port>
	</service>
</definitions>

Para saber mais

...

http://www.w3schools.com/xml/xml_wsdl.asp

https://www.w3.org/TR/wsdl

http://www.service-architecture.com/articles/web-services/web_services_description_language_wsdl.html