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.
In the attached projects testNSClient has reference to a WSDL document from testNSServer, it fails in build/validation. Some it works with no issue. Issue is intermittent, refer to screen shot for the error.
Created attachment 88080 [details] projects to reproduce issue
Created attachment 88081 [details] screen shot to demonstrate the issue
It is not a bug: your testNSClient project doesn't have reference to testNSServer project, so reference resource SynchronousServer.wsdl can't be resolved. You should add reference to testNSServer project in the Project Properties of testNSClient. Note that when you add reference resource from a project, all necessary references to project are added automatically. I don't know why your project doesn't have it.
reproducible: 1. By using "Local Resource" on context menu on node "Referenced Resources", add WSDL document from "testNSServer" 2. Add WSDL import to BP in testNSClient. 3. validate BP, it works fine. 4. clean & build comp app, it fails 5. clean & build bpel project, it fails 6. validate BP it fails. 7. Look at the navigator, navigator marks (x) error next to import document 8. At this point you can not delete and add import, in import window you do not find referenced resource.
fixed in gvesbv22: 145537181be1 the root of problem is not in reference resources but in *project* references which are used by ref res: *project* references are not stored in project.properties in described case.
Verified with build: 20091130-0721 Able to build and deploy both of the attached projects 'testNSServer' and 'testNSClient' after replacing the 'Reference Resource' in the testNSClient to the expected location the referencing SynchronousServer.wsdl file. Also able to successfully run the client project with expected output produced. (see attached)
Created attachment 92013 [details] server log