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

Summary: Valid WSDL fails t validate
Product: xml Reporter: hemant_bedekar <hemant_bedekar>
Component: WSDL ToolsAssignee: Shivanand Kini <skini>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: The WSDL that fails to validate
Patch for proposed fix

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.