in reply to Re: SOAP::Transport::HTTP::Client::send_receive: 500 Can't connect to testproxy:8080
in thread SOAP::Transport::HTTP::Client::send_receive: 500 Can't connect to testproxy:8080
We are receiving below error when we run script 500 handshakefailed at soap_connection.pl line 18. Could you please help on this error.#!/usr/bin/perl -w use SOAP::Lite; use Data::Dumper; use Getopt::Long; use strict; use warnings; $ENV{https_proxy} = "http://myproxy.com:8080"; $ENV{HTTPS_PROXY} = "http://myproxy.com:8080"; sub SOAP::Transport::HTTP::Client::get_basic_credentials { return "k2soap" => "REDACTED"; #PROD } my $soap = SOAP::Lite -> proxy('https://usr_soap:pwd_soap@swe.service- +now.com/change_request.do?SOAP'); my $method = SOAP::Data->name('getRecords') ->attr({xmlns => 'https:// +www.service-now.com/'}); my @params = ( SOAP::Data->name(number => $ARGV[0]) ); print "Searching for Change Request... $soap and $method\n"; my $result = $soap->call($method => @params);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: SOAP::Transport::HTTP::Client::send_receive: 500 Can't connect to testproxy:8080
by NetWallah (Canon) on Jun 13, 2018 at 20:45 UTC | |
by Anonymous Monk on Jun 16, 2018 at 22:47 UTC |