Java Reference
In-Depth Information
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
</input>
<output>
<soap:body use="literal"></soap:body>
</output>
</operation>
</binding>
<service name="CustomerLookupService">
<port name="customerLookupPort"
binding="tns:customerLookupPortBinding">
<soap:address
location="http://localhost:8080/TestXslWSWebApp/
CustomerLookupService">
</soap:address>
</port>
</service>
</definitions>
The service as defined by this WSDL will use the document/literal wrapped style, which
is compliant with the Basic Profile 1.1. It defines a single method that accepts an integer
(wrapped in the “parameters” element in the message) and returns the corresponding name.
The schema that the service references is very simple:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:tns="urn:com:soacookbook"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
version="1.0"
targetNamespace="urn:com:soacookbook">
<xs:element name="getCustomerFullName"
type="tns:getCustomerFullName"></xs:element>
<xs:element name="getCustomerFullNameResponse"
type="tns:getCustomerFullNameResponse"></xs:element>
<xs:complexType name="getCustomerFullName">
<xs:sequence>
<xs:element name="customerID" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getCustomerFullNameResponse">
Search WWH ::




Custom Search