php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #61105 Support Soap 1.2 SoapFault Reason Text lang attribute
Submitted: 2012-02-16 12:32 UTC Modified: -
Votes:6
Avg. Score:4.7 ± 0.7
Reproduced:6 of 6 (100.0%)
Same Version:2 (33.3%)
Same OS:3 (50.0%)
From: ben dot davies at boxuk dot com Assigned:
Status: Open Package: SOAP related
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ben dot davies at boxuk dot com
New email:
PHP Version: OS:

 

 [2012-02-16 12:32 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-14 17:03 UTC] 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)
 [2017-11-02 20:58 UTC] 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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC