I have a web service client created with DELPHI XE 5, i used THTTPRIO, imported wsdl and created the ".pas" files. The server of web service request a preemptive basic authentication (that work fine with SoapUI); I know how to make authentication with user and password of THTTPReqResp.
rio := THTTPRIO.Create(nil);
HTTPReqResp1 := THTTPReqResp.Create(rio);
HTTPReqResp1.UserName := sUserName;
HTTPReqResp1.Password := sPasswordEncrypted;
But I don't connect to the web service because I don't know ho to make preemptive and if it's possible in Delphi.
Can anyone help me ? :)