You need to sign in to do that
Don't have an account?
Connecting to API via PHP and PEAR SOAP/PHP SOAP descrepency
Greetings,
I have used a php client object to connect to salesforce for almost 3 years. During that time, I have had to make minor updates to use the new features of the API as they have been release. I currently have the development working for version 11.0 of the api and this custom php client which uses PEAR SOAP.
I can not quite figure out the exact reason for the descreptency. On a separate server using PHP SOAP I tried the query below with the PHP toolkit provided by salesforce (which by default also uses version 11.0 of the api. The old client, using PEAR SOAP, does not error, but only returns 5 records. The toolkit, using PHPSOAP, also does not error, but returns 83 rows.
What element of the old client could potentially limit the result set? I can pull less complex queries down 2000 at a time.
Thoughts?
Here is the query:
SELECT
id, billingstate,billingcountry,industry,
account_adm_owner__r.userrole.name,
account_adm_owner__r.isactive
from account
WHERE
(
account_adm_owner__c=null OR account_adm_owner__c=''
OR account_adm_owner__r.isactive=false
OR account_adm_owner__r.name = 'Name 1'
OR account_adm_owner__r.name = 'Name 2'
OR (not account_adm_owner__r.userrole.name like '%ADM%')
)