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

Returning error messages using SOAP Lite

Expand Messages
  • ritun2000
    Hello all, Is it possible for me to send custom error messages as fault strings to the Client in case the parameters given to the called method are erroneous.
    Message 1 of 2 , May 31, 2002
    View Source
    • 0 Attachment
      Hello all,

      Is it possible for me to send custom error messages as fault
      strings to the Client in case the parameters given to the called
      method are erroneous.
      If yes, how do i do that.


      Regards,
      Ritu
    • Paul Kulchenko
      Hi, Ritu! ... die My error message ; see also SOAP::Fault for more options. Best wishes, Paul. __________________________________________________ Do You
      Message 2 of 2 , May 31, 2002
      View Source
      • 0 Attachment
        Hi, Ritu!

        --- ritun2000 <ritun2000@...> wrote:
        > Is it possible for me to send custom error messages as fault
        > strings to the Client in case the parameters given to the called
        > method are erroneous. If yes, how do i do that.

        die 'My error message';

        see also SOAP::Fault for more options.

        Best wishes, Paul.

        __________________________________________________
        Do You Yahoo!?
        Yahoo! - Official partner of 2002 FIFA World Cup
        http://fifaworldcup.yahoo.com
      Your message has been successfully submitted and would be delivered to recipients shortly.