大家好,又见面了,我是你们的朋友全栈君。
(1)Download WSDL files
Set up → API → API WSDL page → Generate Enterprise WSDL
This will take several minutes to create a page. right-click the page and save as wsdl.jsp.xml file on your local laptop.
(2)Download SOAP UI OpenSource from Download REST & SOAP Automated API Testing Tool | Open Source | SoapUI
(3)Install the SoapUI component using the package downloaded in the last step. Launch SoapUI, find file menu, select New SOAP Project. enter a project name.
(4)Update Login request, click Request1.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<urn:login>
<urn:username>your_username</urn:username>
<urn:password>your_password+security_token</urn:password>
</urn:login>
</soapenv:Body>
</soapenv:Envelope>
Click the green triangle on the top (play button) to run the request.
From the response, you can get the session id and the custom URL. it will be needed in the other calls.
(5)Create an account
Update the custom URL and session ID. Specify the object name and account name.
Click the play button and then you can find this account in the SF.
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/159211.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...