Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 47069 invoked from network); 6 Jun 2005 05:10:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2005 05:10:40 -0000 Received: (qmail 88715 invoked by uid 500); 6 Jun 2005 05:10:28 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 88671 invoked by uid 500); 6 Jun 2005 05:10:27 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 88654 invoked by uid 99); 6 Jun 2005 05:10:27 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp3.tcd.ie (HELO smtp3.tcd.ie) (134.226.1.158) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 05 Jun 2005 22:10:25 -0700 Received: from Vams.smtp3 (smtp3.tcd.ie [134.226.1.158]) by smtp3.tcd.ie (Postfix) with SMTP id F2C8314C009 for ; Mon, 6 Jun 2005 06:10:11 +0100 (IST) Received: from smtp3.tcd.ie ([134.226.1.158]) by smtp3.tcd.ie ([134.226.1.158]) with SMTP (gateway) id A0446EE8CFE; Mon, 06 Jun 2005 06:10:11 +0100 Received: from unix20.tcd.ie (unix20.tcd.ie [134.226.17.162]) by smtp3.tcd.ie (Postfix) with ESMTP id DBFB414C009 for ; Mon, 6 Jun 2005 06:10:11 +0100 (IST) Received: by unix20.tcd.ie (Postfix, from userid 402) id C2F328083; Mon, 6 Jun 2005 06:10:11 +0100 (IST) Received: from unix14.tcd.ie (unix14.tcd.ie [134.226.1.136]) by mymail.tcd.ie (IMP) with HTTP for ; Mon, 6 Jun 2005 06:10:11 +0100 Message-ID: <1118034611.42a3dab3b9e1f@mymail.tcd.ie> Date: Mon, 6 Jun 2005 06:10:11 +0100 From: James Taylor To: axis-user@ws.apache.org Subject: Re: import schema to wsdl References: <1118018926.42a39d6ea78bd@mymail.tcd.ie> <003901c56a52$8af5bc30$0c00000a@thesiger> In-Reply-To: <003901c56a52$8af5bc30$0c00000a@thesiger> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 134.226.1.136 Content-Transfer-Encoding: quoted-printable X-AntiVirus-Status: Checked by TCD Vexira. (version=1.55.010 VDF=8.751) X-AntiVirus-Status: NONE X-AntiVirus-Status: Action Taken: X-AntiVirus-Status: Host: smtp3.tcd.ie X-AntiVirus-Status: MessageID = A1446EE8CFE X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 : > 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" > To: > 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 list= ing, > > > xmlns:xsd =3D "http://www.w3.org/2001/XMLSchema" > elementFormDefault =3D "qualified" > targetNamespace =3D > "http://localhost:8080/axis/services/bookflights/wsdl/importtypes" > xmlns:bf=3D"http://localhost:8080/axis/services/bookflights/flightbooki= ng"> > "http://localhost:8080/axis/services/bookflights/flightbooking" locatio= n =3D > "FlightBooking.xsd" /> > > > > > 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 lis= ting. > Regards, > James. > -- > Between the question and the answer lies free will > > -- Between the question and the answer lies free will