function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jayant JadhavJayant Jadhav 

Partner Soap Error Using PHP

Hi,

I am using Partner SOAP API using PHP code. I am getting this error message while authentication

SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://salesforce.com/soap/wsdl.jsp' : Extra content at the end of the document

I am trying to run this API through my localsystem. Is it any permission issue which is restricting me to access information in salesforce?

Does anyone has an idea about this issue. Any help would be appriciated.

Thanks!!
 
salesforce mesalesforce me
You need to add the returnedTags as part of request.
The request should look like this
$response = $client->listPhone(
        array("searchCriteria"=>
            array("name"=>"%"),
           "returnedTags" =>
            array("name"=>"", "model"=>"", "callingSearchSpaceName"=>"")
        )
);
    echo '<pre>';
    print_r($response->return->phone);
    echo '</pre>';
Himanshu ParasharHimanshu Parashar
Hi Jayant,

1. Can you post your code here. 
2. Are you trying to conect to PROD org or Sandbox ?


Thanks,
Himanshu