<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hello, I tried XML::Compile with wsdl using script like below: </div>
<div> </div>
<div>#!/usr/bin/perl</div>
<div>use XML::Compile::WSDL11; </div>
<div>use XML::Compile::SOAP11;</div>
<div>use XML::Compile::Transport::SOAPHTTP;</div>
<div>use Log::Report mode => 'DEBUG';</div>
<div>my $nodewsdl = "NodeBean.wsdl";</div>
<div>my $wsdl = XML::Compile::WSDL11->new($nodewsdl);</div>
<div>my $server = 'user:password\@localhost';</div>
<div>my $call = $wsdl->compileClient( operation=>'getNodes',server=>$server );</div>
<div>my %request = ('filter'=>{'condition'=>{'name'=>'name','operator'=>'LIKE','value'=>'VJHASW%'}});</div>
<div>my ($nodes, $trace) = $call->(%request);</div>
<div> </div>
<div>Something is obviously wrong in my script, because the result was "received 401 Unauthorized", while I know (tested by other means) that user and password are actually right. </div>
<div>Any ideas ? </div>
<div> </div>
<div>Thanks in advance, </div>
<div>Tapio</div>
<div> </div>
</font>
</body>
</html>