RE: Problems with https vs http on soap request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry... I also meant to mention it works ok from within a php script like this:

<?php
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, "https://ws.cdyne.com/ip2geo/ip2geo.asmx?wsdl";);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        $output = curl_exec($ch);
        var_dump($output);
        curl_close($ch);
?>

I get the expected response with either http or https.

-----Original Message-----
From: Don O'Neil [mailto:lists@lizardhill.com] 
Sent: Tuesday, February 02, 2016 12:27 PM
To: 'Peter Brunnengräber' <pbrunnen@bccglobal.com>; soap@lists.php.net
Subject: RE:  Problems with https vs http on soap request

Yes... a simple curl statement from the CLI opens the https site ok without any problems;

curl 'https://ws.cdyne.com/ip2geo/ip2geo.asmx?wsdl'

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:tns="http://ws.cdyne.com/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; targetNamespace="http://ws.cdyne.com/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
.......

Any other ideas?

-----Original Message-----
From: Peter Brunnengräber [mailto:pbrunnen@bccglobal.com]
Sent: Tuesday, February 02, 2016 12:22 PM
To: Don O'Neil <lists@lizardhill.com>
Subject: Re:  Problems with https vs http on soap request

Hi Don,
  Did you look at Darko's response yet?   I would next try to load the page using curl in PHP without the SOAP side of thing yet and see what happens.

  See> http://php.net/manual/en/curl.examples.php


-With kind regards,
 Peter Brunnengräber


----- Original Message -----
From: "Don O'Neil" <lists@lizardhill.com>
To: "Peter Brunnengräber" <pbrunnen@bccglobal.com>, soap@lists.php.net
Sent: Tuesday, February 2, 2016 3:15:01 PM
Subject: RE:  Problems with https vs http on soap request

I verified that I can indeed get there ok with a wget statement. I get the same correctly expected results from a wget using http or https.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


--
PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux