0
I’m trying to connect to a web-service using Soapclient, all via it requires user and password for such connection. follows the way I am trying to connect:
$wsdl = "XXXXXXXXXXXXXX?WSDL";
$options = array(
"login" => $username,
"password" => $password,
"authentication" => SOAP_AUTHENTICATION_BASIC,
"location" => 'XXXXXXXXXXXXXX',
"trace" => true,
"exceptions" => 0,
"cache_wsdl" => WSDL_CACHE_NONE);
$soapClient = new SoapClient($wsdl, $options);
To make requests on Laravel, I recommend using the guzzle and not
SoapClient()
– Erlon Charles
@Erloncharles recommends some website or documentation!?
– Carlos Eduardo
If the guzzle is not already installed in your Lockbox you can just import the package and use standard documentation, bundle => https://github.com/guzzle/guzzle documentation => http://guzzlephp.org/
– Erlon Charles
@Erloncharles we tried with the guzzle, it apparently of success, however I cannot access the methods, apparently it lacks a file (.xsd) in the request
– Carlos Eduardo