Disciplina: TI - Desenvolvimento de Sistemas
Banca: FGV
Orgão: Câm. Recife-PE
Observe o documento WSDL apresentado a seguir.
<definitions name="HelloWorldService"
targetNamespace="http://example.org/wsdl/HelloWorldService.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.example.org/wsdl/HelloWorldService.wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<message name="HelloRequest">
<part name="nome" type="xsd:string"/>
</message>
<message name="HelloResponse">
<part name="saida" type="xsd:string"/>
</message>
<portType name="HelloWorld_PortType">
<operation name="helloWorld">
<input message="tns:HelloRequest"/>
<output message="tns:HelloResponse"/>
</operation>
</portType>
<binding name="HelloWorld_Binding"
type="tns:HelloWorld_PortType">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="helloWorld">
<soap:operation soapAction="helloWorld"/>
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:examples:helloworldservice"
use="encoded"/>
</input>
<output>
<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:exemplojava:helloworldservice"
use="encoded"/>
</output>
</operation>
</binding>
<service name="HelloWorld_Service">
<port binding="tns:HelloWorld_Binding"
name="HelloWorld_Port">
<soap:address location="http:// example.org/service/helloWorld" />
</port>
</service>
</definitions>
Nesse documento estão sendo descritos: