Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

SOAP::WSDL errors ?
Hello,

Can anyone point me in the right direction, I am trying to use the
SOAP::WSDL module however it is error out before I ever get to use it:

--snip--
#!/usr/bin/perl

#use strict;
use diagnostics;
use warnings;
use SOAP::Lite +trace => [transport => \&log_data];
use LWP::UserAgent;
use SOAP::WSDL;


sub  SOAP::Transport::HTTP::Client::get_basic
_credentials {
return 'testuser' => 'test123';
}

my $soap = SOAP::WSDL->new(
wsdl => 'file:./test.wsdl',
no_dispatch =>1);

#$soap->wsdlinit( caching => 1);

$soap->wsdlinit();
--snip--

The following error is printed to STDERR:

--snip--
Can't call method "endpoint" on an undefined value at
/usr/lib/perl5/site_perl/5.8.5/SOAP/WSDL.pm line 30 (#1)
(F) You used the syntax of a method call, but the slot filled by the
object reference or package name contains an undefined value.
Something
like this will reproduce the error:

$BADREF = undef;
process $BADREF 1,2,3;
$BADREF->process(1,2,3);

Uncaught exception from user code:
Can't call method "endpoint" on an undefined value at
/usr/lib/perl5/site_perl/5.8.5/SOAP/WSDL.pm line 30.
at /usr/lib/perl5/site_perl/5.8.5/SOAP/WSDL.pm line 30
 SOAP::WSDL::wsdlinit('SOAP::WSDL=HASH(0x
88fc128)') called at
./soap_perl_example.pl line 46
--snip--



--
Michael Gale

Red Hat Certified Engineer
Network Administrator
Pason Systems Corp.

Report this thread to moderator Post Follow-up to this message
Old Post
Michael Gale
09-25-06 11:57 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Beginners archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:16 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.