PHP5 SOAP and https

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I have a problem with Soap class in PHP5. I'm trying to connect to
webservice (I have links, login, password etc.) Wsdl file, which the
soapclient takes from webservice address forces the communication
through https (section port in wsdl). Is this connect possible with
php5 soap class ? Mabye I must install other components (for example
nuSOAP) ?

In my simple example I obtained this message:

Notice: SoapClient::__doRequest() [function.--doRequest]: Unable to
find the wrapper "https" - did you forget to enable it when you
configured PHP? in f:\www\gxml\zapyt.php on line 12

Fatal error: Uncaught SoapFault exception: [HTTP] SSL support is not
available in this build in f:\www\gxml\zapyt.php:12 Stack trace: #0
[internal function]: SoapClient->__doRequest('<?xml version="...',
'https://ws....', 'http://webservi...', 1) #1
f:\www\gxml\zapyt.php(12): SoapClient->__call('SubmitXml', Array) #2
thrown in f:\www\gxml\zapyt.php on line 12

Please, help me - what do I have to do?


Re: PHP5 SOAP and https

You have to get a PHP version with SSL support built-in.

Re: PHP5 SOAP and https

Or use a tunneling proxy like stunnel.


Site Timeline