Hi,
OK, I understand. I think SOAP::Lite is quite easy to use. I wrote a LWP-version as well, I got the same error as you at first but when I removed some of the namespace info in the XML it worked better :-) It's not the first time the samples from Cisco is broken...
use LWP::UserAgent;
use Data:

umper;
use XML::Simple;
my $cucmip = "192.168.0.10";
my $axl_port = "8443";
my $user = "cisco";
my $password = "cisco";
my $url = "
https://$cucmip:$axl_port/axl/";
my $soap = <<AXL;
<SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<executeSQLQuery>
<sql>SELECT * FROM numplan</sql>
</executeSQLQuery>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
AXL
# Create ua
my $ua = LWP::UserAgent->new;
push @{ $ua->requests_redirectable }, 'POST';
# Create request
my $req = HTTP::Request->new(POST => $url);
$req->content_type('text/xml');
$req->header('Accept' => 'text/*');
$req->content($soap);
$req->authorization_basic($user,$password);
# Send request
my $res = $ua->request($req);
#print $res->content;
# Check response
if ($res->{_rc} == 200) {
# Request successful
$xml = new XML::Simple();
$data = $xml->XMLin($res->content,KeyAttr => "return" );
print Dumper($data);
}
Cheers,
//Dan