[DUG] web service

Rohit Gupta r.gupta at xtra.co.nz
Wed Sep 14 13:30:36 NZST 2005


When you design the webservice end, you build in the username and 
password to each function as its a stateless beast.  So your call will 
be hello (username, password,arguments).  And you handle the username 
and password yourself.

If you are talking about the initial access to the webservice, that is 
controlled by the IIS (etc) running on that server.  That is, its a 
windows access issue.  Either you use Certificates to control access or 
you open selected ports fully or you have windows login.

Leigh Wanstead wrote:

>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