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.

Bug 111948

Summary: inline schema targetnamespace need to be referenced when defined after message creation
Product: xml Reporter: pvarghese <pvarghese>
Component: WSDL ToolsAssignee: Shivanand Kini <skini>
Status: RESOLVED WONTFIX    
Severity: blocker CC: gbadescu, mpottlapelli, sonali
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description pvarghese 2007-08-03 19:57:50 UTC
WSDL editor allows to create an inline schema without defining the targetnamespace. Which essentially means that the
elements in the schema belong to the wsdl document namespace.
The user defines wsdl message on elements in this inline schema and then decides to add a targetnamespace for the inline
schema.
Validation after this complains that the elements referenced in the messages are not available and the user is forced to
fix each error manually

The wsdl editor should provide functionality to fix such errors automatically (maybe refactoring) by fixing the broken
references w.r.t to the new inline schema targetnamespace.
Comment 1 Shivanand Kini 2007-08-07 18:58:30 UTC
Sonali, does refactoring currently support targetnamespace attributes and renaming of prefix?
Comment 2 Martin Balin 2016-07-07 09:56:30 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss