You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by co...@runbox.com on 2004/06/03 05:28:05 UTC

Registering A Web Service with Tomcat 5.0?

How, I'm trying to register a service with Tomcat 5.0.  BTW, I have installed AXIS 1.1 RC2.  At this time, I'm getting the following error message:

BEGIN ERROR:

$ java org.apache.axis.client.AdminClient helloworld.wsdd
- Processing file helloworld.wsdd
- Exception:
AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)/axis/services/AdminService
 faultActor:
 faultNode:
 faultDetail:
        {}string: return code:  404
<html><head><title>Apache Tomcat/5.0.16 - Error report</tit
le><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;ba
ckground-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;
color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Ari
al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-f
amily:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-famil
y:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:
Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color :
black;}HR {color : #525D76;}--></style> </head><body><h1
>HTTP Status 404 - /axis/services/AdminService</h1><HR size="1&
quot; noshade><p><b>type</b> Status report</p><p&g
t;<b>message</b> <u>/axis/services/AdminService</u></
p><p><b>description</b> <u>The requested resource (/a
xis/services/AdminService) is not available.</u></p><HR size=&quo
t;1" noshade><h3>Apache Tomcat/5.0.16</h3></body></
html>

(404)/axis/services/AdminService
        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:630)
        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:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2526)
        at org.apache.axis.client.Call.invoke(Call.java:2515)
        at org.apache.axis.client.Call.invoke(Call.java:1637)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:355)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:334)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:341)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:292)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:377)

END ERROR:

Also, I have tried listing the services and I'm getting the following error message:

BEGIN ERROR:

$ java org.apache.axis.client.AdminClient list
- Exception:
AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)/axis/services/AdminService
 faultActor:
 faultNode:
 faultDetail:
        {}string: return code:  404

  ... ( pretty much similar to the above error )

END ERROR:

Last but not least, I'm doing these operations on Windows 2000 Pro and I have put mt compiled .class file into the following directory:

~/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/ROOT/WEB-INF/classes/cs84/axis

Note:  The axis directory has my compiled class file.

Thanks in advance,

-Conrad


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org