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 170409 - wsgen doesn't support the "xendorsed" attribute
Summary: wsgen doesn't support the "xendorsed" attribute
Status: NEW
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker with 1 vote (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-15 08:06 UTC by janir
Modified: 2009-08-17 08:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description janir 2009-08-15 08:06:43 UTC
There is an error:
"wsgen doesn't support the "xendorsed" attribute" 
when deploying web service project to weblogic. It works when removing the xendorsed="true" from jaxws-build.xml but
since the file is generated everytime you add a webservice or restart Netbeans it is quite timeconsuming to keep
removing the parameter

This bug is found in netbeans 6.5.1 and in 6.7.1

jaxws-build.xml:
<target name="wsgen-Testing" depends="wsgen-init">
        <wsgen sourcedestdir="${build.generated.dir}/wsgen/service"
resourcedestdir="${build.generated.dir}/wsgen/service/resources/" destdir="${build.generated.dir}/wsgen/binaries"
xendorsed="true" keep="true" genwsdl="true" sei="com.nokia.mes.Testing">
            <classpath
path="${java.home}/../lib/tools.jar:${build.classes.dir}:${j2ee.platform.wsgen.classpath}:${javac.classpath}"/>
        </wsgen>
</target>
Comment 1 Milan Kuchtiak 2009-08-17 08:35:00 UTC
Yes, the xendorsed attribute was added by default as it is important for resolving conflicts between JAX-WS API included
in JDK (2.0 or 2.1) and JAX-WS version in J2EE Server or in IDE (2.1 or 2.2).

Unfortunately, some older versions of JAX-WS doesn't support this.
The best would be to make this attribute optional.