Probably using the wrong URL for the service.
The message of the 302 says, that:
http://localhost:8080/axis/
Has moved to
http://localhost:8080/axis/index.html
This normally means, that either you are using the wrong service url, or
the WebApp is not set up correctly. The later is hard to believe in :).
Try to use
http://localhost:8080/axis/servlet
instead of
http://localhost:8080/axis
Lachezar
----- Original Message -----
From: Rosen Marinov
To: [EMAIL PROTECTED]
Sent: Tuesday, February 18, 2003 11:36 AM
Subject: (302)Found problem!
Hi all,
I just start using axis
follow all instructions to start one test Web Service.
I have TestWS.java with only one method
public String get(String key)
I deploy it in axis (Tomcat3.2.2) there are .jws, jwsClasses, libs ... all
I can see my Web Servise on my
http://localhost:8080/axis/servlet/AxisServlet
wdsl is OK
now i try to start a TestClient and got this message:
Where is the problem? What wrong i do? thangs in advance!
and SORRY ALL if this is my stupid miss!
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (302)Found
faultActor: null
faultNode: null
faultDetail:
null: return code: 302
<head><title>Document moved</title></head>
<body><h1>Document moved</h1>
This document has moved <a
href="http://localhost:8080/axis/index.html&q
uot;>here</a>.<p>
</body>
(302)Found
at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:626)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
at org.apache.axis.client.Call.invokeEngine(Call.java:2376)
at org.apache.axis.client.Call.invoke(Call.java:2365)
at org.apache.axis.client.Call.invoke(Call.java:2062)
at org.apache.axis.client.Call.invoke(Call.java:1986)
at org.apache.axis.client.Call.invoke(Call.java:1509)
at test.TestClient.main(TestClient.java:22)