Thursday, 10 June 2010

JAX-WS 2.2 and Tomcat

I wanted to consume a web-service within a webapp on Tomcat, after being so used to using the Fish I deployed with thought to libraries and came up with this error:

NoSuchMethodError WebFault.messageName


After much hunting around I found that Netbeans had imported the Metro 2.0 library, so I changed this to JAX-WS 2.2 (jaxb-api.jar, jaxws-api.jar, jaxws-tools.jar) and everything is now fine..

Res:
http://weblogs.java.net/blog/ramapulavarthi/archive/2009/04/tip_for_using_j.html

No comments:

Post a Comment