[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Invalid Header Name



Thomas,

The one difference I find between the headers in soapUI and HTTP API are in the POST statement

In soapUI the POST statement shows:   https://www.truck-pc.net/WebServices/FleetWatcher/Reports/V1_9/ReportsService.asmx HTTP/1.1

In the HTTP API debug log, the POST statement shows: /WebServices/FleetWatcher/Reports/V1_9/ReportsService.asmx HTTP/1.1
The main portion of the URL is missing.

I've attached copies of the soapUI raw xml, httpapi_debug, and my program. 

I can copy and paste the soap request from my program directly into soapUI and it will work correctly. 

If anybody can shed some light on this, it would be greatly appreciated.

Karl

-----Original Message-----
From: thomas.raddatz@xxxxxx [mailto:thomas.raddatz@xxxxxx] 
Sent: Thursday, June 04, 2009 12:46 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Invalid Header Name



Karl,

I assume that the problem does not have anything to do with the actual
request data but is related to the HTTP headers. Please try to figure out
the differences between the HTTP headers sent by soapUI and HTTP API. HTTP
headers are for example:

   User-Agent: http-api/1.21
   Content-Type: text/xml; charset=utf-8
   Expect: 100-continue

Thomas


ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 03.06.2009 17:27:25:

> I'm trying to consume a new web service that my company has produced
> and I'm having problems with the header information. When I process
> the request in soapUI, I get the data. When I process the request
> via HTTPAPI, I get an Invalid Header Name error.
>
> The first attachment (soapUI) shows the request as processed in
> soapUI (obviously).
> The second attachment (debug) is from the httpapi_debug log file. I
> formatted the soap request in this file to look like the soapUI
> request just for comparison.
> The third attachment (geteodroll) is the program.
>
> As far as I can tell, the HTTPAPI request should work. Any guidance
> would be appreciated.
>
>
> Karl B. Woods
> Sr. Programmer/Analyst
> Professional Services
> 1960 S. Milestone Dr., Ste B
> Salt Lake City, UT 84104
> Tel: (801) 433-9426 (office)
> Fax: (801) 478-2775
> E-mail:  karl.woods@xxxxxxxxxxxxxx
>                                                                                     

> This e-mail contains proprietary information and may be
> confidential. If you are not the intended recipient of this e-mail,
> you are hereby notified that any dissemination, distribution or
> copying of this message is strictly prohibited. If you received this
> message in error, please delete it immediately.
>
>
> ---------------------------
> [Anhang "soapUI.txt" gelöscht von Thomas Raddatz/GfD/DE] [Anhang
> "debug.txt" gelöscht von Thomas Raddatz/GfD/DE] [Anhang "geteodroll.
> txt" gelöscht von Thomas Raddatz/GfD/DE]
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------


--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

Attachment: soapUI.rtf
Description: soapUI.rtf

Attachment: httpapi_debug.rtf
Description: httpapi_debug.rtf

Attachment: geteodroll.rtf
Description: geteodroll.rtf

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------