This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Http 404 error while access through client application - web service axis.  RSS feed

Manivannan Govindarajan
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have deployed the Web Service application in Apache Tomcat 6.0.32 with axis 1.4 and it is successfully deployed and the same is given below --

C:\TestWebService\WebContent\WEB-INF\KMVDServiceService\com\tb\kmvd>java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd
log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectR
log4j:WARN Please initialize the log4j system properly.
Processing file deploy.wsdd
<Admin>Done processing</Admin>

I tried to access this web service via from my client application by using the following command :

D:\WebService_WorkSpace\TestAxis\bin>java -classpath ../axis.jar;../axis-ant.jar
j-1.2.8.jar;../saaj.jar;../wsdl4j-1.5.1.jar;. TestClient1

But I am getting the following error :

- Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
faultCode: {}HTTP
faultString: (404)Not Found
{}:return code: 404
<html><head><title>Apache Tomcat/6.0.32 - 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;} {color : black;}HR {color : #525D76;}--></style> </hea
d><body><h1>HTTP Status 404 - /TestWebService/services/KMVDServic
e</h1><HR size="1" noshade="noshade"><p>&l
t;b>type</b> Status report</p><p><b>message</b>
>description</b> <u>The requested resource (/TestWebService/servi
ces/KMVDService) is not available.</u></p><HR size="1"
noshade="noshade"><h3>Apache Tomcat/6.0.32</h3></bod

(404)Not Found
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
at org.apache.axis.transport.http.HTTPSender.invoke(

at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
at org.apache.axis.SimpleChain.doVisiting(
at org.apache.axis.SimpleChain.invoke(
at org.apache.axis.client.AxisClient.invoke(
at org.apache.axis.client.Call.invokeEngine(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at com.tb.kmvd.KMVDServiceSoapBindingStub.getVehicleDetails(KMVDServiceS
at TestClient1.main(

there is no problem in creating the wsdl file and also with the stub which i am creating for client application.
I am using eclipse for development and the web app is running fine when i runs it in the same.
While running it from cmd prompt only i am getting the above problem.

Please help to overcome the issue.


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!