473,413 Members | 1,799 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,413 software developers and data experts.

Service Client Receives "Bad Request (Invalid Header Name)" Respon

I have written a Web Service that works with my test harness written using
VS2005. However, a client to the service consistently receives a "Bad
Request (Invalid Header Name)" response for each request. He is using
another development environment that requires that he create the actual
request via multiple calls to a library to construct the request. I have
sniffed the traffic from my harness program and the requests look like the
following:

POST /TotalService/POSService.asmx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 2.0.50727.1433)
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.coltpos.com/TotalService/ExecuteBasic"
Host: www.coltpos.com
Content-Length: 1126
Expect: 100-continue
Connection: Keep-Alive

HTTP/1.1 100 Continue
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Aug 18 '08 #1
1 9508

"Ea******@HighFlyingBirds.com"
<Ea************************@discussions.microsoft. comwrote in message
news:EF**********************************@microsof t.com...

<snipped>
>
His responses are:

HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Mon, 18 Aug 2008 11:21:45 GMT
Connection: close
Content-Length: 42

<h1>Bad Request (Invalid Header Name)</h1>
http://support.microsoft.com/kb/828726

Maybe, you need to start looking at the raw HTML/data that's being sent.
Aug 19 '08 #2

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

Similar topics

2
by: Michael Schutte | last post by:
I know, questions about Tkinter and threads have been answered very often, but I want to ask anyway. I am using Python 2.2 on a Linux (SuSE Linux 8.1) system. I want to write a server application;...
1
by: wiredog | last post by:
When I try to add the line . . . CPM * MOU AS COST, after all the CASE lines I get the response in SQL Query Analyser, Server: Msg 207, Level 16, State 3, Line 1 Invalid column name 'CPM'....
0
by: Hardy Wang | last post by:
Hi, I have an application which encrypts some certian link to format like:...
2
by: Antanas | last post by:
I applied FP9a on top DB2 UDB 8 FP8. Now I notice in Control Center to get this error: CLI0611E Invalid column name. SQLSTATE=S0022 when I slelect any table then Show Related->Tables Spaces. Is...
0
by: darrel | last post by:
I asked about this yesterday, but, alas, haven't made much headway. The situation: I have two SQL queries for deleting a record from my database. Each one deletes a record out of a different...
1
by: Gregor Horvath | last post by:
Hi, I searched the web and docs but cannot figure out whats wrong with this code: #!/usr/bin/python import Tkinter as Tk class testtk(Tk.Frame):
0
tharini
by: tharini | last post by:
Whenever i run my SMS API code,am getting the error " Bad Request HTTP Error 400.The Request is badly formed". When i store a particular mobile number in database and send sms to that mobile no.,the...
1
by: lakshmisudha | last post by:
"Invalid column name 'ExecStopDT'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
1
by: Nivedita Ambast | last post by:
I am creating a web apllication in asp(C#) on online leave management system. In a web page i created a gridview with linked button with text as "EMP_ID". On clicking to any id i want to get the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.