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
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//
EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;&lt;META HTTP-EQUIV=&quot;Content-Type&quot;
CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;TITLE&gt;ERROR: The requested URL could not be retrieved&lt;/
TITLE&gt;
&lt;STYLE type=&quot;text/css&quot;&gt;&lt;!--BODY{background-
color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-
serif}--&gt;&lt;/STYLE&gt;
&lt;/HEAD&gt;&lt;BODY&gt;
&lt;H1&gt;ERROR&lt;/H1&gt;
&lt;H2&gt;The requested URL could not be retrieved&lt;/H2&gt;
&lt;HR noshade size=&quot;1px&quot;&gt;
&lt;P&gt;
While trying to retrieve the URL:
&lt;A HREF=&quot;<URL>&quot;&gt;<URL>&lt;/A&gt;
&lt;P&gt;
The following error was encountered:
&lt;UL&gt;
&lt;LI&gt;
&lt;STRONG&gt;
Unsupported Request Method and Protocol
&lt;/STRONG&gt;
&lt;/UL&gt;

&lt;P&gt;
Squid does not support all request methods for all access protocols.
For example, you can not POST a Gopher request.
&lt;P&gt;Your cache administrator is &lt;A
HREF=&quot;mailto:root&quot;&gt;root&lt;/A&gt;.

&lt;BR clear=&quot;all&quot;&gt;
&lt;HR noshade size=&quot;1px&quot;&gt;
&lt;ADDRESS&gt;
Generated Fri, 13 Jan 2006 13:31:10 GMT by <URL> (squid/2.5.STABLE11)
&lt;/ADDRESS&gt;
&lt;/BODY&gt;&lt;/HTML&gt;

	{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