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: | Web Service "Test Method" fails for methods taking a String[] | ||
---|---|---|---|
Product: | webservices | Reporter: | swpalmer <swpalmer> |
Component: | Manager | Assignee: | Jan Stola <jstola> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
swpalmer
2009-04-06 16:18:44 UTC
Just to clarify - I get this error when I right-click in the Services panel and select "Test Method" on that method. Consuming the service and calling it from a simple test app works fine. I'm not sure if there is a mismatch between the generated method that takes a List<String> and what is shown in the exception stack trace with java.util.ArrayList, i.e. is it failing to find a specific implementation that is declared to take ArrayList? That's a problem of Netbeans tester capability available from Services node. It still reproducible. One need to add webservice into Services tab ( Web Services node ). And call "Test Method" popup menu item. Appeared dialog contains only 9 possible values for third method argument as mentioned in this issue . And attempt to test method via "Submit" button leads to above exception . I have fixed the mentioned exception. So, a method with String[] argument can be tested. On the other hand, the restriction on the size of the array passed to the tested web service remains. I have extracted this problem into issue 251856. Modified file: https://hg.netbeans.org/web-main/rev/758515538baf Integrated into 'main-silver', will be available in build *201504160452* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/758515538baf User: Jan Stola <jstola@netbeans.org> Log: #162053: Web Service "Test Method" fails for methods taking a String[] |