Thread

Posted on Mon Jun 23 22:27:37 2008 by drfrog
empty result
say you have this: my $result = $service->call( 'MyCall' , %my_variables ); if this fails to contact the service in question,say due to time out or some such, would $result j +ust be undef?
Direct Responses: 8127 | Write a response
Posted on Mon Jun 23 22:36:59 2008 by mkutter in response to 8126
Re: empty result
SOAP::WSDL usually returns a fault object on error (which is always false in boolean context). The fault message contains details about why the call failed.
Martin
Direct Responses: 8128 | Write a response
Posted on Mon Jun 23 23:07:21 2008 by drfrog in response to 8127
Re: empty result
keyword usually? :) seems our call sometimes results in this my code is such that if there is no $result->faultstring and there is no internal data in $result i +t reports the whole $result object and sometimes its returning undef
Direct Responses: 8129 | Write a response
Posted on Mon Jun 23 23:33:15 2008 by mkutter in response to 8128
Re: empty result
... maybe
...If you tell me more about what is returned when, and what code caused it, I might be able to figure out whether it's intended or not ;-)

Nartin
Write a response