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.
When building an EJB3 Module on Weblogic 10MP1 which includes a stateless session bean that is also exposed as a web service, the wsgen task is not called. After further investigation, it seems that jax-ws-build.xml is generated for the ejb module, but the build-impl.xml does not reference this as is the case with a web application module. Web application modules work properly. A workaround is to add the ant task manually into build.xml at "-post-compile" to call the wsgen build task which is in the jax-ws-build.xml file. To reproduce: 1) New EJB module 2) Set Weblogic 10 as the server 3) Create a web service. This should create a stateless session bean automatically. 4) Add a dummy operation that does nothing just to keep the ide happy. 5) Create EAR module and add the EJB module to this. 6) Build and deplo the EJB module/EAR an exception is thrown at deploy time that states that the session bean wsgen generated class cannot be found.
sth like this is already filed somewhere, I think... will try to find it. Anyway this belongs somewhere between websvc support and weblogic plugin (ws expects that wl plugin will return appropriate stuff from J2eePlatform.isToolSupported(String)...)
Is it only the missing jax-ws-build.xml the only reason? Perhaps belongs to websvc.
In this case IDE expects JSR109 is supported by the server but likely it is not. (it's the same as for GlassFish V2) WS Support should detect if Weblogic supports JSR109 deployment or not. wsgen targets are generated all the time, but build-imp.xml references those targets only in case JSR109 isn't supported. This can be fixed in WS Stack implementation for WebLogic.
JSR109 should be disabled for unknown server types.
Current implementation of JAX-WS stack in WL always returns true for JSR109 feature. JAX-WS stack should be refactored in the same way as JAX-RS stack support. The fix of this issue should be a consequence this refactoring.
I'm not able to reproduce it with WL10.3. JAX-WS stack is redone in 7.2 dev.