Server requires line like
Authorization: Basic cG9NdW46cGFzc3dcciW=
to be present in the header.
--
regards, Victor
Set HTTPRio.HTTPWebNode.UserName and .Password. Ensure your server is set
up for basic authentication.
--
Deepak Shenoy [TeamB]
Agni Software
http://www.agnisoft.com
>> How can I configure HTTPRIO component to send username/password to
>> server ?
DST> Set HTTPRio.HTTPWebNode.UserName and .Password. Ensure your server
DST> is set up for basic authentication.
Did you test it ?
I set UserName and password properties, but authorization line do not appear
in the http header, I can see it with tcpTrace. I think these properties are
proxy login/password and do not affect message header.
Server is configured properly, I can connect to it from my Java client
(tcpTrace shows me correct header with authorization line).
--
regards, Victor
> Did you test it ?
Yes, I removed "anonymous access" and I managed to get a basic
authentication going (I saw the "Basic:..." header)
> I set UserName and password properties, but authorization line do not
> appear in the http header, I can see it with tcpTrace. I think these
> properties are proxy login/password and do not affect message header.
Nope they're even there for regular web pages. This uses WinInet - you can
see in SOAPHTTP.pas (I think) where there's the InternetOpen and
InternetConnect calls.
> Server is configured properly, I can connect to it from my Java client
> (tcpTrace shows me correct header with authorization line).
Can you remove anonymous access? Btw, is the server IIS?