Loading ...
Sorry, an error occurred while loading the content.

Re: [soaplite] Possible bug in SOAP::Lite?

Expand Messages
  • Duncan Cameron
    ... I think that this has been asked a few times before. A fault is returned from the server, in your case it is the LWP::User::Agent (I think) that is
    Message 1 of 2 , Nov 14, 2003
    View Source
    • 0 Attachment
      At 21:19:04 on 2003-11-14 perlmedian <perlmedian@...> wrote:

      >I am using Perl 5.6.1 with SOAP::Lite 0.55, it seems that if the
      >server with the SOAP service is unreachable, that the SOAP::Lite
      >module dies instead of returning a fault response.
      >
      >Is there a reason it dies instead of returning a fault? Will this be
      >fixed in the next release of SOAP::Lite?
      >
      >Is there a work around to prevent it from dying?
      >
      >Any and all information is appreciated.
      >
      I think that this has been asked a few times before. A fault is returned from the server, in your case it is the LWP::User::Agent (I think) that is dieing. You need to wrap your call within an eval{} block and handle the exception.

      Regards
      Duncan
    Your message has been successfully submitted and would be delivered to recipients shortly.