axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff" <j...@cogentlogic.com>
Subject Re: import schema to wsdl
Date Mon, 06 Jun 2005 05:16:56 GMT
They don't really matter as long as they are unique within planet Earth. Why
else do you think namespaces exist?


----- Original Message ----- 
From: "James Taylor" <taylorjw@tcd.ie>
To: <axis-user@ws.apache.org>
Sent: Monday, June 06, 2005 1:10 AM
Subject: Re: import schema to wsdl


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 <jeff@cogentlogic.com>:

> 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" <taylorjw@tcd.ie>
> 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


Mime
View raw message