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

2756undefined result for fault messages

Expand Messages
  • Igor Korolev
    Jun 26, 2003
    • 0 Attachment

      Could somebody please tell me if there are methods for getting fault
      text received in SOAP body of a
      response ?

      For some reason, SOAP::Lite::call will not return anything if HTTP
      response code is not 200 while current SOAP standard
      says that

      If an error occurs processing the request, the HTTP binding
      specification requires that a HTTP 500 "Internal Server Error" be used
      with an embedded SOAP message containing a SOAP fault indicating the
      server-side processing error.
      Example 11 is the same SOAP fault message as Example 6a, but this time
      with the HTTP headers added.

      Example 11
      HTTP/1.1 500 Internal Server Error
      Content-Type: application/soap+xml; charset="utf-8"
      Content-Length: nnnn

      <?xml version='1.0' ?>
      <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
      <env:Text xml:lang="en-US">Processing error</env:Text>
      <env:Text xml:lang="cs">Chyba zpracovani</env:Text>
      xmlns:e="http://travelcompany.example.org/faults" >
      <e:message>Name does not match card number</e:message>

      Thank you,

      Igor Korolev
    • Show all 2 messages in this topic