Nusoap gives CURL error |
Site Admin
|
you may want to contact that server maintainers and clarify what login/passwords are expected. |
||||||||||||||
_________________ The PHP IDE team |
|
Hello Dmitri,
The 10.51.0.94 server is a proxy server that gives internet acess to all other servers/pc's, and there is no login/password necessary (I am the server admin). The problem is that in the hosting server they also use proxy (to connect to websites that are not hosted with them) and the error is the same. Thank you for all your help. hort |
||||||||||||
|
Site Admin
|
curl error 35 looks like SSL peer verification has failed. How did you aquire SSL server certicates? If they are self-signed you may want to turn off CURLOPT_SSL_VERIFYPEER in curl's setopt().
additionally you may want to add CURLOPT_ERRORBUFFER and check error text returned by curl. |
||||||||||||
_________________ The PHP IDE team |
|
Hello, again,
But do I need digital certificates to connect to a https web service? I have contacted the web service provider and they say it's not requeried. So the problem must not be that one. I can not find the "CURLOPT_ERRORBUFFER" in the php manual. Thanks, hort |
||||||||||||
|
Site Admin
|
no, you do not need certificates, but certificates on the server are needed _ANYWAY_ and it's what curl checked and probably it was the reason for error 35.
I have just nothing to do with this. You may want to check with this: http://marc.theaimsgroup.com/?l=curl-and-php&m=106458588824924&w=2 |
||||||||||||||
_________________ The PHP IDE team |
|
Hello,
I have installed my own SSL certificates (done thourgh openssl), installed in apache and the same error appears.
I have changed one line in the nusoap script to
And the error how is different
The problem is that doesn't go through the proxy server.... Any more ideias? I will almost everything Thanks. |
||||||||||||||||||||
|
Site Admin
|
as far as I understand, you have PROBLEMS with your local network configuration.
I tried https://smsexpress.tmn.pt/smsexpress-webservices/glue/SubmissionManager.wsdl and Nusoap Wizard created code below:
it means that a) wsdl site works b) nusoap works and successfully parsed that wsdl c) it found sendMultiSms method and generated set of empty arguments for the sample call. |
||||||||||||||
_________________ The PHP IDE team |
|
Hi, Dmitri,
It is possible that I may have problems with my local network configuration, but files uploaded to my ISP also returns the same error. No longer have the curl error, but with your script returns Call to undefined function: sendmultisms(). I also tried a different proxy software - same mistake This is my code
A funny thing is that if I use the call function instead of sendMultiSms it returns the curl error 35. Dmitri, do you have any other ideia? |
||||||||||||||
|
Site Admin
|
it means that soap = new soapclient($wsdl,"wsdl"); has failed when you ran it. it did not fail when I run it on my machine. I think it's your local php is not configured properly or its version is too old or too new I work with php5.1.6 and 4.4.4 and neither produce any errors. It also possible that you have different nusoap library. I'd recommend you the one that comes with PhpED. |
||||||||||||||
_________________ The PHP IDE team |
Nusoap gives CURL error |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by