• Paul Keller
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I am using the most current Force.com Toolkit for PHP provided at https://developer.salesforce.com/page/PHP_Toolkit to do this API push. I can authenticate and query salesforce without any issue, however when I attempt to create a lead, Salesforce responds back with an error "Unable to find a deserializer for the type common.api.soap.wsdl.QueryResult Error Id: 39234132-20621 (-848058548)"

Here is the SOAP data we are sending salesforce:
 
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="urn:enterprise.soap.sforce.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<ns1:SessionHeader>
<ns1:sessionId>00D1a000000JetW!AQIAQJqI9ahtjmZI2urRBcTQaq6MX0iu.1y93JKc3j06U99YIi39oEJ8ryvfbLlESvOFpczPOf0wsmnSiQLYpD7SRSUajA5j</ns1:sessionId>
</ns1:SessionHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:create>
<ns1:sObjects xsi:type="ns1:Lead">
<Name>John Doe</Name>
<Email>johndoe@example.com</Email>
<City>BEVERLY HILLS</City>
<Reason__c>BECOME AN APPLICATOR         -</Reason__c>
<Phone>(555)555-1212</Phone>
<Sq_Footage__c>0</Sq_Footage__c>
<Industry>*APPLICATOR</Industry>
<Own_Equipment__c>FALSE</Own_Equipment__c>
<Type_of_Building__c></Type_of_Building__c>
<PostalCode>90210</PostalCode>
<State>CA</State>
<Referrer__c>GOOGLE AD</Referrer__c>
<Referring_Page__c>Google</Referring_Page__c>
<Project_Type__c></Project_Type__c>
<Company>John Doe, Inc.</Company>
<Completion_Deadline__c></Completion_Deadline__c>
<Current_Supplier__c>Home Depot</Current_Supplier__c>
<Notes>Testing API Testing Line 2</Notes>
</ns1:sObjects>
</ns1:create>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
And here is the SOAP response from Salesforce:
 
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>Unable to find a deserializer for the type common.api.soap.wsdl.QueryResult Error Id: 39234132-20621 (-848058548)</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>