consuming web service with authentication allways give message Authentication required

后端 未结 2 1997
情书的邮戳
情书的邮戳 2020-12-21 01:19

I try to use consume one web service with Delphi 2010. This web service is on port 8000 with authentication.

I implement the

function TForm4.EncodeL         


        
2条回答
  •  粉色の甜心
    2020-12-21 02:17

    For Basic Authentication this should work:

    Basic Authentication in Delphi 7 SOAP

    As explained in this post, newer versions of Delphi also allow to use

    HTTPRio.HTTPWebNode.UserName := Username;
    HTTPRio.HTTPWebNode.Password := Password;
    

提交回复
热议问题