Bug #60674 [NEW]: SoapClient::__soapCall sends null parameters

From: Date: Fri, 06 Jan 2012 18:19:58 +0000
Subject: Bug #60674 [NEW]: SoapClient::__soapCall sends null parameters
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-166267@lists.php.net to get a copy of this message
From:             
Operating system: Windows XP SP3
PHP version:      5.3.8
Package:          SOAP related
Bug Type:         Bug
Bug description:SoapClient::__soapCall sends null parameters

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;
	}
}


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60674&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=60674&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=60674&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=60674&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=60674&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60674&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=60674&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=60674&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=60674&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=60674&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=60674&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=60674&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=60674&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=60674&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=60674&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=60674&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60674&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=60674&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=60674&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=60674&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=60674&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=60674&r=mysqlcfg



Thread (1 message)

  • blasterdrp at gmail dot com
« previous php.bugs (#166267) next »