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
pChan1412pChan1412 

Error Response: 'INVALID_TYPE: Must send a concrete entity type' in SOAP UI

Hi,

I am getting this error when trying to create a case thru SOAP API using soapUI tool. I have looked up on other discussions and still could not resolve the issuse. I have reset the end-point URL with the serverURL that we get on login and also added the session ID. Please find the request-response below:

Request-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com" xmlns:urn1="urn:sobject.enterprise.soap.sforce.com">
   <soapenv:Header>
      <urn:SessionHeader>
         <urn:sessionId>00DM00000014fU5!ARIAQFhHzaTVjxb3ySRhu_iI8IixqbEQNY5G_gryHV0HITSR33UajG32U_Ql9cMMQjKOM6D3uSH2NlKzTEnyvK8peblfoeCM</urn:sessionId>
      </urn:SessionHeader>
   </soapenv:Header>
   <soapenv:Body>
      <urn:create>
         <urn:sObjects>
            <urn1:type>Case</urn1:type>
			<urn1:Status>New</urn1:Status>
			<urn1:Subject>soup_ui_subject</urn1:Subject>
			<urn1:Priority>Low</urn1:Priority>
			<urn1:Reason>ABC</urn1:Reason>
			<urn1:Origin>Web</urn1:Origin>
			<urn1:Description>soup_ui_description</urn1:Description>
         </urn:sObjects>
      </urn:create>
   </soapenv:Body>
</soapenv:Envelope>
Response-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sf="urn:fault.enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>sf:INVALID_TYPE</faultcode>
         <faultstring>INVALID_TYPE: Must send a concrete entity type.</faultstring>
         <detail>
            <sf:InvalidSObjectFault xsi:type="sf:InvalidSObjectFault">
               <sf:exceptionCode>INVALID_TYPE</sf:exceptionCode>
               <sf:exceptionMessage>Must send a concrete entity type.</sf:exceptionMessage>
               <sf:row>-1</sf:row>
               <sf:column>-1</sf:column>
            </sf:InvalidSObjectFault>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

Please help!
Thanks,
Puneeth.
pbattissonpbattisson
Hi Puneeth

Did you import the WSDL into SOAPUI correctly? From my recollections SOAP UI then generates example requests for you that should help you to resolve this issue.

Paul