Bug #73542 [NEW]: SOAP communication works in PHP5.6.26 but does not work in PHP7.0.13
| From: | felipe dot inacio at zorte dot com dot br | Date: | Wed, 16 Nov 2016 13:43:42 +0000 |
| Subject: | Bug #73542 [NEW]: SOAP communication works in PHP5.6.26 but does not work in PHP7.0.13 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-205407@lists.php.net to get a copy of this message | ||
From: felipe dot inacio at zorte dot com dot br
Operating system: All
PHP version: 7.0.13
Package: SOAP related
Bug Type: Bug
Bug description:SOAP communication works in PHP5.6.26 but does not work in PHP7.0.13
Description:
------------
The code below works 100% in php 5.6.26 but not in php 7.0.13:
$obterOperacaoTransportePdf = [
'ObterOperacaoTransportePdfRequest' => [
'Integrador' => 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx',
'Versao' => '1',
'CodigoIdentificacaoOperacao' => 'xxxxxxxxxx/aaaa',
'DocumentoViagem' => ''
]
];
$options = array(
'local_cert' => $this->certKEY,
'soap_version' => SOAP_1_2,
'cache_wsdl' => WSDL_CACHE_NONE,
"style" => SOAP_RPC,
'connection_timeout' => 15,
'encoding' => 'UTF-8',
'trace' => 1,
'exceptions' => 1
);
$urlWsdl =
'https://sistema.efrete.com:6061/Services/PefService.asmx?wsdl';
$soap = new \SoapClient($urlWsdl, $options);
$data = $soap->ObterOperacaoTransportePdf($obterOperacaoTransportePdf);
Return when used PHP7:
[ObterOperacaoTransportePdfResult] => stdClass Object
(
[Versao] => 1
[Sucesso] =>
[Excecao] => stdClass Object
(
[Mensagem] => Sistema e-FRETE (www.efrete.com):
[Business] (Protocol: 86337) Error getting PDF from transport operation:
Integrator not registered.
)
[ProtocoloServico] => 86337
)
In PHP5.6.26 returns the PDF normally.
All other functions also does not work, this is example only.
Expected result:
----------------
Keep the operation be the same as php5.6. The server should receive the
information correctly, because not currently receiving the 'Integrator'
tag correctly.
Actual result:
--------------
The server not receive the information correctly, because not currently
receiving the 'Integrator' tag correctly.
--
Edit bug report at https://bugs.php.net/bug.php?id=73542&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73542&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73542&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73542&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73542&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73542&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73542&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73542&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73542&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73542&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73542&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73542&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73542&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73542&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73542&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73542&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73542&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73542&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73542&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73542&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73542&r=mysqlcfg