Sure will give it a spin. I thought the uri's don't really matter as long as
they are unique within the document?!

Quoting Jeff <[EMAIL PROTECTED]>:

> URIs like:
>     http://localhost:8080/axis/services/bookflights/wsdl/importtypes
> are not suitable for use as namespaces. Try something like:
>     http://ie.tcd/taylorjw/bookflights
> instead.
>
>
> Jeff
>
>
>
>
> ----- Original Message -----
> From: "James Taylor" <[EMAIL PROTECTED]>
> To: <axis-user@ws.apache.org>
> Sent: Sunday, June 05, 2005 8:48 PM
> Subject: import schema to wsdl
>
>
> Hey folks if one refers to a outside shema in a wsdl, like in this listing,
>
>   <types>
>      <xsd:schema
>      xmlns:xsd = "http://www.w3.org/2001/XMLSchema";
>      elementFormDefault = "qualified"
>         targetNamespace =
> "http://localhost:8080/axis/services/bookflights/wsdl/importtypes";
> xmlns:bf="http://localhost:8080/axis/services/bookflights/flightbooking";>
>         <import namespace =
> "http://localhost:8080/axis/services/bookflights/flightbooking"; location =
> "FlightBooking.xsd" />
> <import namespace = "http://www.w3.org/2001/XMLSchema"; />
>      </xsd:schema>
>    </types>
>
> should the schema be in the same directory as the wsdl. I've this wsdl in
> /project/bookflights and the ant build file in /ant. I'm using axis's
> wsdl2java
> tool. Just wondering will ant and wsdl2java pick up FlightBooking.xsd.
>     Also would appreciate it if anyone spotted any mistakes in this listing.
> Regards,
>         James.
> --
> Between the question and the answer lies free will
>
>


--
Between the question and the answer lies free will

Reply via email to