1
イムを動作していない作成私のコードは、非常に単純です:SalesforceのPHPツールキット20.0は、ここでのSalesforce <a href="https://developer.salesforce.com/page/PHP_Toolkit" rel="nofollow noreferrer">PHP Toolkit 20.0</a> を使用して
$mySforceConnection = new SforceEnterpriseClient();
$mySforceConnection->createConnection(TEMPLATEPATH."/admin/salesforce/enterprise_wsdl.xml");
$login = $mySforceConnection->login($username, $password.$securityToken);
$sObject = new stdclass();
$sObject->First_Name__c = 'aaaa';
$sObject->Last_Name__c = 'vvvvv';
$sObject->Email__c = '[email protected]';
$createResponse = $mySforceConnection->create(array($sObject), 'Patient__c');
これは
INVALID_TYPE: Must send a concrete entity type
を取得石鹸エラーイムある私がそこにあると思いますSOAPリクエストの問題(xmlが空です)
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:enterprise.soap.sforce.com"><SOAP-ENV:Header><ns1:SessionHeader><ns1:sessionId>xxxxxxx</ns1:sessionId></ns1:SessionHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:create><ns1:sObjects/></ns1:create></SOAP-ENV:Body></SOAP-ENV:Envelope>
hink that this isリクエストの様子
このような問題が発生したことはありますか?