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 172735 - Issue with references
Summary: Issue with references
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 08:20 UTC by Murali Pottlapelli
Modified: 2009-12-02 17:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
projects to reproduce issue (69.69 KB, application/octet-stream)
2009-09-22 08:23 UTC, Murali Pottlapelli
Details
screen shot to demonstrate the issue (193.72 KB, image/png)
2009-09-22 08:24 UTC, Murali Pottlapelli
Details
server log (103.70 KB, application/octet-stream)
2009-12-02 17:01 UTC, rpoon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Murali Pottlapelli 2009-09-22 08:20:50 UTC
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.
Comment 1 Murali Pottlapelli 2009-09-22 08:23:45 UTC
Created attachment 88080 [details]
projects to reproduce issue
Comment 2 Murali Pottlapelli 2009-09-22 08:24:44 UTC
Created attachment 88081 [details]
screen shot to demonstrate the issue
Comment 3 Vladimir Yaroslavskiy 2009-09-22 08:45:04 UTC
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.
Comment 4 Vladimir Yaroslavskiy 2009-09-24 12:39:19 UTC
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.
Comment 5 Vladimir Yaroslavskiy 2009-09-24 12:41:22 UTC
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.
Comment 6 rpoon 2009-12-02 17:01:04 UTC
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)
Comment 7 rpoon 2009-12-02 17:01:39 UTC
Created attachment 92013 [details]
server log