I have a piece of code that I used to access web service through https and it worked perfectly.
use strict;
use warnings;
#use SampleService qw=>(:all);
#use SOAP::Lite +trace => qw(all);
use SOAP::Lite;
#$ENV{HTTPS_DEBUG} = '1';
$ENV{HTTPS_CA_FILE} = 'C:/src/perl/a.cer';
$ENV{HTTPS_CA_DIR} = 'C:/src/perl';
my $lite = new SOAP::Lite(
#uri => 'http://org.jboss.ws/samples/docstyle/bare',
proxy => 'https://host.company.com:8443/app/services/service?wsdl');
print $lite->getKey()->result;
Recently the web service changed a little bit, and it now uses http basic auth. My question is how can I send the userid/password through ( I do have valid user id and password.) Thanks a lot!
2006-10-18 Retitled by GrandFather, as per Monastery guidelines
Original title: 'SQL::Lite and web service with http basic auth'