Forum Discussion
SOAP HTTP Monitor - HTTP Error 400. The request has an invalid header name.
Thanks Kevin,
I followed your advice about using curl. It's working now, more or less....
I now get the string that I am looking for: < ConversionRateResult >0< /ConversionRateResult >
However now get a code 200 OK followed by a 400 error, so something still not perfect but the test is working.
The final version of this string is:
POST /CurrencyConvertor.asmx HTTP/1.1\r\nHost: 173.201.44.188\r\nAccept: */*\r\nContent-Length: 299\r\nContent-Type: text/xml;charset=UTF-8\r\n\r\nEURAFA
The Wireshark output is now:
HTTP/1.1 200 OK Cache-Control: private, max-age=0 Content-Length: 377 Content-Type: text/xml; charset=utf-8 Server: Microsoft-IIS/7.0 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Date: Sat, 05 Oct 2013 21:58:06 GMT
< ConversionRateResult >0< /ConversionRateResult >HTTP/1.1 400 Bad Request Content-Type: text/html; charset=us-ascii Server: Microsoft-HTTPAPI/2.0 Date: Sat, 05 Oct 2013 21:58:06 GMT Connection: close Content-Length: 311
Bad Request Bad Request
HTTP Error 400. The request is badly formed.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com