EldoS | Feel safer!

Software components for data protection, secure storage and transfer

HTTP Header wrapper issue

Posted: 03/13/2013 13:36:52
by Andre Paradis (Standard support level)
Joined: 02/14/2013
Posts: 31

I'm sending POST message to a SOAP server over HTTPS.

This an example of the HTTP header:
POST /CFOneCardServices/WcfService_DGPFSS_BizTalk_CFOneCardServices_Orchestrations.svc HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Type: text/xml;charset=UTF-8
User-Agent: Mozilla/4.0 [compatible; ICS]
Host: sirdevsvc.cfpsa.com:443
Content-Length: 595
SOAPAction: "ProcessCFOneCard"

The URL is

I get no response back for the Service until I change the "Host" parameter and remove the :443 to look like:
Host: sirdevsvc.cfpsa.com

The service seems to require a Host name without the port, it's the only way I get it to work.

You manage this Host parameter, is it normal I see the port number in it??

I'm using SecureBlackBox v9 Delphi VCL edition.
Posted: 03/13/2013 14:15:07
by Eugene Mayevski (Team)

As per RFC 2616 Host header may include the port. If the port is omitted, default port 80 is assumed. As you send request to the port different from port 80, the port value is added to the header. If the buggy server doesn't accept such form, you can modify the header in OnPreparedHeaders event handler.

Sincerely yours
Eugene Mayevski



Topic viewed 595 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!