Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

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

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


The longest recorded flight time of a chicken is 13 seconds. But that was done without this tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic