|
|
|||||||||||||||||||||||||||||||||||||||||||||
Rama Pulavarthi's Blog
Speaking at JavaOne 2009 on JAX-WS 2.2Posted by ramapulavarthi on June 01, 2009 at 09:07 PM | Permalink | Comments (0)Jitu and I are going to speak at JavaOne 2009 on JAX-WS 2.2. The BOF is on Wednesday, June 03 7:45 PM - 8:35 PM. We will be talking about the new features in JAX-WS 2.2. If you use JAX-WS, Metro, drop by the Glassfish booth or at BOF to say hi and ask any questions you might have. Hope to see you all there. JAX-WS 2.1.6 in JDK 6u14Posted by ramapulavarthi on June 01, 2009 at 08:59 PM | Permalink | Comments (1)We are trying our best to keep the JDK up to date with latest JAX-WS RI. The recently released JDK 6 Update release 14 has JAX-WS 2.1.6 RI along with JAXB 2.1.10 RI. You can find more about the changes that went in to the release can be seen at JAX-WS 2.1.6 change log and JAXB 2.1.10 change log. I hope the JAX-WS users find this helpful. JAX-WS Maven 2 Plugin 1.12 releasedPosted by ramapulavarthi on April 29, 2009 at 01:49 PM | Permalink | Comments (2)JAX-WS Maven2 plugin 1.12 is released which has some bug fixes related to configuring the wsimport/wsgen options and minor usability issue. JAX-WS maven plugin 1.12 depends on recently released JAX-WS RI 2.1.7. Along with other changes in JAX-WS RI 2.1.7, For maven users it has one important bug fix related to the dependency on the woodstox. Just a recap on the previous 1.11 release, If you have n't noticed, In 1.11 wsimport goal default behavior is changed to not compile the generated sources. This was fixed as JAX-WS-COMMONS-25. Fixes in 1.12 release are
You can find more about the plugin usage at jax-ws commons project. Do let us know if you see any issues with using the maven plugin. Tip for using JAX-WS 2.2/ Metro 2.0 with Tomcat 6.x on JDK 6Posted by ramapulavarthi on April 03, 2009 at 04:24 PM | Permalink | Comments (0)If you trying to use JAX-WS 2.2 on top of JDK 6, you run into classloading problems. Resonating with the problems we had with using JAX-WS 2.1 on JDK 6 FCS?, Dejavu !!!. As you guessed, JDK 6 (U4 and later) has JAX-WS implementation with JAX-WS 2.1 API. If you try to use JAX-WS 2.2, the runtime always picks up the JAX-WS API from bootclasloader and will not see JAX-WS 2.2 API in your classpath. Well, the solution is the same, i.e, using the endorsed overriding mechanism. This has been documented and discussed before. But how do you configure for Web Services running on Tomcat 6 using JDK 6. Its easy with Tomcat 5.5, you just need to copy jaxws-api.jar and jaxb-api.jar into $TOMCAT_HOME/common/endorsed directory. But there are some changes in classloading in Tomcat 6.x and there is no documentation on the default endorsed directory. Here it is, you have to create endorsed directory in $TOMCAT_HOME and Copy jax-ws.api.jar and jaxb-api.jar from JAX-WS (webservices-api.jar in case of Metro) to $TOMCAT_HOME/endorsed. You might also find my other blog on running JAX-WS samples on Tomcat 6.x useful.
I am putting here one of the problems one would see when using JAX-WS 2.2 features without endorsed mechanism. For ex, if you are using AddressingFeature.Responses added in JAX-WS 2.2 API, you would get
|
June 2009
Search this blog:CategoriesCommunity: Java Web Services and XMLCommunity: NetBeans Web Services and XML Archives
June 2009 Recent EntriesSpeaking at JavaOne 2009 on JAX-WS 2.2 JAX-WS Maven 2 Plugin 1.12 released | ||||||||||||||||||||||||||||||||||||||||||||
|
|