|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60674 SoapClient::__soapCall sends null parameters
Submitted: 2012-01-06 18:19 UTC Modified: -
Avg. Score:4.6 ± 0.7
Reproduced:7 of 7 (100.0%)
Same Version:3 (42.9%)
Same OS:1 (14.3%)
From: blasterdrp at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.3.8 OS: Windows XP SP3
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: blasterdrp at gmail dot com
New email:
PHP Version: OS:


 [2012-01-06 18:19 UTC] blasterdrp at gmail dot com
From manual page:

Sample function provided will not pass parameters to the given SOAP function, whether associative or ordered array. This is confirmed from the WSDL side.

Test script:
function doSOAP($wsdl,$func,$param) {
	try {
		$response = new DOMDocument();

		$soap = new soapClient($wsdl, array('trace'=>true, 'exceptions'=>true));

		$result = $soap->__soapCall($func,$param);

		if(is_soap_fault($result)) {
			return $result;
		else {
			return $response;
	catch(Exception $exc) {
		return $exc;


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jan 20 09:01:23 2020 UTC