My Problem is that the result of the SOAP client differs between Windows and Linux
Request on Windows:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<parameters>
<item>
<key>benutzername</key>
<value>foobar</value>
</item>
<item>
<key>passwort</key>
<value>barfoo</value>
</item>
</parameters>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Request on Linux:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://portal.activity.backend.testing/">
<SOAP-ENV:Body>
<ns1:loginStufe1>
<benutzername>foobar</benutzername>
<passwort>barfoo</passwort>
</ns1:loginStufe1>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
From the stacktrace (from the windows machine) I can see that the SOAP Request is generated by the __soapCall function which is part of the PHP SOAP client. So the problems comes from the PHP SOAP Client itself.
- Code: Select all
#0 BeSimple\SoapClient\SoapClient->__doRequest(<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><parameters><item><key>benutzername</key><value>foobar</value></item><item><key>passwort</key><value>barfoo</value></item></parameters></SOAP-ENV:Body></SOAP-ENV:Envelope>
, http://localhost:10002/Authentifizierung/AuthentifizierungService, , 1, 0)
#1 SoapClient->__soapCall(loginStufe1, Array ([0] => Array ([benutzername] => foobar,[passwort] => barfoo)))
#2 ...
This is the stacktrace of the Linux machine:
- Code: Select all
#0 BeSimple\SoapClient\SoapClient->__doRequest(<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://portal.activity.backend.testing/"><SOAP-ENV:Body><ns1:loginStufe1><benutzername>foobar</benutzername><passwort>barfoo</passwort></ns1:loginStufe1></SOAP-ENV:Body></SOAP-ENV:Envelope>
, http://localhost:10002/Authentifizierung/AuthentifizierungService, , 1, 0)
#1 SoapClient->__soapCall(loginStufe1, Array ([0] => Array ([benutzername] => foobar,[passwort] => barfoo)))
#2 ...
I tried PHP 5.3.15 (same as on the Linux machine) and the newest PHP 5.3.x Version (5.3.22) but it didn't solved my problem. An Update to PHP 5.4 is not an option since I have legacy code in my application which doesn't work with PHP 5.4
Any other Ideas what could cause or solve this issue?