FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP SoapClient?
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
PHP SoapClient? [message #185418] Sat, 29 March 2014 22:40 Go to previous message
Kevin Burton is currently offline  Kevin Burton
Messages: 9
Registered: March 2014
Karma:
Junior Member
add to buddy list
ignore all messages by this user
I pass the following options to the SoapClient (attempting to establish an SSL connection):

$ssl_opts = array('local_cert' => $certinfo,
'verify_peer' => true);

Then merge them in with the other SoapClient parameters like 'typemap' and 'classmap'. This gives me the error that the WSDL cannot be loaded from the path. If I take this same path and feed it to a Chrome browser I get a WSDL, so the file is getting served. Also when I supply a non SSL URL (http://.. . . . . rather than https://. . . . .) to the SoapClient constructor without the SSL options everything works fine. Any ideas what will work to connect to an SSL site?

I am using PHP 5.5.10 with SOAP and OpenSSL extensions enabled.

Thank you for any help you may be able to offer.
[Message index]
 
Unread Message
Unread Message
Unread Message
Unread Message
Previous Topic: Add compiler to Page
Next Topic: Re: mysqli fetch_assoc() straight to array (-> comp.lang.php)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Oct 17 02:10:24 EDT 2017

Total time taken to generate the page: 0.00726 seconds