enesi Posted September 22, 2009 Share Posted September 22, 2009 Hello, I'm trying to use SoapClient library to connect to wsdl source on https soap server. SOAP server use also http authentication. I try with: <?php $wsdl_uri = "https://collaudo.geniogroup.it/bbi-api/services/sisterRead?wsdl"; $client = new SoapClient($wsdl_uri, array('login' => "xx", 'password' => "yyy")); ?> but I reveice the following error: Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't find <definitions> in 'https://collaudo.geniogroup.it/bbi-api/services/sisterRead?wsdl' in /home/enesi8i/public_html/soap.php:7 Stack trace: #0 /home/enesi8i/public_html/soap.php(7): SoapClient->SoapClient('https://collaud...', Array) #1 {main} thrown in /home/enesi8i/public_html/soap.php on line 7 Perhaps I should use this syntax? $client = new SoapClient("some.wsdl", array('login' => "xx", 'password' => "yyy", 'local_cert' => "cert_key.pem")); In this case, how can I create a valide cert? Thanks for support Walter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.