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
dave k.ax63dave k.ax63 

Unable to run PHP update example - concrete entity type error

I have downloaded and Pear::SOAP 0.8RC3 beta.

The login and list examples work fine but I'm unable to run the update example in the HTML readme:


The result I get back is:

<soapenv:Envelope xmlns:soapenv="" xmlns:xsd="" xmlns:xsi="">
<faultstring>common.exception.ApiException: Must send a concrete entity type.</faultstring>
<sf:fault xsi:type="sf:InvalidSObjectFault" xmlns:sf="">
<sf:exceptionMessage>Must send a concrete entity type.</sf:exceptionMessage>

I enabled tracing on the client object:


and called $client->__get_wire() but there is no outgoing data to display. The incoming data is the SOAP error.

What have I missed ?



Message Edited by dave k on 09-23-2004 08:59 AM


Hi dave k,

This error occurs when an attribute is missing on the sobject element.  An attribute of type="Lead" needs to be on the sobject element.   Unfortunately, I've no knowlede of PHP and can't recommend a fix or workaround.


dave k.ax63dave k.ax63
I've found the problem.

I was using the Enterprise SOAP URL rather than the Partner URL.

Once I changed, that the examples worked.