How to use Php with Soap and WSDL to connect with a servers https wsdl connection
Posted on 2011-02-28
I am trying to connect to an external organizations server with our soap client in php using soap. Our php soap client was working fine in the servers qa environment but is not working in production. Tried using the local_cert option but still the error mentions Couldn't load from 'https://xyz.com/CondBasedMaintWS/SampleResultSendWSService?WSDL' : failed to load external entity "https://xyz.com/CondBasedMaintWS/SampleResultSendWSService?WSDL"
We did the entire testing in qa environment and now when the code has been moved to production by the external organization, we are unable to connect to their wsdl. Also, I am not sure how to retrieve their certificate .The link that they gave for the certificate i tried to acquire through
openssl s_client -connect https://xyz.com/monitor.html> scert.pem
and it gave me the following error
getaddrinfo: Servname not supported for ai_socktype
We can also use Zend if some body can point to a specific Zend framework example. Thank you.