Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314929

Summary: [model] Element referenced by inline namespace cannot be found
Product: [WebTools] WTP Webservices Reporter: Valentin Baciu <valentinbaciu>
Component: wst.wsdlAssignee: Valentin Baciu <valentinbaciu>
Status: CLOSED FIXED QA Contact: Valentin Baciu <valentinbaciu>
Severity: normal    
Priority: P2 CC: keith.chong.ca
Version: 3.0.5Flags: keith.chong.ca: review+
Target Milestone: 3.2.1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 314702    
Bug Blocks: 317735    
Attachments:
Description Flags
JUnit test
none
Fix none

Description Valentin Baciu CLA 2010-05-28 14:13:35 EDT
+++ This bug was initially created as a clone of Bug #314702 +++

Created an attachment (id=170204)
Sample WSDL document

The WSDL EMF model does not properly resolve component QNames in the default namespace when the default namespace is re-declared locally on the element that  uses the QName reference. See attached WSDL document for an example. 

To see the visible manifestation of this bug, open the attached WSDL document with the WSDL editor, switch to the design view and note the broken links between the message parts and the elements they refer to.
Comment 1 Valentin Baciu CLA 2010-06-23 14:21:35 EDT
Created attachment 172538 [details]
JUnit test

Apply to org.eclipse.wst.wsdl.tests. The new JUnit test will be failing.
Comment 2 Valentin Baciu CLA 2010-06-23 14:22:14 EDT
Created attachment 172539 [details]
Fix

Apply to org.eclipse.wst.wsdl. All JUnits will be green again.
Comment 3 Valentin Baciu CLA 2010-06-23 14:23:07 EDT
Keith, please review and consider approving this fix for WTP 3.2.1.
Comment 4 Keith Chong CLA 2010-06-24 12:01:20 EDT
I've reviewed this fix for 305p.  Looks good.
Comment 5 Valentin Baciu CLA 2010-06-24 17:29:43 EDT
Patches released to WTP 3.2.1 builds > v201006242129 UTC.
Comment 6 Valentin Baciu CLA 2010-06-28 13:38:45 EDT
Verified with M-3.2.1-20100626194259. Closing.