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

6246Re: [soaplite] Re: How to get errors

Expand Messages
  • rahed
    Oct 8, 2008
      > I'm trying to get the fault like this:
      >
      > if ($som->fault) {
      > print $som->faultdetail; # returns value of 'detail' element as
      > # string or object
      > print $som->faultcode; #
      > print $som->faultstring; # also available
      > print $som->faultactor; #
      > }
      > else {print "result:$som\n";}

      You should get the fault this way. You may changed the $som object
      before calling a fault method.


      --
      Radek
    • Show all 15 messages in this topic