tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31567] - 505 request error from .NET client
Date Thu, 07 Oct 2004 10:18:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31567>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31567

505 request error  from .NET client





------- Additional Comments From pedrow@go2.pl  2004-10-07 10:18 -------
I found out that the problem is with first request from .NET soap client.
After this first request following ones are okay because they don't contain
first part which doesn't have user credantials. I never had this problem with
same client but with Tomcats 4.x.

First shot contains actually two requests this is the trace of those requests:

POST /axis/services/Version HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol
1.1.4322.573)
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 545
Expect: 100-continue
Connection: Keep-Alive
Host: 127.0.0.1

<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://127.0.0.1:8081/axis/services/Version"
xmlns:types="http://127.0.0.1:8081/axis/services/Version/encodedTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><q1:getVersion
xmlns:q1="http://axis.apache.org" /></soap:Body></soap:Envelope>POST
/axis/services/Version HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol
1.1.4322.573)
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Authorization: Basic YXBzOnRlc3Q=
Content-Length: 545
Expect: 100-continue
Host: 127.0.0.1:8081

<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://127.0.0.1:8081/axis/services/Version"
xmlns:types="http://127.0.0.1:8081/axis/services/Version/encodedTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><q1:getVersion
xmlns:q1="http://axis.apache.org" /></soap:Body></soap:Envelope>



*** Below is trace of response from server that I get using telnet *********



HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="APS Webservices"
Content-Type: text/html;charset=utf-8
Content-Length: 954
Date: Thu, 07 Oct 2004 09:07:08 GMT
Server: Apache-Coyote/1.1

<html><head><title>Apache Tomcat/5.0.28 - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 401 - </h1><HR size="1"
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
<u></u></p><p><b>description</b> <u>This request
requires HTTP authentication
().</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/5.0.28</h3></body></html>HTTP/1.1 505 HTTP Version Not Supported
Date: Thu, 07 Oct 2004 09:07:08 GMT
Server: Apache-Coyote/1.1
Connection: close

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message