zoukankan      html  css  js  c++  java
  • How to use SOAP API call SF

    (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 https://www.soapui.org/downloads/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.

     
  • 相关阅读:
    md转html,并带目录结构
    vue05
    vue04
    mysql索引及调优
    mysql的锁与事务
    python基本数据类型的操作
    redis集群
    docker 学习(四)
    MongoDB基本操作
    MongoDB基础
  • 原文地址:https://www.cnblogs.com/iwangzheng/p/15550884.html
Copyright © 2011-2022 走看看