PHP5 SOAP and https

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • administrator@intercamp.pl

    #1

    PHP5 SOAP and https

    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::__d oRequest() [function.--doRequest]: Unable to
    find the wrapper "https" - did you forget to enable it when you
    configured PHP? in f:\www\gxml\zap yt.php on line 12

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

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

    Marcin

  • Sjoerd

    #2
    Re: PHP5 SOAP and https

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

    Comment

    • C.

      #3
      Re: PHP5 SOAP and https

      Or use a tunneling proxy like stunnel.

      C.

      Comment

      Working...