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 100713 - Regression: WSDL Validator for JDBC failed to work as expected
Summary: Regression: WSDL Validator for JDBC failed to work as expected
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: Binding Components (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Narayana Pedapudi
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-04-11 23:31 UTC by rpoon
Modified: 2007-04-25 00:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
'Failed where it should pass' (170.79 KB, image/jpeg)
2007-04-11 23:32 UTC, rpoon
Details
Pass where it should fail (170.62 KB, image/jpeg)
2007-04-11 23:32 UTC, rpoon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rpoon 2007-04-11 23:31:28 UTC
Build:  Hula 8a System Test
   http://ivory.russia/entpack-6.0-m8a/take3/
     nb-ide_nb-soa_glassfish_openesb_sjsam_windows.exe

============================================================
With the above build, the validator reports Error when field contains values 
that it suppose to have and does not report error when a required field does 
not contain values that it should have.

For example, the 'paramOrder' field for the 'delete' operation under binding, 
once the WSDL is built by the wizard, the 'sql' contains a query that does not 
have any input parameter.  For this case then, the 'paramOrder' should be blank 
(no value).  But the validator behaves as following:

1) The validator would report error "Attribute 'paramOrder' must appear on 
elemnt 'jdbc:input' .." if this blank (as expected).

2) The validator would pass if there are values in the 'paramOrder' field 
(where it should be blank).

The validator used to work previously.
Comment 1 rpoon 2007-04-11 23:32:20 UTC
Created attachment 40777 [details]
'Failed where it should pass'
Comment 2 rpoon 2007-04-11 23:32:57 UTC
Created attachment 40778 [details]
Pass where it should fail
Comment 3 Venkat Srinivasan 2007-04-16 06:00:08 UTC
Please look into this.
Comment 4 Narayana Pedapudi 2007-04-16 10:56:37 UTC
It was having two problems..
1. Generating paramOrder for delete operation through Wizard
 <This is fixed now.>
2. WSDL validator is throwing the validation error for required "paramOrder"
attribute. 
 <I have changed this. Now it will not throw any error.>

Fix is available with the latest build.

Comment 5 rpoon 2007-04-17 19:31:07 UTC
Using the combination of:
    > the latest Hula codeline build Build070417_17
    > SDK b11
The two Showstopper P1 tickets: 100555, 100713
  *  ticket 100555 (Values erroneously included for ‘paramOrder’ causes runtime 
exception) was fixed.

However, the problem reported in ticket 100713 still exists.

The remaining Showstopper problem prevents us from continue testing the JDBCBC:
   + The newly created project from this new build failed to compile (JDBC 
WSDL).
   + The existing projects also failed to build due to the same validation 
problem.
Comment 6 rpoon 2007-04-17 21:47:32 UTC
See comment above.
Comment 7 Narayana Pedapudi 2007-04-18 06:19:49 UTC
I have checked in the fix for the issue. Please verify in the latest build. 
Comment 8 rpoon 2007-04-25 00:26:50 UTC
Verified fix with the following Build combination:
   
   Hula System Build

       http://bits.nbextras.org/netbeans/6.0/nightly/200704230000/installers/
           netbeans-6.0-nightly-200704230000-full-windows.exe

   Runtime SDK b13

       
http://javaweb.sfbay/java/re/javaeesdk/5.0_03/promoted/preview2/b13/bundles/
           java_app_platform_sdk-5_03-preview2-bin-b13-windows-21_apr_2007.exe