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.
Build: NB6.0 nightly 200706060000 Question: Can I add a WSDL schema type JAXB Binding when the WSDL file reference an XML Schema file? Steps to reproduce it: 1. Create a new Java Application JavaApplication1. 2. Add a JAXB binding to JavaApplication1 with the following config info: Schema Name: "LoanRequest". Schema File: Check "Select From Local File System". Browse to the location of schema file "C:\Temp\LoanProcessing2\LoanRequestor\src\LoanRequestor.wsdl". Package Name: "LoanRequest". Options: check "nv" and "readOnly". Schema Type: select "WSDL". Click Finish. 3. Got "Error while compiling Schemas". 4. The JAXB Binding is added. But when I open the LoanRequestor.wsdl file, under Referenced Schemas, will see "Broken reference" error. The compiler Output is: xjc-typedef-target: jaxb-code-generation: Consider using <depends>/<produces> so that XJC won't do unnecessary compilation Compiling file:/C:/Users/Hong/Documents/NetBeansProjects/JavaApplication1/xml-resources/jaxb/CheckCredit/CreditReport.xsd Writing output to C:\Users\Hong\Documents\NetBeansProjects\JavaApplication1\build\generated\addons\jaxb Consider using <depends>/<produces> so that XJC won't do unnecessary compilation Compiling file:/C:/Users/Hong/Documents/NetBeansProjects/JavaApplication1/xml-resources/jaxb/LoanRequest/LoanRequestor.wsdl [ERROR] C:\Users\Hong\Documents\NetBeansProjects\JavaApplication1\xml-resources\jaxb\LoanRequest\LoanRequestor.xsd (The system cannot find the file specified) unknown location [ERROR] java.io.FileNotFoundException: C:\Users\Hong\Documents\NetBeansProjects\JavaApplication1\xml-resources\jaxb\LoanRequest\LoanRequestor.xsd (The system cannot find the file specified) line 9 of file:/C:/Users/Hong/Documents/NetBeansProjects/JavaApplication1/xml-resources/jaxb/LoanRequest/LoanRequestor.wsdl failure in the XJC task. Use the Ant -verbose switch for more details C:\Users\Hong\Documents\NetBeansProjects\JavaApplication1\nbproject\xml_binding_build.xml:15: unable to parse the schema. Error messages should have been provided BUILD FAILED (total time: 0 seconds)
Created attachment 43466 [details] A sample BPEL project contains the loanRequestor.wsdl file
Added dependency on 100868
Yes, JAXB RI 2.1.3 supports this. Inside tooling nested/Imported schema is not yet implemented, but in the plan. Downgrading this to P3
Fixed. Please verify in build on after 1616.
Verified the fix is in NB 6.0 nightly build 200707051200