Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Importing a schema into another schema: "invalid schema file"?
Importing a schema into another schema: "invalid schema file"? [message #203757] Tue, 06 November 2007 05:29 Go to previous message
Eclipse User
Originally posted by: mauro.molinari.cardinis.com

Hello all!

I'm editing the inline schema of a WSDL and I tried to add an import
directive to import another schema I defined on a stand-alone XSD file.

This file is well-formed and valid (no validation errors given by
Eclipse), but in the import wizard dialog, when I try to select it from
the workspace (step named "Select XML schema file"), as soon as I click
on it an error hint is given: "filename.xsd is an invalid XML schema
file". The "Finish" button is grayed out and I cannot import it...

I'm quite new to WSDL and XSD, I'm learning now... anyone could help me
to determine the source of the problem?

The XSD I'm trying to import is the following:

<?xml version="1.0" encoding="UTF-8"?>
<schema
targetNamespace="http://webservice.cardinis.com/AccessServices/xsd"
elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://webservice.cardinis.com/AccessServices/xsd">
<annotation>
<documentation>
Schema per la definizione dei tipi usati dal webservice di
autenticazione.
</documentation>
</annotation>

<element name="Login_Username" type="string">
<annotation>
<documentation>
Parametro d'ingresso relativo al nome utente nell'operazione di
login.
</documentation>
</annotation>
</element>

<element name="Login_Password" type="string">
<annotation>
<documentation>
Parametro d'ingresso relativo alla password nell'operazione di
login.
</documentation>
</annotation>
</element>

<element name="Login_Ticket" type="string">
<annotation>
<documentation>
Parametro di uscita relativo al ticket assegnato all'utente
dall'operazione di login.
</documentation>
</annotation>
</element>
</schema>

Thanks in advance.

Mauro.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Extending the WSDL Editor
Next Topic:Unsupported Content Type
Goto Forum:
  


Current Time: Sat May 18 20:24:19 EDT 2013

Powered by FUDForum. Page generated in 0.01624 seconds