mrkeck Sharing the Love

24Mar/110

soapUI

Sometimes I have trouble with connectivity using nuSoap so to ensure it's the connection and not my program's issue I use soapUI.
http://www.eviware.com/soapUI/gallery.html

Filed under: PHP, SOAP No Comments
23Mar/111

nuSoap https ssl – working

Worked fine with http.  For security we switched to https.

By just changing it to https I got this error:

Error:

1
HTTP Error: cURL ERROR: 35: error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected message

Fix:

nusoap.php,v 1.123 2010/04/26 20:15:08:

2473
2474
2475
2476
2477
2478
2479
if ($this->scheme == 'https') {
$this->debug('set cURL SSL verify options');
$this->setCurlOption(CURLOPT_SSL_VERIFYPEER, 0);
$this->setCurlOption(CURLOPT_SSL_VERIFYHOST, 0);
/*********Below is what needed to be added********/
$this->setCurlOption(CURLOPT_SSLVERSION, 3);
...

And that was it! Thankfully!

I am relatively new to SOAP so I wasn't sure if the errors were from my incompetence or something else.

After 10 hours I got it to work!

I had a certificate but did not need to use it

Tagged as: , , 1 Comment
7Feb/110

nuSoap

nuSoap did not work when I had the php_soap extension installed. It said "Failed to open stream," which I thought meant it couldn't find the server but I think it was confused.

It looks like they both use the soapclient function name.

I believe you can use nuSoap while php_soap is on but you will need to use nusoap_client instead of soapclient with some slight option changes

Filed under: PHP, SOAP No Comments