Skip Menu |

This queue is for tickets about the SOAP-WSDL CPAN distribution.

Report information
The Basics
Id: 43674
Status: resolved
Priority: 0/

Owner: Nobody in particular
Requestors: jjgreen [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.00.10

Subject: Fault not caught/propagated in SOAP::WSDL::Client::call
Date: Thu, 26 Feb 2009 13:47:40 -0500
To: <bug-SOAP-WSDL [...]>
From: "John Green (jjgreen)" <jjgreen [...]>
Download (untitled) / with headers
text/plain 986b
Versions: 2.00.05 - 2.00.09 File: lib/SOAP/WSDL/ Method: call Snippet: my ($result_body, $result_header) = eval { $deserializer_of{ $ident }->deserialize( $response ); } if (not $@) { return wantarray ? ($result_body, $result_header) : $result_body; } return $deserializer_of{ $ident }->generate_fault({ code => 'soap:Server', role => 'urn:localhost', message => "Error deserializing message: $@. \n" . "Message was: \n$response" }); Issues 1. SOAP::WSDL::SOAP::Typelib::Fault11 evaluates to false in boolean context, so if the deserializer threw a Fault11, it return undef or (undef, undef) 2. If a deserializer overrides generate_fault to return a domain-specific exception type which evaluates to true in boolean context, that specific exception will get translated to a Fault11 object.
Subject: Re: [ #43674] Fault not caught/propagated in SOAP::WSDL::Client::call
Date: Mon, 02 Mar 2009 21:21:27 +0100
To: bug-SOAP-WSDL [...]
From: Martin Kutter <martin.kutter [...]>
Hi John, the error is fixed in SOAP::WSDL's SVN in rev812 Thanks for reporting, Martin

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to