My first and second article here:
http://www.jroller.com/gmazza/entry/blog_article_index might be of help
for you.
Glen
On 10/25/2011 09:36 AM, Nuwan Arambage wrote:
Hi All,
I have already run the java_first_jaxws example. I follow the
instructions and it ran without any issue. Then I have deplyed it in
tomcat. I need to access that web service. At the time when I run the
client using following command. I have got this error.
#>java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
demo.hw.client.Client
Dec 25, 2011 6:37:34 PM org.apache.cxf.phase.PhaseInterceptorChain
doDefaultLogging
WARNING: Interceptor for
{http://server.hw.demo/}HelloWorld#{http://server.hw.demo/}sayHi has
thrown exception, unw
ding now
org.apache.cxf.interceptor.Fault: Could not send Message.
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(Message
nderInterceptor.java:64)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:484)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:414)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:269)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
at $Proxy29.sayHi(Unknown Source)
at demo.hw.client.Client.main(Client.java:30)
Caused by: java.net.SocketException: SocketException invoking
http://localhost:9000/helloWorld: Connection reset.
I was thinking of the given web service is not up and running. I found
out that port 9000 is alreading listening to some service. i guess web
service is running. and I could see that in Tomcat Web Application
Manager it is correctly deployed /helloworld cxf true 0.
my requirement is to access this web service using client. Where
should I chanage to code in Client.java or what are the clue to get
this done.
--
Fail again. Fail better
With Regards ,
Nuwan Arambage
--
Glen Mazza
Talend - http://www.talend.com/apache
Blog - http://www.jroller.com/gmazza
Twitter - glenmazza