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 103752

Summary: Cannot import arbitrary XML Schema
Product: xml Reporter: Lukas Jungmann <jungi>
Component: WSDL ToolsAssignee: Roderico Cruz <rcruz>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Lukas Jungmann 2007-05-11 14:37:00 UTC
-invoke "Import XML Schema ..." in new wsdl wizard/add ws operation dialog in
the designer

=> one can use schemas defined in project source roots ($PROJECT/src/java,
$PROJECT/) only - this is quite restrictive and annoying since one can have his
schemas in some other folder to not mix them with java sources or on some
arbitrary place on the disk (we could copy these schemas to eg.
xml-resources/xml-schemas or to the same location where the new WSDL will be
placed/is in this case)
Comment 1 Lukas Jungmann 2007-05-11 14:41:05 UTC
project source roots are only $PROJECT/src/java and $PROJECT/test (instead of
$PROJECT/) by default
Comment 2 Roderico Cruz 2007-10-02 20:28:06 UTC
Reassigning to xml/wsdl
Comment 3 Samaresh Panda 2007-10-02 21:03:07 UTC
It has been designed to work with Netbeans project system. I'm not sure why would you keep some files not under src or
test  if they are indeed part of the source.
Comment 4 Samaresh Panda 2007-10-02 21:11:53 UTC
On a second thought, the import wizard has been designed to pick schemas from project roots. I do understand the
limitations, hence marking this as an enhancement.