Java Reference
In-Depth Information
</operation>
</binding>
<service name="TempVerterImplService">
<port
name="TempVerterImplPort"
bindin-
g="tns:TempVerterImplPortBinding">
<soap:address
location="http://localhost:9901/
TempVerter"/>
</port>
</service>
</definitions>
A WSDL document is an XML document with a definitions root element,
which makes a WSDL document nothing more than a set of definitions. The tar-
getNamespace attribute creates a namespace for all user-defined elements in the
WSDL document (such as the c2f element defined via the message element with
this name). This namespace is used to distinguish between the user-defined elements
of the current WSDL document and user-defined elements of imported WSDL doc-
uments, which are identified via WSDL's import element. In a similar fashion, the
targetNamespace attribute that appears onan XML Schema-based file's schema
element creates a namespace for its user-defined simple type elements, attribute ele-
ments, and complex type elements.
The name attributeidentifiesthewebserviceandisusedonlytodocumenttheser-
vice.
Note The generated <definitions> tag is incomplete. A complete tag would
include the default namespace, and namespaces for the soap , tns , wsam , and xsd
prefixes, as follows: <definitions
name="TempVerterImplService"
tar-
getNamespace="http://tv.tutortutor.ca/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xm-
lns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://tv.tutortutor.ca/"
xmlns:wsam="http://www.w3.org/2007/05/addressing/
metadata"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> . It appears that
JAX-WS makes assumptions.
Search WWH ::




Custom Search