在Laravel中提出肥皂请求

时间:2018-10-17 15:45:45

标签: laravel soap-client laravel-5.6

我有以下肥皂要求: http://aw.connectpoint.uat.radixx.com/ConnectPoint.Security.svc

这是singleWsdl文件: http://aw.connectpoint.uat.radixx.com/ConnectPoint.Security.svc?singleWsdl

现在,我试图使用方法RetrieveSecurityToken从laravel应用中调用服务。

我下载了此软件包: https://github.com/artisaninweb/laravel-soap

这是我的代码:

$this->soapWrapper->add('ConnectPoint_Security', function ($service) {
            $service
                ->wsdl('http://aw.connectpoint.uat.radixx.com/ConnectPoint.Security.svc?wsdl')
                ->trace(true);
        });

        $response = $this->soapWrapper->call('ConnectPoint_Security.RetrieveSecurityToken', [
                "LogonID" => "xxxxxx",
                "Password" => "xxxxxx"
        ]);

       \Log::info($response);

但是,当我运行它时,会收到以下响应: enter image description here

0 个答案:

没有答案