RE: [SOAP] Problems with https vs http on soap request
[email protected] ("Don O'Neil") Tue, 2 Feb 2016 12:43:01 -0800
| Newsgroups | php.soap |
|---|---|
| Message-ID | <[email protected]> |
Sorry... I also meant to mention it works ok from within a php script like =
this:
<?php
$ch =3D curl_init();
curl_setopt($ch, CURLOPT_URL, "https://ws.cdyne.com/ip2geo/ip2geo.a=
smx?wsdl");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output =3D 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:[email protected]]
Sent: Tuesday, February 02, 2016 12:27 PM
To: 'Peter Brunnengr=C3=A4ber' <[email protected]>; [email protected]=
Subject: RE: [SOAP] 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=3D"1.0" encoding=3D"utf-8"?>
<wsdl:definitions xmlns:s=3D"http://www.w3.org/2001/XMLSchema" xmlns:soap12=
=3D"http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http=3D"http://schemas.x=
mlsoap.org/wsdl/http/" xmlns:mime=3D"http://schemas.xmlsoap.org/wsdl/mime/"=
xmlns:tns=3D"http://ws.cdyne.com/" xmlns:soap=3D"http://schemas.xmlsoap.or=
g/wsdl/soap/" xmlns:tm=3D"http://microsoft.com/wsdl/mime/textMatching/" xml=
ns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/" targetNamespace=3D=
"http://ws.cdyne.com/" xmlns:wsdl=3D"http://schemas.xmlsoap.org/wsdl/">
=2E......
Any other ideas?
-----Original Message-----
From: Peter Brunnengr=C3=A4ber [mailto:[email protected]]
Sent: Tuesday, February 02, 2016 12:22 PM
To: Don O'Neil <[email protected]>
Subject: Re: [SOAP] 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=C3=A4ber
----- Original Message -----
From: "Don O'Neil" <[email protected]>
To: "Peter Brunnengr=C3=A4ber" <[email protected]>, [email protected]=
Sent: Tuesday, February 2, 2016 3:15:01 PM
Subject: RE: [SOAP] 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://w=
ww.php.net/unsub.php
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus