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
jitender.360degreec1.3890927586840896E12jitender.360degreec1.3890927586840896E12 

How can we create case using WSDL ?

Hi,

we have a Enterprize WSDL which method need to call to create a case and how can we call it.
If you have any document  please share it.
Amit BangadAmit Bangad
Salesforce Login- Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com">
   <soapenv:Body>
      <urn:login>
         <urn:username>******@****.com.prod</urn:username>
         <urn:password>passwordsecurityToken</urn:password>
      </urn:login>
   </soapenv:Body>
</soapenv:Envelope>

Case Create
<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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Header>
      <urn:SessionHeader>
         <urn:sessionId>00DZ000000016oZ!AQYAQL5Dy.zA2snQslC7Tc4SQHZxIjk0tZgnUS4GIYhyRceV2PkfuU.iVjoDz9RsEG4PPGTGMUo.w0jH4pNsz_c3ki4OFp4e</urn:sessionId>
      </urn:SessionHeader>
   </soapenv:Header>
   <soapenv:Body>
      <urn:create>
         <!--Zero or more repetitions:-->
         <urn:sObjects xsi:type="urn1:Case">
  <Is_Serviceable__c>1</Is_Serviceable__c>
  <Reason_Description__c></Reason_Description__c>
         </urn:sObjects>
      </urn:create>
   </soapenv:Body>
</soapenv:Envelope>