Hi!
Where are you trying to import the XML schema? In a WSDL file?
If that is the case, then the WS-I Basic Profile 1.1 has the following to say about the WSDL import statement:
- The WSDL import statement must only be used to import other WSDL documents.
Reference & examples:
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDL_and_Schema_Import
Furthermore:
- XML schemas may only be imported in the <wsdl:types> element of a WSDL document, as in the following example:
Hope this helps!