This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
See the attached WSDL document. The 'ns0' namespace prefix is declared on the <definitions> element, and is used in the inlined schema. The document fails validation, thought it seems to be a valid thing from the spec POV.
Created attachment 79068 [details] Sample WSDL
Originally reported here: http://markmail.org/search/?q=Error%20using%20this%20WSDL#query:Error%20using%20this%20WSDL+page:1+mid:x3camjk24xpepaoq+state:results
Created attachment 79069 [details] Sample WSDL as text/plain
The initial evaluation seems to be wrong. :( Sorry about that. Looks like the two inline schemas in the sample document simply cannot reference each other. It's not the namespace prefix issue.
The original reported states that this is an "external" WSDL, changing which is extremely undesirable. Since this is in some sort a customer request, moving to P2.
This is not related to the namespace prefix. Any schema needs to import a schema in order to use its types. So in this case, the second schema needs to have a import statement with the targetnamespace of the first schema. The location can be omitted. Add the following line to the second schema. <xsd:import namespace="http://j2ee.netbeans.org/wsdl/newWSDL/xsd"/>
Marking as closed.