W3C home > Mailing lists > Public > public-ws-desc-comments@w3.org > June 2009

Missing wsdli:wsdlLocation in example

From: Moisés Braga Ribeiro <moisesbr@gmail.com>
Date: Wed, 17 Jun 2009 11:20:18 -0300
Message-ID: <c895533b0906170720n5e577a93ncd72b584a2a1d260@mail.gmail.com>
To: public-ws-desc-comments@w3.org
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
reservationDetailselement 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@gmail.com
Received on Monday, 22 June 2009 08:58:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 22 June 2009 08:58:52 GMT