#!/usr/local/perl5/bin/perl use SOAP::Lite+trace => 'all'; use LWP::UserAgent; use LWP::Debug; LWP::Debug::level('+'); $USER = "working_user_name"; $PASS = "working_password"; my @ua_args = (keep_alive => 1); my @credentials = ($SERVICE_NS, "", $USER, $PASS); my $schema_ua = LWP::UserAgent->new(@ua_args); $schema_ua->credentials(@credentials); my $soap = SOAP::Lite->new(proxy => 'http://:13080/SM/7/ws', @ua_args, credentials => \@credentials); $soap->default_ns('http://schemas.hp.com/SM/7'); my $som = $soap->call('RetrieveList'); die $som->faultstring if ($som->fault); print $som->result, "\n";