WSDL for Java Web Service
The WSDL is shown in the following listing.
Sample Code
<definitions targetnamespace="http://endpoint/" name="HelloService"></definitions>
<types></types>
<xsd:schema>
<xsd:import schemalocation="http://DRSARANG:8080/Hello/HelloService/__container$pu
blishing$subctx/WEB-INF/wsdl/HelloService_schema1.xsd" namespace="http://endpoint/">
</xsd:import>
</xsd:schema>
<message name="SayHello"></message>
<part name="parameters" element="tns:SayHello"></part>
<message name="SayHelloResponse"></message>
<part name="parameters" element="tns:SayHelloResponse"></part>
<porttype name="Hello"></porttype>
<operation name="SayHello"></operation>
<input message="tns:SayHello" />
<output message="tns:SayHelloResponse"></output>
<binding name="HelloPortBinding" type="tns:Hello"></binding>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http">
</soap:binding>
<operation name="SayHello"></operation>
<soap:operation soapaction="></soap:operation>
<input />
<soap:body use="literal"></soap:body>
<output></output>
<soap:body use="literal"></soap:body>
<service name="HelloService"></service>
<port name="HelloPort" binding="tns:HelloPortBinding"></port>
<soap:address location="http://DRSARANG:8080/Hello/
HelloService"></soap:address>
Copyright exforsys.com
If you examine this document carefully against the BP conformance requirements, you will find that this file is 100% BP compliant. Thus, to import this as a reference in the .NET client, when we develop it later, would be very easy.