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.
The endorsed classes included in netbeans_home/enterprise6/modules/ext/javaee-endorsed-api-6.0-SNAPSHOT.jar are different than classes in GlassFishV3/modules/endorsed directory. This makes JAX-WS generated classes uncompilable. See for example class javax.xml.ws.Service.
See evan when I add the correct endorsed library for JAX-WS, the project can not be built: endorsed.classpath=\ ${libs.javaee-endorsed-api-6.0.classpath}:\ ${libs.JAX-WS-ENDORSED.classpath}
I see that NetBeans bundled the latest version that is available in the Maven repository: http://download.java.net/maven/2/javax/javaee-endorsed-api/6.0-SNAPSHOT/ This snapshot is quite recent (Oct 27), however, the version inside GlassFish v3 (b70) is older - the classes are from Sep 14. Which version is "correct"? Does it mean that the classes in GF build need to be updated? If so, we need a P1 against GlassFish.
Milan, file issue for GlassFish please. NetBeans is up to date.
JAX-WS API classes in javaee-endorsed-api-6.0-SNAPSHOT.jar correspond to 2.1 (old) while JAX-WS bundled with GlassFish V3 (e.g. version 68) to JAX-WS 2.2. I don't know from where you have taken classes to javaee-endorsed-api-6.0-SNAPSHOT.jar, but we need this library corresponding to GlassFish V3 jars. So report a bug to whoever you want. I am pretty sure that javaee-endorsed-api-6.0-SNAPSHOT.jar needs to be changed.
Martin. Is GlassFish V3 going back to JAX-WS 2.1? I am almost sure you want to have JAX-WS 2.2 there.
Ludo, can you comment please? You are the owner of javaee-endorsed-api-6.0-SNAPSHOT.jar. Thx.
Fixed. My test: ludo$ javap -bootclasspath /Users/ludo/Documents/downloads/javaee-endorsed-api.jar javax.xml.ws.Service Compiled from "Service.java" public class javax.xml.ws.Service extends java.lang.Object{ protected javax.xml.ws.Service(java.net.URL, javax.xml.namespace.QName); protected javax.xml.ws.Service(java.net.URL, javax.xml.namespace.QName, javax.xml.ws.WebServiceFeature[]); public java.lang.Object getPort(javax.xml.namespace.QName, java.lang.Class); public java.lang.Object getPort(javax.xml.namespace.QName, java.lang.Class, javax.xml.ws.WebServiceFeature[]); public java.lang.Object getPort(java.lang.Class); Wait for the new jars to show up in http://download.java.net/maven/2/javax/javaee-endorsed-api/6.0-SNAPSHOT/ takes an hour or so
Does this issue impact 68Beta users Milan?
Pushed to web-main as 9dc28237934e.
> Does this issue impact 68Beta users Milan? Depends if javaee-endorsed-api-6.0 is added to "endorsed" classpath in 68Beta. AFAIK, not.