Bug #68189 [NEW]: "Violation of encoding rules" after PHP 5.5.17 -> PHP 5.6.1
| From: | jan dot reges at siteone dot cz | Date: | Wed, 08 Oct 2014 16:14:28 +0000 |
| Subject: | Bug #68189 [NEW]: "Violation of encoding rules" after PHP 5.5.17 -> PHP 5.6.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-187958@lists.php.net to get a copy of this message | ||
From: jan dot reges at siteone dot cz
Operating system: Gentoo Linux
PHP version: 5.6.1
Package: SOAP related
Bug Type: Bug
Bug description:"Violation of encoding rules" after PHP 5.5.17 -> PHP 5.6.1
Description:
------------
Hi,
after upgrade from PHP 5.5.17 from to PHP 5.6.1, one of our SoapClient
is not working.
After __call() the result is only "SOAP-ERROR: Encoding: Violation of
encoding rules".
Below is tcpdump of SOAP request/response from server, where SoapClient
is.
Do you have some tips, how to debug it?
After downgrade back to 5.5.17, it work's fine.
Thank you.
Actual result:
--------------
Saved tcpdump of SOAP request/response.
POST /1.0/lrm HTTP/1.1
Host: REMOVED-FOR-BUG-REPORT
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.6.1
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 931
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="REMOVED-FOR-BUG-REPORT"><SOAP-ENV:Body><ns1:call><context><clientSessionId><loggingRoot>true</loggingRoot><sessionId>5e2t9sm7eo2ae2h85q8evlmpaj53ib1q</sessionId></
clientSessionId><ipAddress>192.168.2.48</ipAddress><lng>cs</lng><{L5T/...N...N.....ms.&.%..P...E..@..@.@.d............P.b0t..a.P.r.6...merchantId>siteone</merchantId></context><digestedData><data>0</data><digest><digest>RrwHIXl18RUj024kpa3hIFTaZR7oh/xNjsJW
VcQ+qbb6B06L3Vfmks+hCRLL+9f30KZEFHEwxGdM2c+sXU42j+BqCUceAUp+zhqWqrReIfq32h05nz4pXZ6GZ08MbONezkPQoTD2qmK+wOSyc+iYB9X9WQvhKjxr8XgI++19cZs1m1othzaq5tNMPSNb72uIcBpZ/wITCM6hUOG/Ud+cknWhDJn5VPQ2NVyipNXc7nA2jZbOkIdpM1Is/tATOS3QLyXXgI9vuJhMBYFGHOmgw228RbwLeJWbejMm
j9Y+XauzEjGhjn9tIlFnjfMeiG9vAmX5ESknkCXJFfb4aBdSiw==</digest><keyId>mystyle</keyId></digest></digestedData><interfaceVersion>v1</interfaceVersion></ns1:call></{L5T2...Y...Y.....ms.&.%..P...E..K..@.@.f............P.b2...a.P.r.4#..SOAP-ENV:Body></SOAP-ENV:En
velope>
{L5TX"..<...<....%..P...ms.&..E..(....8.ab.........P....a..b0tP.<.C.........{L5T."..<...<....%..P...ms.&..E..(....8.aa.........P....a..b2.P.@.=.........{L5T.#..<...<....%..P...ms.&..E..(....8.a`.........P....a..b2.P.@.=t........{L5TV^..N...N....%..P...ms.&
..E..@....8._G.........P....a..b2.P.@. ...
HTTP/1.1 200 OK
Date: Wed, 08 Oct 2014 14:38:51 GMT
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Content-Length: 479
X-UA-Compatible: IE=EmulateIE7
Connection: close
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:callResponse
xmlns:ns2="REMOVED-FOR-BUG-REPORT"><return><data>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlcGx5PjxjYWxsUmVzdWx0PkVSUk9SPC9jYWxsUmVzdWx0Pjxl
eGNlcHRpb24+PGNvZGU+Y29tcG9uZW50Lm1hcnNoYWxsZXIuaW52YWxpZC54bWw8L2NvZGU+PHVzZXJNZXNzYWd{L5TY^..6...6.....ms.&.%..P...E..(..@.@.f............P.b2...c.P.u@4...{L5T.^...........%..P...ms.&..E.......8.`..........P....c..b2.P.@.....lPkludmFsaWQgaW5wdXQgWE1MITwv
dXNlck1lc3NhZ2U+PC9leGNlcHRpb24+PC9yZXBseT4=</data></return></ns2:callResponse></soap:Body></soap:Envelope>{L5T.^..6...6.....ms.&.%..P...E..(..@.@.f............P.b2...ddP.yp4...{L5T.^..6...6.....ms.&.%..P...E..(..@.@.f............P.b2...ddP.yp4...{L5T.^..<
...<....%..P...ms.&..E..(....8.a].........P....dd.b2.P.@.:.........{L5T.^..6...6.....ms.&.%..P...E..(..@.@.f............P.b2...deP.yp4...{L5T.d..<...<....%..P...ms.&..E..(....8.a\.........P....de.b2.P.@.:.........
--
Edit bug report at https://bugs.php.net/bug.php?id=68189&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68189&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68189&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68189&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68189&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68189&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68189&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68189&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68189&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68189&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68189&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68189&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68189&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68189&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68189&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68189&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68189&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68189&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68189&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68189&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68189&r=mysqlcfg