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

Bug 356375

Summary: Overloading attributes failing validation
Product: [WebTools] WTP Webservices Reporter: cu2sr
Component: wst.wsdlAssignee: wst.wsdl <wst.wsdl-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact: Keith Chong <keith.chong.ca>
Severity: minor    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Copy/Paste of WSDL from service provider. URLs have been scrubbed. none

Description cu2sr CLA 2011-08-31 13:48:26 EDT
Created attachment 202550 [details]
Copy/Paste of WSDL from service provider. URLs have been scrubbed.

My service provider attempts to overload the attribute Id in the policy element by providing a different namespace. The error returned by Eclipse upon validation is "cvc-complex-type.5.2: In element 'wsp:Policy', attribute 'Id' is a Wild ID. But there is already an attribute 'Id' derived from ID among the {attribute uses}." I've attached the WSDL I used to replicate this error.
Comment 1 Keith Chong CLA 2011-08-31 18:03:44 EDT
The validator is based on WSDL4J so this bug is against them.  See http://sourceforge.net/projects/wsdl4j/