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 Marc Gumpinger <mc...@yahoo.de> on 2006/01/14 00:55:16 UTC
[Axis 1.3] Error 501 connecting thru (Squid) proxy
Hi all,
we successfully use Axis 1.3 in our Java application running both on
Java 1.4 and 1.5 to communicate to a certain server.
However, when connecting thru a proxy, we keep on getting a "(501)Not
Implemented" error from the proxy.
We've configured the proxy settings using the http.proxyHost and
http.proxyPort System properties. We are using attachments, although
the error already occurs with the very first login transaction that
doesn't send any attachment.
We've tested it with two different proxies (both were Squids) and got
the same error message. Please find the proxy's message and a stack
trace below. The connection to the proxy is obviously established,
but the proxy doesn't seem to like what it's getting.
Can anybody help us bring light to this problem?
Regards
Marc
2006-01-13 14:31:09,196 ERROR Failed to authenticate
(net.gumpinger.digiflow.client.Client.serverAuthenticate:639)
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (501)Not Implemented
faultActor:
faultNode:
faultDetail:
{}:return code: 501
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//
EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</
TITLE>
<STYLE type="text/css"><!--BODY{background-
color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-
serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to retrieve the URL:
<A HREF="<URL>"><URL></A>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Unsupported Request Method and Protocol
</STRONG>
</UL>
<P>
Squid does not support all request methods for all access protocols.
For example, you can not POST a Gopher request.
<P>Your cache administrator is <A
HREF="mailto:root">root</A>.
<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Fri, 13 Jan 2006 13:31:10 GMT by <URL> (squid/2.5.STABLE11)
</ADDRESS>
</BODY></HTML>
{http://xml.apache.org/axis/}HttpErrorCode:501
(501)Not Implemented
at org.apache.axis.transport.http.CommonsHTTPSender.invoke
(CommonsHTTPSender.java:218)
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:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
... rest omitted
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de