By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,780 Members | 1,520 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,780 IT Pros & Developers. It's quick & easy.

PHP5 SOAP and https

P: n/a
Hello

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
{main} thrown in f:\www\gxml\zapyt.php on line 12

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

Marcin

Dec 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You have to get a PHP version with SSL support built-in.

Dec 15 '05 #2

P: n/a
C.
Or use a tunneling proxy like stunnel.

C.

Dec 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.