web services - java.lang.NoSuchMethodError: javax.xml.ws.WebFault.messageName()Ljava/lang/String -
created web service returns list of custom objects in netbeans 7.3, using jax-ws 2.2, tomcat-6.0, jdk 1.6 - on calling service client gives exception -
java.lang.nosuchmethoderror: javax.xml.ws.webfault.messagename()ljava/lang/string; com.sun.xml.ws.model.runtimemodeler.processexceptions(runtimemodeler.java:1213) com.sun.xml.ws.model.runtimemodeler.processdocwrappedmethod(runtimemodeler.java:943) com.sun.xml.ws.model.runtimemodeler.processmethod(runtimemodeler.java:711) com.sun.xml.ws.model.runtimemodeler.processclass(runtimemodeler.java:472) com.sun.xml.ws.model.runtimemodeler.buildruntimemodel(runtimemodeler.java:314) com.sun.xml.ws.db.databindingimpl.<init>(databindingimpl.java:99) com.sun.xml.ws.db.databindingproviderimpl.create(databindingproviderimpl.java:74) com.sun.xml.ws.db.databindingproviderimpl.create(databindingproviderimpl.java:58) com.sun.xml.ws.db.databindingfactoryimpl.createruntime(databindingfactoryimpl.java:130) com.sun.xml.ws.client.wsservicedelegate.buildruntimemodel(wsservicedelegate.java:782) com.sun.xml.ws.client.wsservicedelegate.createseiportinfo(wsservicedelegate.java:789) com.sun.xml.ws.client.wsservicedelegate.addsei(wsservicedelegate.java:765) com.sun.xml.ws.client.wsservicedelegate.getport(wsservicedelegate.java:386) com.sun.xml.ws.client.wsservicedelegate.getport(wsservicedelegate.java:363) com.sun.xml.ws.client.wsservicedelegate.getport(wsservicedelegate.java:345) javax.xml.ws.service.getport(service.java:92) service.stockdao_service.getstockdaoport(stockdao_service.java:56) org.apache.jsp.newjsp_jsp._jspservice(newjsp_jsp.java:72) org.apache.jasper.runtime.httpjspbase.service(httpjspbase.java:70) javax.servlet.http.httpservlet.service(httpservlet.java:717) org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:374) org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:342) org.apache.jasper.servlet.jspservlet.service(jspservlet.java:267) javax.servlet.http.httpservlet.service(httpservlet.java:717)
after doing research on net found have create endorsed folder in tomcat/lib , copy web service jars in %catalina_home%/lib/endorsed folder. after setting global var catalina_home tomcat root directory on win-7 , setting path in catalina home.prperties still getting error. working on hadoop have copied hadoop , jax-ws jars @ both places tomcat-6.0/lib , tomcat-6.0/lib/endorsed folder.
Comments
Post a Comment