You need to sign in to do that
Don't have an account?
rajaraodv100
Getting Http 500 Timeout even for basic SOAP calls against enterprise accounts
I am making basic calls via soap but getting http 500 - timeout.Is anyone experiencing it?
<?xml version="1.0" encoding="utf-8" ?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope
/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
><soap:Header><sh:QueryOptions xmlns:sh="SoapService" soap:mustUnderstand="0"><sh:batchSize xmlns:sh
="urn:enterprise.soap.sforce.com">200</sh:batchSize></sh:QueryOptions><sh:SessionHeader xmlns:sh="urn
:enterprise.soap.sforce.com"><sh:sessionId xsi:type="xsd:string">00D300000000NRG!ARgAQFTiQnwOlKGx.LBOA5KcYZpk8s1meB3_QFDiIHbekuI
.oOR9XpCTelPEULbDUcY08q_hzBAJu8rawGs5y5heELgCnHV3</sh:sessionId></sh:SessionHeader></soap:Header><soap
:Body><query xmlns="urn:enterprise.soap.sforce.com"><queryString xmlns="" xmlns:sh="urn:enterprise.soap
.sforce.com">Select t.Subject ,t.Status ,t.CreatedDate ,t.ActivityDate ,t.Id ,t.AccountId ,t.OwnerId
from Task t</queryString></query></soap:Body></soap:Envelope>
This is with queries like:
SELECT (SELECT Id, ActivityDate, ActivityType, Subject, Description from ActivityHistories) FROM Contact WHERE Contact.Email = '<email>'
so I don't think it's a quantity thing.
-L
- Include a LIMIT clause to limit the amount of records (maybe you only need 1)
- Use indexed fields in your where clause to limit the results to what you need.
- Increase your timeout on your SOAP API calls
The reason that it works in the UI and not workbench could be: