Hi all ,
WSDL Generated Functions do not return error informations. I pass all
the required login credentials to the server side where I check it with
the existing user information. If the user is not existing,the script dies
with an error description. But with my WSDL implementation I am unable to
get the fault message.
The client side code looks like this.
my $soap = SOAP::Lite->service('http:/IP/demo.wsdl');
if($soap->call->fault)
{
print "Err",$soap->call->faultstring;
exit;
}
else
{
print $result;
}
when I use this code am getting an error "Can't find method element in the
message at /usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2724.". The
particular line at the soap::Lite states that
die "Can't find method element in the message"
unless $request->match($som->method);
Is it means I can call fault function only on SOAP::SOM Object or am I
doing something wrong.?Please help me.
Please direct usage questions to the mailing list or the Yahoo forum.
Martin