cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:feature-requests] #49 Support for HTTP SOAP Fault

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Fri, 10 Jan 2014 12:50:14 +0000

- **status**: open-rejected --> closed-rejected

---
** [feature-requests:#49] Support for HTTP SOAP Fault**
**Status:** closed-rejected
**Labels:** libcurl 
**Created:** Tue May 04, 2010 09:08 AM UTC by Sjaak
**Last Updated:** Fri Jan 10, 2014 12:48 PM UTC
**Owner:** Daniel Stenberg
SOAP stands for Simple Object Access Protocol.
SOAP over HTTP\(S\) is send as a POST text/xml with a SOAPAction header field.
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.
Currently I modified http.c for this so that a HTTP POST resulting in HTTP code 500 just continues. It's better to also test for the SOAPAction request header. Or make a specific/generic switch for SOAP so that the transport layer is prepared, since SOAP can be passed over other protocols as well.
More details in: http://www.w3.org/TR/2000/NOTE-SOAP-20000508/  \(section 6.1.1 & 6.2 & 4.4\)
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-01-10

These mail archives are generated by hypermail.

donate! Page updated December 29, 2013.
web site info

File upload with ASP.NET