in reply to Creating SSL socket

 [ddg://XML::Compile ssl] XML::Compile ssl -> XML::Compile::SOAP::FAQ
my $ua = LWP::UserAgent->new; # First the HTTP logic # defaults when https is used $ua->ssl_opts(verify_hostname => 0, keep_alive => 1); # Auto-use cookies $ua->cookie_jar( {file => $my_jar_file , autosave => 1, ignore_discard => 1 }); # Now, we need the SOAP logic my $trans = XML::Compile::Transport::SOAPHTTP ->new(user_agent => $ua, timeout => 10, address => $srv_url);

Replies are listed 'Best First'.
Re^2: Creating SSL socket (XML::Compile ssl)
by jdudleyh (Acolyte) on Oct 23, 2013 at 16:11 UTC

    Thanks Anonymous

    This code looks nice and easy. I believe the path to get it the rest of the way to the actual web service call is clear to me.

    I'm getting the same error as I did originally (Net::SSLeay returning -1). I'm going to do switch to testing with an external https web service as I'm beginning to suspect the load balancing server that I'm connecting to may be causing most of my problems.