laravel-soap
laravel-soap copied to clipboard
Wrong Version - Version Mismatch laravel Soap vs PHP SoapClient
Bellow code with laravel-soap:
$client = Soap::baseWsdl($url)
->withOptions([
'location' => $url,
'soap_version' => SOAP_1_1,
'local_cert' => storage_path('app/local_cert.pem'),
'trace' => true,
'keep_alive' => true,
'exceptions' => true,
'cache_wsdl'=> WSDL_CACHE_NONE,
]);
$response = $client->call('retrieveInfo', [
'username' => 'admin',
'password' => 'awesome',
]);
Returns: Wrong Version
Bellow code with php soapClient
$client = new \SoapClient($url, array(
'location' => $url,
'soap_version' => SOAP_1_1,
'local_cert' => storage_path('app/local_cert.pem'),
'trace' => true,
'keep_alive' => true,
'exceptions' => true,
'cache_wsdl'=> WSDL_CACHE_NONE,
));
$response = $client->__soapCall("retrieveInfo", array([
'username' => 'admin',
'password' => 'awesome',
]));
Returns: Success and works
Please tell what tests to do so i can give more details, sadly i cannot attach the Wsdl. Thank you!
Hello @cladico , thanks for posting this bug and sry for late answer. Which laravel-soap version are you using? Which php version? And which laravel version?
Hello @cladico , thanks for posting this bug and sry for late answer. Which laravel-soap version are you using? Which php version? And which laravel version?
Hello, laravel-soap: v3.0 php: v8.1.6 laravel: v9.17.0
Thats a hard one....
can you please compare dump($client->debugLastSoapRequest()); in my package with $client->__getLastRequest() with original soap client and look what is different so i probably can fix it?
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Laravel Soap!