You need to sign in to do that
Don't have an account?
Ramesh Naidu P
how to resolve error 503 in salesforce API
how to resolve error 503 in salesforce API. please help me
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
this error 503 is Too many requests in an hour.
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<n1:login xmlns:n1="urn:partner.soap.sforce.com">
<n1:username>xxxxxxxx@gmail.com</n1:username>
<n1:password>xxxxxxxxxxxxxxx</n1:password>
</n1:login>
</env:Body>
</env:Envelope>';
$sessionid="";
$serverUrl="";
$header = array(
"Content-type: text/xml;charset=\"utf-8\"",
"SOAPAction: login");
$soap_do = curl_init();
curl_setopt($soap_do, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($soap_do, CURLOPT_URL, "https://login.salesforce.com/services/Soap/u/34.0" );
curl_setopt($soap_do, CURLOPT_RETURNTRANSFER, true );
curl_setopt($soap_do, CURLOPT_POST, true );
curl_setopt($soap_do, CURLOPT_POSTFIELDS, $soap_request);
curl_setopt($soap_do, CURLOPT_HTTPHEADER, $header);
$result = curl_exec($soap_do);