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.
Summary: | REGRESSION: NPE on validating WSDL | ||
---|---|---|---|
Product: | xml | Reporter: | Andrei Chistiakov <ca-nb> |
Component: | WSDL Model | Assignee: | Sherry Weng <sweng> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | skini |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Andrei Chistiakov
2007-09-21 13:35:18 UTC
Soap component validator related. Reassigning. Investigating. The NB WSDL Wizard is generating invalid WSDL. Confirmed/reproduced in build 20070921210033. Following the steps given to reproduce the issue, the following are observed: 1. The generated binding references its portType with no namespace qualification (red portion is missing): <binding name="newWSDLBinding" type="tns:newWSDLPortType"> 2. The part definition references its type with no namespace qualification (red portion is missing): <part name="part1" type="ns:purchaseOrderType"/> Correcting these errors results in a successful validation. The NPEs need to be plugged, but the validation errors are unavoidable given that the generated WSDL is invalid. To clarify, the "tns:" and "ns:" qualification for the portType and part type references are missing, and had to be added manually. The WSDL wizard seems to create an invalid WSDL with the purchase order schema, so the WSDL validation should still report errors. However, the NPE issue is fixed. Verified in build 200709250000. |