- Solved it!
Thanks for the thread on examples. The google.pl had an answer to my problem.
--- In email@example.com, "jigsaw9876" <jigsaw9876@y...> wrote:
> I am accessing a service using its wsdl.
> My code looks like this:
> $soap = SOAP::Lite( http://...wsdl)
> my $result = $soap->getResult($id);
> Now my server returns an error and how do I get this out of my $result?
> When the server returns a proper result print $result works well. I tried $result->fault
> I get the follwoing error: Can't call method "fault" on an undefined value...
> I used debug and am able to see <SOAP-ENV:Fault> in the body.
> This is very urgent; Please help!