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 89433 - Update jaxws version in jaxws20 module
Summary: Update jaxws version in jaxws20 module
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: Roderico Cruz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-16 06:33 UTC by Roderico Cruz
Modified: 2010-10-08 14:03 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 494


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roderico Cruz 2006-11-16 06:33:33 UTC
The Gavotte release of the Enterprise Pack is aligned with AS 9.1. This requires
that the jaxws version in the jaxws20 module be updated to jaxws 2.1.
Comment 1 Lukas Jungmann 2006-11-16 07:56:44 UTC
We should also somehow handle new "-target" option of wsimport when upgrading to
new JAX-WS version, IMHO.

From the mail from Vivek P. to users@jax-ws:
"...
    * Improved wsimport
          o -quiet switch
                + wsimport works in silent mode
          o -target switch
                + wsimport generates code as per target spec version. It
                  preserves the source level compatibility with
                  different JAXWS specification version. The supported
                  versions are 2.0 and 2.1. Default is 2.1.
..."
Comment 2 Roderico Cruz 2006-11-28 23:24:44 UTC
This will also require changes in the rg.netbeans.modules.websvc.jaxwsmodel
module because this module uses the internal classes in the jaxws-ri.
Comment 4 Roderico Cruz 2006-12-19 07:36:35 UTC
The jaxws2.1 jars that were used were from the 12/18/2006 build.
Comment 6 Milan Kuchtiak 2006-12-20 06:42:44 UTC
The only "API" change that can influence "friend" clients is the following
change in WsdlOperation class:

<    public List<String> getExceptions() {
<        return operation.getJavaMethod().getExceptionsList(); 
<    }

>    public Iterator<String> getExceptions() {
>        return operation.getJavaMethod().getExceptions();
>    }

I would recommend to retain the old method signature to avoid potential problems
 with external clients.

Otherwise, the changes are fine.
Comment 7 Milan Kuchtiak 2006-12-20 08:26:55 UTC
I found one another problem

WsdlModeler:setJAXBBindings(URL[] jaxbBindings);

doesn't work.

See the WsdlBindingTest (Unit test)
Comment 8 Roderico Cruz 2006-12-21 08:29:25 UTC
Need to call WsimportOptions.parseBindings(). However, it is currently not
public in the jaxws-ri. I opened a bug in jaxws-ri 2.1 to make it public.
Comment 9 Lukas Jungmann 2007-06-11 20:17:12 UTC
v.