You need to sign in to do that
Don't have an account?
Not getting all the order fields by SOAP call
Hi,
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.
This is what comes out as out put
https://qas-shared-assets.s3.amazonaws.com/snaps/4uz5infz2gldi
Here is the WSDL
https://raw.githubusercontent.com/developerforce/Force.com-Toolkit-for-PHP/master/soapclient/enterprise.wsdl.xml
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.
<?php 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(); $mySforceConnection->createConnection("Force.com-Toolkit-for-PHP-master/soapclient/enterprise27.wsdl"); $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
https://qas-shared-assets.s3.amazonaws.com/snaps/4uz5infz2gldi
Here is the WSDL
https://raw.githubusercontent.com/developerforce/Force.com-Toolkit-for-PHP/master/soapclient/enterprise.wsdl.xml
Issue is That my WSDL is not able to return any of object or customfield created due to installation of manage packages.