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