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 85049 - Valid WSDL fails t validate
Summary: Valid WSDL fails t validate
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
: 85054 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-15 21:25 UTC by hemant_bedekar
Modified: 2006-09-19 17:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The WSDL that fails to validate (2.62 KB, application/octet-stream)
2006-09-15 21:27 UTC, hemant_bedekar
Details
Patch for proposed fix (1.52 KB, application/octet-stream)
2006-09-15 22:10 UTC, Shivanand Kini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hemant_bedekar 2006-09-15 21:25:54 UTC
A valid WSDL fails to validate. This exception is seen.

C:\Alaska0914_2\netbeans\projects\BRE_Integration_Demo\src\YasuQuickRules.wsdl:4:
column:2 ERROR: Target namespace is not present in the inline schema : Specify a
Target namespace in the inline schema.

The WSDL is attached.
Comment 1 hemant_bedekar 2006-09-15 21:27:10 UTC
Created attachment 34037 [details]
The WSDL that fails to validate
Comment 2 Shivanand Kini 2006-09-15 21:55:36 UTC
increasing the priority. the schema has a targetnamespace, but wsdl validation
shows up a error, which probhibits the user from building the bpel project.
Comment 3 Shivanand Kini 2006-09-15 22:10:06 UTC
Created attachment 34040 [details]
Patch for proposed fix
Comment 4 Shivanand Kini 2006-09-15 22:12:41 UTC
The issue here was that there was a typo  "targetNamespace.length > 0" instead
of "targetNamspace.length == 0".
The fix has been checked in into release55_dev
Created a attachment for the fix xml-wsdl-api-85049-fix.diff.
Comment 5 Shivanand Kini 2006-09-15 22:37:26 UTC
*** Issue 85054 has been marked as a duplicate of this issue. ***
Comment 6 Shivanand Kini 2006-09-18 19:35:27 UTC
This fix has been reviewed by ritesh and now integrated into release55
Comment 7 jlautz 2006-09-19 17:49:13 UTC
Verified on Windows XP with NB 5.5 Build 200609190000.