[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.webtools] Re: Help with WSDL validation error
|
>I think you need this here:
>
> <xs:import
>namespace="http://access.webservice.cardinis.cardinis.com/xsd"/>
I think David's nailed the problem. It's possible the Axis emitter is
generating invalid XSD. Although there are different views on whether
import statements are required for other inline schemas in the same WSDL
document the XML schema spec is states that import statements are required
in schemas for each foreign component that the schema references:
"At least two conditions must be satisfied for a reference to be made to a
foreign component: there must be not only a means of addressing such
foreign components but also a signal to schema-aware processors that a
schema document contains such references. Thus, the <import> element
information item identifies namespaces used in external component
references, i.e. those whose ·QName· identifies them as coming from a
namespace different from that of the enclosing schema document's
targetNamespace. " [1]
[1]http://www.w3.org/TR/xmlschema11-1/#composition-schemaImport
Lawrence