Java Reference
In-Depth Information
When use issetto encoded ,each part elementreferencesanabstracttypeusing
the type attribute.Theseabstracttypesareusedtoproduceaconcretemessageby
applyinganencodingspecifiedbytheSOAPmessage's encodingStyle attribute.
Formoreinformationonthe style and use attributes,checkout“Whichstyleof
WSDLshouldIuse?”( http://www.ibm.com/developerworks/webser-
vices/library/ws-whichwsdl/ ) .
The types element's schema element identifies the location ofthe schema where
each operation's return and parameter types are stored. The xsd:import tag's
schemaLocation attribute identifies this location as ht-
tp://localhost:9901/TempVerter?xsd=1 . Whenyoupointyourbrowserto
this location, you observe Listing 11-6 .
Listing 11-6. The WSDL document's referenced XML Schema document
<xs:schema
version="1.0"
tar-
getNamespace="http://tv.tutortutor.ca/">
<xs:element name="c2f" type="tns:c2f"/>
<xs:element name="c2fResponse" type="tns:c2fResponse"/>
<xs:element name="f2c" type="tns:f2c"/>
<xs:element name="f2cResponse" type="tns:f2cResponse"/>
<xs:complexType name="f2c">
<xs:sequence>
<xs:element name="arg0" type="xs:double"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="f2cResponse">
<xs:sequence>
<xs:element name="return" type="xs:double"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="c2f">
<xs:sequence>
<xs:element name="arg0" type="xs:double"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="c2fResponse">
<xs:sequence>
Search WWH ::




Custom Search