You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nitesh Garg <in...@yahoo.com> on 2002/10/28 21:31:02 UTC
Re: Registering the service with AXIS
Hi,
I am facing a problem while deploying my web service. I am using IBM Web Sphere application server & web server, wstk 3.2.
I have constructed the .wsdl file , as shown in tutorial I of WSTK3.2, and deployed the service WAR. I am facing this problem while registering the service with AXIS.
C:\>java -cp %WSTK_CP% org.apache.axis.client.AdminClient %WSTK_HOME%\services\a
pplications\TestService\deployment\deploy.wsdd -lhttp://localhost:8080/wstk/serv
ices/AdminService
- Processing file c:\wstk-3.2\services\applications\TestService\deployment\deplo
y.wsdd
- Exception:
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.net.ConnectException: Connection refused: connect
faultActor: null
faultDetail: stackTrace: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.<init>(Socket.java:290)
at java.net.Socket.<init>(Socket.java:118)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:4
27)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:146)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
at org.apache.axis.client.Call.invokeEngine(Call.java:2028)
at org.apache.axis.client.Call.invoke(Call.java:2017)
at org.apache.axis.client.Call.invoke(Call.java:1233)
at org.apache.axis.client.AdminClient.process(AdminClient.java:316)
at org.apache.axis.client.AdminClient.process(AdminClient.java:295)
at org.apache.axis.client.AdminClient.process(AdminClient.java:302)
at org.apache.axis.client.AdminClient.process(AdminClient.java:253)
at org.apache.axis.client.AdminClient.main(AdminClient.java:338)
java.net.ConnectException: Connection refused: connect
at org.apache.axis.AxisFault.makeFault(AxisFault.java:117)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:167)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
at org.apache.axis.client.Call.invokeEngine(Call.java:2028)
at org.apache.axis.client.Call.invoke(Call.java:2017)
at org.apache.axis.client.Call.invoke(Call.java:1233)
at org.apache.axis.client.AdminClient.process(AdminClient.java:316)
at org.apache.axis.client.AdminClient.process(AdminClient.java:295)
at org.apache.axis.client.AdminClient.process(AdminClient.java:302)
at org.apache.axis.client.AdminClient.process(AdminClient.java:253)
at org.apache.axis.client.AdminClient.main(AdminClient.java:338)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.<init>(Socket.java:290)
at java.net.Socket.<init>(Socket.java:118)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:4
27)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:146)
... 12 more
Can u Provide any help or suggestion.s
Thanx alot
Nitesh
---------------------------------
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
Re: Registering the service with AXIS
Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Nitesh Garg" <in...@yahoo.com>
To: <ax...@xml.apache.org>
Sent: Monday, October 28, 2002 12:31 PM
Subject: Re: Registering the service with AXIS
>
> Hi,
>
> I am facing a problem while deploying my web service. I am using IBM Web
Sphere application server & web server, wstk 3.2.
> I have constructed the .wsdl file , as shown in tutorial I of WSTK3.2, and
deployed the service WAR. I am facing this problem while registering the
service with AXIS.
>
> C:\>java -cp %WSTK_CP% org.apache.axis.client.AdminClient
%WSTK_HOME%\services\a
>
pplications\TestService\deployment\deploy.wsdd -lhttp://localhost:8080/wstk/
serv
> ices/AdminService
> - Processing file
c:\wstk-3.2\services\applications\TestService\deployment\deplo
> y.wsdd
> - Exception:
> AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.userException
> faultString: java.net.ConnectException: Connection refused: connect
> faultActor: null
> faultDetail: stackTrace: java.net.ConnectException: Connection refused:
connect
means that http://localhost:8080/wstk/services/AdminService wasnt being
picked up as a url, probalby nothing on port 8080