Req #61105 [Com]: Support Soap 1.2 SoapFault Reason Text lang attribute

From: Date: Thu, 02 Nov 2017 20:58:13 +0000
Subject: Req #61105 [Com]: Support Soap 1.2 SoapFault Reason Text lang attribute
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212416@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 Comment by: umit_akkaya at live dot nl Reported by: ben dot davies at boxuk dot com Summary: Support Soap 1.2 SoapFault Reason Text lang attribute Status: Open Type: Feature/Change Request Package: SOAP related Operating System: All PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#212416) next »