473,405 Members | 2,171 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

The request failed with HTTP status 505...

I'm working with a Java Web Service (Specifically, Java, Axis on
Tomcat) and a VB.NET 1.1 client. The service is using Basic
Authentication. The code involved on my side is darned trivial:

Module Sender

Sub Main()

Dim whp As whProxy.WareHouseService

Dim resp As String

Try

whp = New whProxy.WareHouseService

whp.Credentials = New Net.NetworkCredential([hidden],
[hidden])

whp.PreAuthenticate = True

whp.Timeout = 60000

resp = whp.submitOrder([val5],[val1],[val2],[val1],[val3],
[val4])

Catch ex As Exception

Throw ex

Finally

whp.Dispose()

End Try

Console.ReadLine()

End Sub

End Module

After the invocation of submitOrder, the thread pauses a few seconds,
then follow exception raises:

The request failed with HTTP status 505: HTTP Version Not Supported.

Ugh. Using a packet sniffing program and TinyGet, I know the request
is marshalling over HTTP/1.1, which the server otherwise seems to
support. I don't believe this is an error comming from my side since
the sniffer shows good requests floating over. If I point this client
at an .NET-base version of the service, it works.

Previous research pointed at the use of the PreAuth property, but I'm
still see two requests getting generated. That behavior seems to
conflict with the doc for HttpWebRequest.PreAuth. I wonder if that
thats making the service mad at me.

My counter part is able to do some magic and the service starts
working for a while. Then we get this.

Thoughts? Suggestions? Ideas?

Thanks!

Kent Tegels

SQL Sever Express Blog (Good for FAQs): http://tinyurl.com/6r4gb

SQL Server Express BOL (The docs you need): http://tinyurl.com/4ctjx

Kent's Blog: http://www.tegels.org/
Nov 21 '05 #1
0 3902

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: turnit \(removethis\) | last post by:
I have a login form that uses the post method to carry the information to the next page. The form works just fine in ie6.0, but fails in mozilla and fails in ie5.2 on a mac. "HTTP/1.1 400 Bad...
2
by: Sachin | last post by:
Scenario: Machine A: ASP.NET Web UI IIS 6.0 Windows Server 2003 Impersonation Account: domain\Acct1 Machine B: ASP.NET Web Service IIS 6.0
1
by: Elias | last post by:
Hi, I have a project that calls a web service that is in another project, but on the same server. I make the reference to the web service using localhost (for example,...
1
by: Rachel | last post by:
I have created a simple web service in VC# that adds two numbers. It returns an integer value to the client once invoked. I used Visual Studio .NET 2003, Windows XP Pro and .NET 1.1. I created a...
4
by: Sean Feldman | last post by:
Hi, I'm expiriencing something interesting with my web service & desktop client application. When running desktop client on Windows XP or Windows 2003 everything works just fine. But when doinf...
1
by: jctwguy | last post by:
G'day all My pc is on a domain and I have a test server in a work group. all the web application and the web service are working fine locally, but when I copy the project using service extension...
0
by: Nicato | last post by:
I have a WebService build on a Java Environment which I tried to use. When I add a reference in VisualStudio 2003 I get the error "The request failed with HTTP status 400: Bad Request." Even when...
8
by: Tim Reynolds | last post by:
Our .Net application calls a web method of aplpication 2 that resides on their Apache server. When I as a developer C#, Studios 2003, make the call to their web method from my desktop, I receive no...
1
by: muradmeghani | last post by:
Hi: I have a running application built in VS2003 and using Net Framework 1.1. I recently upgraded to VS2005 and converted the project to use 2.0 Framework. My call to the web service gives me...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.