This is how I've done it.  It works fine with Axis:
 
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions targetNamespace="https://webservices.sabre.com/websvc" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:bill="http://webservices.sabre.com/BillWebService" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="https://webservices.sabre.com/websvc" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <import location="http://localhost:8080/BillWebService_axis/Bill.xsd" namespace="http://webservices.sabre.com/BillWebService" />
  <import location="http://localhost:8080/BillWebService_axis/msg-header-2_0.xsd" namespace="http://www.ebxml.org/namespaces/messageHeader" />
  <import location="http://localhost:8080/BillWebService_axis/xmldsig-core-schema.xsd" namespace="http://www.w3.org/2000/09/xmldsig#" />
  <import location="http://localhost:8080/BillWebService_axis/xlink.xsd" namespace="http://www.w3.org/1999/xlink" />
  <import location="http://localhost:8080/BillWebService_axis/envelope.xsd" namespace="http://schemas.xmlsoap.org/soap/envelope/" />
  <import location="http://localhost:8080/BillWebService_axis/xml.xsd" namespace="http://www.w3.org/XML/1998/namespace" />
  <import location="http://localhost:8080/BillWebService_axis/wsse.xsd" namespace="http://schemas.xmlsoap.org/ws/2002/12/secext" />
-----Original Message-----
From: Marepalli, Somesh [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 1:59 PM
To: [EMAIL PROTECTED]
Subject: Regarding importing XML Schema files...

Hi:

   In my WSDL  - I need to import a .xsd file which needs to import another .xsd file

   What is the correct way (per WS-I) checks to make Axis import these files?

   Any e.g.s. would be most appreciated

 

regards

Somesh Marepalli

Software Engineer, CleverPath Analytics Dev

tel: +1 216 643-9214

[EMAIL PROTECTED]

 

Reply via email to