bachimanchi has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to get a wsdl from the webservice using the below code, but i get below error, but i can access the wsdl without any authentication from any browser on the same machine. Can someone please help how this can be resolved?

CODE:

my $soap=SOAP::WSDL->new( wsdl => 'https://XXXXXXXXX.ABC.corp:11015/secure/services/Customer/v1?wsdl' );

my $x= $soap->get_wsdl();

print $x;

ERROR Message:

"Can't connect to XXXXXXXXX.ABC.corp:11015 at line 7"

Replies are listed 'Best First'.
Re: get_wsdl https webService
by GotToBTru (Prior) on Mar 16, 2015 at 19:19 UTC

    "Can't connect" is the error. Verify url, port, firewall settings. Is there a way to enable more verbose error messages?

    Dum Spiro Spero
      the servers are hosted internally (no firewall between my machine and the server) and I can access this webservice/wsdl from my local machine without any issues, though i get warning page asking me whether or not to proceed to this wsdl page.

        Warning message may be enough to derail the process. Might need to look at the package source to determine how it would deal with such a response.

        Dum Spiro Spero