Hi,
I am having problems with the proxy settings, cuz of that i am not able to
execute xmethods or other
web services.
This is the authentication error i am getting
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response
content type "text/html", must
be: "text/xml". Response was:
<html><head><title>Error 407</title>
<meta name="robots" content="noindex">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1"></head>
<body>
<h2>HTTP Error 407</h2>
<p><strong>407 Proxy Authentication Required</strong></p>
<p>You must authenticate with a proxy server before this request can be
serviced. Please log on to
your proxy server, and then try again.</p>
<p>Please contact the Web server's administrator if this problem
persists.</p>
</body></html>
]
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response
content type "text/html", must
be: "text/xml". Response was:
<html><head><title>Error 407</title>
<meta name="robots" content="noindex">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1"></head>
<body>
<h2>HTTP Error 407</h2>
i am behind my office firewall and using proxy to access net. I even added
these lines of code to my
client
org.apache.soap.transport.http.SOAPHTTPConnection conn = new
org.apache.soap.transport.http.SOAPHTTPConnection();
conn.setProxyHost("xxx-proxy");
conn.setProxyPort(80);
conn.setProxyUserName("userName");
conn.setProxyPassword("passWrd");