|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Feature Requests-2996445 ] Support for HTTP SOAP Fault
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 06 May 2010 10:18:36 +0000
Feature Requests item #2996445, was opened at 2010-05-04 11:08
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
libcurl works fine for this, except when setting the option FAILONERROR. Then the SOAP Fault document is passedto the client.
This is because the SOAP Fault is defined to be a HTTP code 500 "Internal server error". The (Soap Fault) text/xml document that MUST follow should explain the error reason in more detail. So for SOAP over HTTP code 500 is NOT an HTTP error but more as 'Error document follows'.
Adjustment of libcurl is needed to pass the SOAP Fault document as a fault document is needed. Regardless of FAILONERROR.
More details in: http://www.w3.org/TR/2000/NOTE-SOAP-20000508/ (section 6.1.1 & 6.2 & 4.4)
----------------------------------------------------------------------
>Comment By: Sjaak (sjaakvs)
Message:
However it's also convenient to let the caller decide on a specific error
So why not implement a callback function to let the user decide on a error
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
First, libcurl sends HTTP as defined by the HTTP spec(s). Error codes 500
I don't see any reason for hardcoding SOAP-awareness into libcurl to
----------------------------------------------------------------------
Comment By: Sjaak (sjaakvs)
Message:
----------------------------------------------------------------------
Comment By: Sjaak (sjaakvs)
Message:
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info