SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Enabling SOAP

  1. #1
    PHP Developer W1LL's Avatar
    Join Date
    Apr 2001
    Location
    Leicester, UK
    Posts
    459
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Enabling SOAP

    I've looked all over the net and not found an answer to my problem yet. All I want to do is enable SOAP, which I was told is just uncommenting the php_soap.dll extension in php.ini. But that line isn't even in there.

    I'm running PHP 5.2.0 on Apache 2.2.

    Any step-by-step run-through would be hugely appreciated!

  2. #2
    Who turned the lights out !! Mandes's Avatar
    Join Date
    May 2005
    Location
    S.W. France
    Posts
    2,496
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Have you consulted the good book

    http://www.php.net/soap
    A Little Knowledge Is A Very Dangerous Thing.......
    That Makes Me A Lethal Weapon !!!!!!!!

    Contract PHP Programming

  3. #3
    PHP Developer W1LL's Avatar
    Join Date
    Apr 2001
    Location
    Leicester, UK
    Posts
    459
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's all well and good but nothing gives a simple solution to installing it.

  4. #4
    PHP Developer W1LL's Avatar
    Join Date
    Apr 2001
    Location
    Leicester, UK
    Posts
    459
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right I've sorted it. Just had to add the line "extension=php_soap.dll" in the php.ini. But now I have a new problem. I get 3 errors when I run it:

    Notice: SoapClient::SoapClient() [function.SoapClient-SoapClient]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in C:\...\orangesoapclient.php on line 28

    Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: I/O warning : failed to load external entity "https://m2mconnect.orange.co.uk/orange-soap/services/MessageServiceByCountry?wsdl" in C:\...\orangesoapclient.php on line 28

    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://m2mconnect.orange.co.uk/orange-soap/services/MessageServiceByCountry?wsdl' in C:\...\orangesoapclient.php on line 28

    Line 27: $wsdl 'https://m2mconnect.orange.co.uk/orange-soap/services/MessageServiceByCountry?wsdl';
    Line 28: $client = new SoapClient($wsdl, array('trace' => 1, 'exceptions' => 0));

  5. #5
    PHP Developer W1LL's Avatar
    Join Date
    Apr 2001
    Location
    Leicester, UK
    Posts
    459
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Forget that last one, found the error on my own. Just needed to uncomment the openssl extension in php.ini.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •