I´m trying to run the java_first_jaxws sample that comes with apache cxf 2.1.3
I would like to run this sample with TomCat and not with Jetty
I can register my Server in TomCat but when I run the Client Class I get the
following exception:
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
....
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Could not send
Message.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
at $Proxy41.sayHi(Unknown Source)
at demo.hw.client.Client.main(Client.java:53)
Caused by: org.apache.cxf.interceptor.Fault: Could not send Message.
The only modification that I made in the source code was to change the Jetty
9000 port to TomCat 8080
Best Regards