|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79167 SoapServer doesn't work with document/literal (Procedure '' not present)
Submitted: 2020-01-24 14:47 UTC Modified: -
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:3 (100.0%)
From: szepczynski at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: szepczynski at gmail dot com
New email:
PHP Version: OS:


 [2020-01-24 14:47 UTC] szepczynski at gmail dot com

I write Soap Webservice consuming by SAP which working only with Document/Literal style. When i change WSDL definition from RPC style to Document I'm starting receiving "Procedure XXX not present".

After change rpc/literal to document/literal I expected that everything will be works. I lookup to the extension source code to looking cause why my methods of class is not visible in SoapServer and found these line:

What is the reason of set function = NULL; when function has any parameter?

I write workaround making change like this:

public function updateCustomer(\stdClass $dataIn): \stdClass

public function updateCustomer(): \stdClass
    $dataIn = func_get_args()[0];


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Apr 02 10:03:46 2023 UTC