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

Bug 334057

Summary: NPE while validating WSLD1.1 + WS-Policy + WS-Addressing + two ports/bindings
Product: [WebTools] WTP Webservices Reporter: Grzegorz Grzybek <gr.grzybek>
Component: wst.wsiAssignee: wst.wsi <wst.wsi-inbox>
Status: NEW --- QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P3 CC: ken, mauromol
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Here are the WSDLs causing NPE during WS-I validation
none
a perfectly valid WSDL from Apache ODE samples none

Description Grzegorz Grzybek CLA 2011-01-12 02:48:37 EST
Build Identifier: I20101208-1300

There are two different port types, two bindings and two ports in one wsdl:service. All of them use WS-Addressing Metadata. When I comment one port in wsdl:service the NPE is gone.

I've traced the problem down to:
 - assertion BP2402 is tested
 - list of prerequisites is checked (which is [ BP2703 ])
 - org.eclipse.wst.wsi.internal.core.report.impl.ReportImpl.getAssertionResult(String) returns null, because "currentEntry.getEntryContainer().getAssertionResult(assertionId)" returns null

WS-I Compliance Checker from SOAPUI works fine for the attached WSDLs/XSDs

Reproducible: Always

Steps to Reproduce:
1. Open attached WSDLs/XSDs
2. Validate
3. See NPE
Comment 1 Grzegorz Grzybek CLA 2011-01-12 02:49:47 EST
Created attachment 186599 [details]
Here are the WSDLs causing NPE during WS-I validation
Comment 2 Keith Chong CLA 2011-03-17 13:37:23 EDT
Reducing severity since this isn't a major loss of function.
Comment 3 Grzegorz Grzybek CLA 2012-05-29 03:12:08 EDT
It's the same bug as https://bugs.eclipse.org/bugs/show_bug.cgi?id=323157
Comment 4 Ken Mc Neill CLA 2012-08-13 09:41:55 EDT
Created attachment 219804 [details]
a perfectly valid WSDL from Apache ODE samples

This bug is truly unacceptable.

It makes the WSDL Editor useless on many perfectly valid files used all over the industry. Attached example is from Apache ODE.

This is also a painfully-old bug--what is it going to take to get it fixed?

Validation Problem Error:

"A problem occurred while running the WSDL validator for namespace http://schemas.xmlsoap.org/wsdl/."
Comment 5 Ken Mc Neill CLA 2012-08-13 09:45:30 EDT
It's the same bug asAre we sure that this is the same as https://bugs.eclipse.org/bugs/show_bug.cgi?id=323157?

How can we help with this one?