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 85502

Summary: WSDL Validation not in synch with Bpel project build
Product: soa Reporter: Sreenivasan Genipudi <sreenigv>
Component: BPEL ValidationAssignee: Vladimir Yaroslavskiy <yaroslavskiy>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: radval
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: bpel project
WeakReference creating ActiveQueue which holds reference to Build Classloader
MetaInfServices Lookup creating ActiveQueue holds reference to Build classloader

Description Sreenivasan Genipudi 2006-09-22 00:41:02 UTC
When I validate a WSDL, it is complaining with following message
C:/delete/newone1/newone1/nbproject/private/cache/retriever/www.agenteel.com/CPdeMEX/AgenteelCP.wsdl:14,10

src-resolve.4.2: Error resolving component 'soapenc:Array'. It was detected that
'soapenc:Array' is in namespace 'http://schemas.xmlsoap.org/soap/encoding/', but
components from this namespace are not referenceable from schema document
'file:/C:/delete/newone1/newone1/nbproject/private/cache/retriever/www.agenteel.com/CPdeMEX/AgenteelCP.wsdl'.
If this is the incorrect namespace, perhaps the prefix of 'soapenc:Array' needs
to be changed. If this is the correct namespace, then an appropriate 'import'
tag should be added to
'file:/C:/delete/newone1/newone1/nbproject/private/cache/retriever/www.agenteel.com/CPdeMEX/AgenteelCP.wsdl'.

When I import this WSDL in BPEL and build the project, it builds fine without
validation errors.. 


The WSDL was retrieved from http://www.agenteel.com/CPdeMEX/AgenteelCP.wsdl
Comment 1 Sreenivasan Genipudi 2006-09-22 00:42:04 UTC
Created attachment 34353 [details]
bpel project
Comment 2 Sreenivasan Genipudi 2006-09-22 00:44:45 UTC
cc ing Ritesh
Comment 3 Sreenivasan Genipudi 2006-09-30 05:19:42 UTC
Created attachment 34741 [details]
WeakReference creating ActiveQueue which holds reference to Build Classloader
Comment 4 Sreenivasan Genipudi 2006-09-30 05:20:36 UTC
Created attachment 34742 [details]
MetaInfServices Lookup creating ActiveQueue holds  reference to Build classloader
Comment 5 Sreenivasan Genipudi 2006-09-30 05:21:23 UTC
Please ignore the attachments. I am not able to remove it.. Wanted to attach
this to another issue.. 
Comment 6 Sreenivasan Genipudi 2006-11-08 19:41:29 UTC
The validation error is seen in IDE  and WSDL Editor validation. The same is not
seen in commandline mode when you build the project from commandline WSDL
Validator is not throwing the error.
Comment 7 Vladimir Yaroslavskiy 2007-11-23 14:14:50 UTC
Can't reproduce it:

1. Create SynchronousSample
2. Copy AgenteelCP.wsdl to SynchronousSample/src
3. Add import to the wsdl in the bpel process
4. Validate or build bpel project: error is caught

The same behaviour from command line.