【发布时间】:2023-03-25 22:42:01
【问题描述】:
我要登录 Soap API 服务 URL https://88.255.136.99:83/service.svc/service?wsdl
我使用 PHP 类 https://gist.github.com/tschoffelen/6211278
我选择 PasswordText 返回码:
检查用户读取错误 = 用户名或密码无效
用户名和密码正确。
我无法登录服务。
有c#登录
ServiceClient web = newServiceClient("WsSecured");
web.ClientCredentials.UserName.UserName = “kullanıcı adı”;
web.ClientCredentials.UserName.Password = “kullanıcı şifre”;
web.Open();
System.Net.ServicePointManager.ServerCertificateValidationCallback =((sender, certificate, chain, sslPolicyErrors) => true);
【问题讨论】:
标签: php soap service authorization