Req #61105 [Opn->Csd]: Support Soap 1.2 SoapFault Reason Text lang attribute
| From: | nielsdos@php.net | Date: | Fri, 20 Jun 2025 22:18:38 +0000 |
| Subject: | Req #61105 [Opn->Csd]: Support Soap 1.2 SoapFault Reason Text lang attribute | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-250289@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61105&edit=1
ID: 61105
Updated by: nielsdos@php.net
Reported by: ben dot davies at boxuk dot com
Summary: Support Soap 1.2 SoapFault Reason Text lang
attribute
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: SOAP related
Operating System: All
PHP Version: Irrelevant
-Assigned To:
+Assigned To: nielsdos
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
If you are still experiencing this bug, try to check out latest source from https://github.com/php/php-src and re-test.
Thank you for the report, and for helping us make PHP better.
Fixed in 8.5-dev
Previous Comments:
------------------------------------------------------------------------
[2017-11-02 20:58:10] umit_akkaya at live dot nl
It is still stays as TODO https://github.com/php/php-src/blob/master/ext/soap/php_packet_soap.c#L223
Clients who are using SOAP 1.2 are not able to parse response if there is SoapFault.
------------------------------------------------------------------------
[2016-01-14 17:03:48] holger dot niehoff at hcom dot de
This should be really easy to fix. Currently communication with .NET not possible because of this
(as SoapFaults cannot be avoided, e.g. they are auto generated by php if input validation fails)
------------------------------------------------------------------------
[2012-02-16 12:32:00] ben dot davies at boxuk dot com
Description:
------------
Using soap version 1.2, SoapFaults with Reasons are not currently schema
compliant.
See
http://www.w3.org/TR/soap12-part1/#reasontextelement
Reason > Text should have a mandatory attribute lang.
see http://www.w3.org/TR/soap12-part1/#reasontextelement
This has been marked in the source since 2004 as a TODO.
see http://svn.php.net/viewvc/php/php-src/trunk/ext/soap/php_packet_soap.c?
view=markup line 221.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61105&edit=1