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

Summary: wsgen doesn't support the "xendorsed" attribute
Product: webservices Reporter: janir <janir>
Component: JAX-WSAssignee: Milan Kuchtiak <mkuchtiak>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows Vista   
Issue Type: ENHANCEMENT Exception Reporter:

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.