+ Start a Discussion
Abhilash Mishra 13Abhilash Mishra 13 

Not getting all the order fields by SOAP call

I am using phptool kit. I am trying to get orderid and order number by SOAP call but  call only return orderID I dont know what is the issue. Here is the code.
			define("USERNAME", "abhilash@dev.org");
			define("PASSWORD", "dCEm96uPgRHJ");
			define("SECURITY_TOKEN", "AdTdD3hPtVYr1RNbt6re4OnqO");
			require_once ("Force.com-Toolkit-for-PHP-master/soapclient/SforceEnterpriseClient.php");
			$mySforceConnection = new SforceEnterpriseClient();
			$response=$mySforceConnection->login(USERNAME, PASSWORD.SECURITY_TOKEN);
			echo "<pre>";
			print_r($mySforceConnection->query("select id,ordernumber from order"));
			echo "</pre>";

This is what comes out as out put

Here is the WSDL

Abhilash Mishra 13Abhilash Mishra 13
Issue is That my WSDL is not able to return any of object or customfield created due to installation of manage packages.