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.
Refer to bug http://xml.netbeans.org/issues/show_bug.cgi?id=83728 This bug really a code clean up issue to facilitate import customizer reuse in wsdl editor. The schema import customizer is broken in wsdl editor. You will see the problem as mentioned in the bug. The problem is that when an xsd is imported in wsdl the namespace prefix is added to the inline schema, it should be added to wsdl definition. The problem is in the way you are assuming the model where you want to add prefix is the model of your import element. This is not the case when adding the xsd import, In wsdl document, here the model should be wsdl model where you want to add new prefix for each imported xsd. Also in ExternalReferenceCustomizer calling initializeUI in constructor is broken on schema import dialog in wsdl editor. The reason is that you are generating prefix etc here (getPrefix()) and for wsdl editor this getPrefix need to use wsdl model which is not available yet. This is totally broken now. I had to copy this ExternalReferenceCustomizer in wsdl editor and fixed it.
Created attachment 34032 [details] files modified to fix in wsdl editor
Created attachment 34540 [details] browser UI
Please ignore my last attachment browser UI, this was for a differnt bug.
Fixed in release55_dev branch. Removed: xml/wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/ExternalReferenceCustomizer.form xml/wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/ExternalReferenceCustomizer.java Modified: xml/schema/schemaui/src/org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/ImportCustomizer.java new revision 1.1.2.10.6.2 xml/schema/schemaui/src/org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/IncludeCustomizer.java new revision 1.1.2.9.6.2 xml/schema/schemaui/src/org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/RedefineCustomizer.java new revision 1.1.2.9.6.2 xml/wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/ImportSchemaCustomizer.java new revision 1.1.2.3.6.2 xml/wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/ImportWSDLCustomizer.java new revision 1.1.2.3.6.1 xml/wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/SchemaReferenceDecorator.java new revision 1.1.2.1.14.2 xml/xamui/src/org/netbeans/modules/xml/xam/ui/customizer/ExternalReferenceCustomizer.java new revision 1.1.2.15.6.3
As part of fixing issue 86397, which involves the same code as this issue, the fix for this issue has been integrated to the release55 branch.
Verified in build 061010_1.