PHP Soap WS安全授权 - 我无法登录

时间:2016-10-08 20:05:40

标签: php soap service authorization

我想登录Soap API服务网址https://88.255.136.99:83/service.svc/service?wsdl

我使用PHP Class https://gist.github.com/tschoffelen/6211278

我选择PasswordText返回代码:

  

检查用户读取错误=用户名或密码无效

     

用户名和密码正确无误。

我无法登录服务。

有c#login

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);

1 个答案:

答案 0 :(得分:0)

我解决了我的登录数据错误:)