[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: Importing a schema into another schema: "invalid schema file"?

David Carver ha scritto:

Mauro,

You need to specify the WSDL to import in the wsdl:types, something like the following:
Mauro Molinari wrote:

<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
targetNamespace="http://webservice.cardinis.com/AccessService/wsdl";>
<xsd:include schemaLocation="filexsd.xsd"/>
    </xsd:schema>
  </wsdl:types>

Where the schemaLocation points to the file you want to include.

Dave

Hi Dave,
yes, I know, but I tried to use the wizard instead of editing manually the code and the wizard says the XSD is invalid as soon as I select it in the dialog named "Select XML schema file" opened by clicking on "..." beside the "location" attribute of the newly created import element (Properties view).


I searched here for a confirmation of this IMHO strange behaviour, before filing a new bug...

Cheers,
Mauro.