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
Rathna DeshmukhRathna Deshmukh 

Calling Search and Create method of Enterprise wsdl using SOAP API

Hi,

I am using enterprise wsdl and want to call Search and Create methods of SOAP API.Can anyone please provide me the correct payload and format to test Search and Create methods for enterprise wsdl using SOAP UI tool.

Below is the SOAP UI request I have for Search method.what should I pass for <searchstring> in the below request.I am able to get the session Id using the login method of API.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com">
   <soapenv:Header>
      <urn:SessionHeader>
 <urn:sessionId></urn:sessionId>
      </urn:SessionHeader>
   </soapenv:Header>
   <soapenv:Body>
      <urn:search>
         <urn:searchString></urn:searchString>
      </urn:search>
   </soapenv:Body>
</soapenv:Envelope>

Also please provide the request for Create method.
Thanks in advance
Best Answer chosen by Rathna Deshmukh
pconpcon
These should get you close enough

search: https://developer.salesforce.com/page/Enterprise_Search
create: https://developer.salesforce.com/page/Enterprise_Create

For all the examples you can go here: https://developer.salesforce.com/page/Sample_SOAP_Messages

All Answers

pconpcon
These should get you close enough

search: https://developer.salesforce.com/page/Enterprise_Search
create: https://developer.salesforce.com/page/Enterprise_Create

For all the examples you can go here: https://developer.salesforce.com/page/Sample_SOAP_Messages
This was selected as the best answer
Rathna DeshmukhRathna Deshmukh
Thanks a lot for the information.This is helpful.
pconpcon
If this question is solved, please mark the best answer, so that it can be removed from the unanswered queue.  If you need any additional clarification, please let me know.