|  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:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (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
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.
Block user comment
Status: Assign to:
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-2020 The PHP Group
All rights reserved.
Last updated: Thu Feb 20 10:01:24 2020 UTC