In the meanwhile, can't you manually add the host header using setRequestHeader function:
ReturnCode = setRequestHeader(RequestHandle,'host','www.host.com') ReturnCode 0 - Success 1 - invalid request handle 2 - Invalid header (incompatible with method) 3 - Invalid header value -- from the Ud7.1 Basic Reference Manual Syntax setRequestHeader(request_handle, header_name, header_value) Note: This function is case-sensitive. If you want it to be case-insensitive, you must compile your programs using the BASIC command with the -i option. Description The setRequestHeader function allows the user to set additional headers for a request. Parameters The following table describes each parameter of the syntax. The following table describes the status of each return code. Parameter / Description request_handle The handle to the request returned by createRequest(). header_name The name of the header. header_value The value of the header. > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Wally Terhune > Sent: Tuesday, July 27, 2010 11:41 AM > To: U2 Users List > Subject: Re: [U2] SOAP Submission Issues > > Not my area of expertise, but I wonder if this issue from the 7.2.6 > readme applies: > > Issue 12972 - Problem Description > > UniBasic -- Prior to this release, a secure CallHTTP (https), or > Secure SOAP connection through a proxy server failed with HTTP > error 400. The secure HTTP request to the proxy did not comply > with RFC 2616, as the 'Host" header was missing. With protocol > logging enabled, a message similar to the following example appeared > in the U2 Protocol Log: > > CONNECT xxxxxxx.com:443 thru proxy... > Error writing socket in proxy_connect() > Error making proxy CONNECT > > If you enabled proxy-side logging, a message similar to the > following example appeared in the Proxy error log: > > client sent HTTP/1.1 request without hostname > (see RFC2616 section 14.23): > > The header has been added to the HTTP CONNECT method when > > Wally Terhune > U2 Support Architect > Rocket Software > 4700 S. Syracuse Street, Suite 400 **Denver, CO 80237 **USA > Tel: +1.720.475.8055 > Email: wterh...@rs.com > Web: www.rocketsoftware.com/u2 > > > > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Steve Long > Sent: Monday, July 26, 2010 11:29 PM > To: u2-users@listserver.u2ug.org > Subject: [U2] SOAP Submission Issues > > Hi all - > > > > I have a client that I have done some work submitting SOAP requests to > existing web services for utilization in their application. I have > never had a problem before and submissions have been reliable until > now. > > > > > I have run into an issue with one particular web service where it is > reporting an invalid hostname is being submitted. I have enabled > Protocol Logging and per the logs, the host is being set to what their > web service expects, but when they receive it, it is not in the > submission parameters where they expect it. They say the expected info > is formatted like this: > > > > POST /ws/service.asmx HTTP/1.1 > > Accept-Encoding: gzip,deflate > > Content-Type: > application/soap+xml;charset=UTF- > 8;action="urn:webService/webServiceCall > > User-Agent: Jakarta Commons-HttpClient/3.1 > > Host: webservice.server.com > > Content-Length: 1692 > > > > What is actually being submitted is: > > > > POST /ws/service.asmx HTTP/1.0 > > Date: Tue, 27 Jul 2010 05:13:12 GMT > > SOAPAction: urn:webService/webServiceCall > > User-Agent: UniData 7.1.x > > Content-Type: text/xml; charset=utf-8 > > Content-Length: 1623 > > > > Notice the missing Host (among other differences). According to the > web > service, if I include the Host statement, it will work. I have tested > from a SOAP testing app and it does construct it with the Host > statement > in place, and it does indeed work. > > > > Nothing I have tried has enabled me to get past this. Has anyone > encountered this or have an suggestions for me to try to get this > working? > > > > Thanks, > > > > Steve Long > > > > Spyderweb Techincal Services, Inc. > > (360) 687-8797 Office > > (866) 354-5913 Fax > > www.spyderwebtech.net > > > > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users