• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while trying to Tracing Soap Message.  RSS feed

 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I tried to trace the sopa message, but it gives the following error, I placed jaxws-rt.jar, jaxws-api.jar in classpath(which are needed jar file for running the trace).

java -cp "D:\tech\Web-Services\jaxws-ri\lib\jaxws-api.jar;D:\tech\Web-Services\jaxws-ri\lib\jaxws-rt.jar;.;" -Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true ProgramClient

I tried to publish the service through command line, based on guidelines provided in "Java Web-Service Up and Running".

I didnt use any servers for publishing.

Exception in thread "main" java.lang.NoSuchMethodError: javax.xml.ws.WebFault.messageName()Ljava/lang/String;
at com.sun.xml.ws.model.RuntimeModeler.processExceptions(RuntimeModeler.java:1162)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:898)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:666)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:420)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:254)
at com.sun.xml.ws.client.WSServiceDelegate.createSEIPortInfo(WSServiceDelegate.java:661)
at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:649)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:343)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:326)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:308)
at javax.xml.ws.Service.getPort(Unknown Source)
at fibC.RabbitCounterService.getRabbitCounterPort(RabbitCounterService.java:54)

at FibClient.main(FibClient.java:7)

I just want to see the SOAP message, that's it...

Please help me...


thank in advance,
Bennet.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!