Hi all
Can anyone help with a simple query please? How do I get XML::LibXML to work over https? Cannot see anything in the module's docs that describes it. The WSDL is available via a browser on both http and https and has been proven.
eg: This works using http
But with the protocol https it fails with "Could not create file parser context for file "https://my.server.net/callback?wsdl": No such file or directory at...use strict; use warnings; use XML::Compile::WSDL11; # use WSDL version 1.1 use XML::Compile::SOAP11; # use SOAP version 1.1 use XML::Compile::SOAP::WSS; use XML::Compile::Transport::SOAPHTTP; use Data::Dumper; # WSDL URL location and method my $wsdlURL = 'http://my.server.net/callback?wsdl'; my $method = 'UpdateStatus'; # Retrieve WSDL my $wsdlXML = XML::LibXML->new->parse_file($wsdlURL);
use strict; use warnings; use XML::Compile::WSDL11; # use WSDL version 1.1 use XML::Compile::SOAP11; # use SOAP version 1.1 use XML::Compile::SOAP::WSS; use XML::Compile::Transport::SOAPHTTP; use Data::Dumper; # WSDL URL location and method my $wsdlURL = 'https://my.server.net/callback?wsdl'; my $method = 'UpdateStatus'; # Retrieve WSDL my $wsdlXML = XML::LibXML->new->parse_file($wsdlURL);
In reply to XML::LibXML https by agentorange
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |