Example 5-9 (
http://www.w3.org/TR/wsdl20-primer/#reservationDetails.xsd) in the specification does not show the use of the
wsdli:wsdlLocation attribute as stated in the text.
Here is the text below the example:
This XML schema contains the usual definitions for the elements
that appear in the messages of the Web service. For example, the
reservationDetails element is used in the messages of
the retrieve and update operations. In
addition, the schema defines the simple type
reservationDetailsSOAPEndpointType which is based on
xs:anyURI and has the annotation wsdlx:binding =
"wdetails:reservationDetailsSOAPBinding" which means that
the URI is the address of a Reservation Details Web service
endpoint that implements the
wdetails:reservationDetailsSOAPBinding binding. Note
that the wsdli:wsdlLocation attribute is used to
define the location of the WSDL 2.0 document that defines the
wdetails:reservationDetailsSOAPBinding binding. This
annotated simple type is used to define the
reservationDetailsSOAPEndpoint element which will be
used in the Reservation List service.
And here is the referred XML:
<?xml version="1.0" encoding="UTF-8"?>
<schema . . .
xmlns:wsdli="http://www.w3.org/ns/wsdl-instance"
. . . >
. . .
<simpleType name="reservationDetailsSOAPEndpointType" wsdlx:binding="wdetails:reservationDetailsSOAPBinding">
<restriction base="anyURI"/>
</simpleType>
. . .
</schema>
Best regards,
--
Moisés Braga Ribeiro
moisesbr@...