php.net |  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: 2025-07-20 10:33 UTC
Votes:8
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: nielsdos (profile)
Status: Closed Package: SOAP related
PHP Version: 5.3.8 OS: Windows XP SP3
Private report: No CVE-ID: None
 [2012-01-06 18:19 UTC] blasterdrp at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/soapclient.soapcall#refsect1-soapclient.soapcall-parameters
---

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 {
			$response->loadXML($soap->__getLastResponse());
			return $response;
		}
	}
	catch(Exception $exc) {
		return $exc;
	}
}


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2025-07-20 10:33 UTC] nielsdos@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nielsdos
 [2025-07-20 10:33 UTC] nielsdos@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

There is not enough info to do anything useful with this report.
The provided reproducer is not actually a script that reproduces the problem and the description is unclear.
If you still experience this, please open a full bug report at https://github.com/php/php-src
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Sep 19 20:00:01 2025 UTC