You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "P.N." <pe...@gmx.de> on 2009/11/20 11:47:04 UTC

Cannot run axis2 client (error 501)

Hello!

When trying to connect to an axis-service (old axis version!) from an 
axis2-client I'm always getting the following error:


org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented
         at 
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:295)
         at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
         at 
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
         at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:389)
         at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:222)
         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
         at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
         at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
         at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)


What might be the cause for this?
Is it possible to get the full http messages?

Kind regards

Peter


Re: Cannot run axis2 client (error 501)

Posted by Amila Suriarachchi <am...@gmail.com>.
On Fri, Nov 20, 2009 at 4:17 PM, P.N. <pe...@gmx.de> wrote:

>
> Hello!
>
> When trying to connect to an axis-service (old axis version!) from an
> axis2-client I'm always getting the following error:
>
>
> org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented
>        at
> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:295)
>        at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
>        at
> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
>        at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:389)
>        at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:222)
>        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
>        at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>        at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>        at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>
>
> What might be the cause for this?
> Is it possible to get the full http messages?
>

use[1] to compare the request/response messages with new/old axis versions.

thanks,
Amila.

[1] http://ws.apache.org/commons/tcpmon/download.cgi

>
> Kind regards
>
> Peter
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Cannot run axis2 client (error 501)

Posted by Chinmoy Chakraborty <cc...@gmail.com>.
I guess you need to upgrade server side implementation to axis2 also.




On Fri, Nov 20, 2009 at 4:17 PM, P.N. <pe...@gmx.de> wrote:

>
> Hello!
>
> When trying to connect to an axis-service (old axis version!) from an
> axis2-client I'm always getting the following error:
>
>
> org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented
>        at
> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:295)
>        at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
>        at
> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
>        at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:389)
>        at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:222)
>        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
>        at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>        at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>        at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>
>
> What might be the cause for this?
> Is it possible to get the full http messages?
>
> Kind regards
>
> Peter
>
>