[DUG] web service

James Sugrue jamessugrue at xtra.co.nz
Wed Sep 14 12:59:08 NZST 2005


Does the 

username:password at http://localhost/Service 

notation work ?

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Leigh Wanstead
Sent: Wednesday, 14 September 2005 12:47 p.m.
To: delphi at ns3.123.co.nz
Subject: [DUG] web service

Hello everyone,

I use THTTPRIO and here is the test code.

var
  varHTTPRIO: THTTPRIO;
begin
  varHTTPRIO := THTTPRIO.Create(nil);
  try
    varHTTPRIO.URL := 'http://localhost/Service';
    (varHTTPRIO as ServiceWS).hello('');
  finally
    FreeAndNil(varHTTPRIO);
  end;
end;

May I ask how to supply user name and password without bring Windows login
dialog?

TIA

Regards
Leigh


_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi




More information about the Delphi mailing list