axis-axis1-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diego Gomes <diego.cb.go...@gmail.com>
Subject Axis 1.4 CommonsHTTPSender (404) not found problem
Date Mon, 11 Jul 2011 13:57:16 GMT
Hello!

I'm new in axis, I have a problem and i doesn't find teh solution in the
web.

In my company have many web services clients wich need use the
CommonsHTTPSender with pivot in transport http because the compress, and a
create a new client who throw the exception "(404) not found". I change the
CommonsHTTPSender to default HTTPSender and the problem doesn't occurred.

How I can solve this problem without change the CommonsHTTPSender?

Sorry for my poor english!

client-config.wsdd

<deployment
    name="commonsHTTPConfig"
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <!-- use CommonsHTTPSender instead of the default HTTPSender -->
  <transport name="http"
pivot="java:org.apache.axis.transport.http.CommonsHTTPSender"/>
  <transport name="local"
pivot="java:org.apache.axis.transport.local.LocalSender"/>
  <transport name="java"
pivot="java:org.apache.axis.transport.java.JavaSender"/>
</deployment>

Exception:

AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)Not Found
 faultActor:
 faultNode:
 faultDetail:
        {}:return code:  404
The resource you are looking for has been removed, had its name changed, or
is temporarily unavailable.
        {http://xml.apache.org/axis/}HttpErrorCode:404

(404)Not Found
        at
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:219)
        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2796)
        at org.apache.axis.client.Call.invoke(Call.java:2778)
        at org.apache.axis.client.Call.invoke(Call.java:2451)
        at org.apache.axis.client.Call.invoke(Call.java:2372)
        at org.apache.axis.client.Call.invoke(Call.java:1812)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message