How to use SOAP API call SF

How to use SOAP API call SF(1)DownloadWSDLfilesSetup→API→APIWSDLpage→GenerateEnterpriseWSDLThiswilltakeseveralminutestocreateapage.right-clickthepageandsaveaswsdl.jsp.xmlfileonyourlocallaptop.(2)DownloadSOAPUIOpenSourcefromDownl…

大家好,又见面了,我是你们的朋友全栈君。

(1)Download WSDL files

Set up → API → API WSDL page → Generate Enterprise WSDL

How to use SOAP API call SF

 

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

How to use SOAP API call SF

 

(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.

How to use SOAP API call SF

 

How to use SOAP API call SF

(4)Update Login request, click Request1.

How to use SOAP API call SF

 

<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.

How to use SOAP API call SF

 

From the response, you can get the session id and the custom URL. it will be needed in the other calls.

How to use SOAP API call SF

 

(5)Create an account

Update the custom URL and session ID. Specify the object name and account name.

How to use SOAP API call SF

Click the play button and then you can find this account in the SF.

How to use SOAP API call SF

 

 

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/159211.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • Python和Java到底有什么区别?这12点告诉你答案「建议收藏」

    Python和Java到底有什么区别?这12点告诉你答案「建议收藏」转载自品略图书馆http://www.pinlue.com/article/2020/03/1604/0310028186938.html初学编程的小伙伴在问:“Python和Java到底有什么区别?到底是学Python还是Java。“一副惆怅的样子,难以下手。今天,给大家总结了关于两者的十二点区别。一、实话实话,Python虚拟机没有java强,java虚拟机是java的核心…

    2022年7月8日
    28
  • 从cer和pfx证书文件获取公、私钥

    从cer和pfx证书文件获取公、私钥一、背景最近在对接chinapay支付接口。chinapay会为每个商户号都会提供两个证书文件(cer和pfx),对接时使用chinapay提供的工具jar包,直接读取文件路径,进行请求体的签名、验签、加密、解密。chinapay提供的jar包工具类需要两个配置文件://该文件是:对方的公钥证书,内部只有公钥信息,用于请求的加密及响应的验签verify.file=/Users/macuser/Desktop/chinaPay/368_cp_test.cer//该文件是:自己的证书,

    2022年6月10日
    833
  • oracle用户更改密码_修改system用户密码

    oracle用户更改密码_修改system用户密码前几天通过plsql登录数据库时,提示密码过期,需要修改密码,那就修改呗。改完过了会,再登录,发现用户被锁了。那就去解锁下吧。一、登录数据库服务器suoracle;sqlplus”/assysdba”;alteruserxxaccountunlock;重新登,发现还是锁着的,怀疑是有应用服务一直在尝试连数据库导致锁定,遂先把服务给停掉了。二、查看用户状态…

    2022年7月28日
    7
  • word打印A4纸翻页小册子设置「建议收藏」

    word打印A4纸翻页小册子设置「建议收藏」要实现的是A4纸对折成翻页的小册子在word里选页面布局设置如下:还有页脚的页数显示要改成左页的页数在左下角,右页的页数在右下角:有页码显示时双击页脚会出来页码设置,选择双面打印2。转成pdf:点打印图标,选择导出pdf…

    2025年9月20日
    8
  • dubbo rpc调用示例_rpc接口是什么意思

    dubbo rpc调用示例_rpc接口是什么意思在国内dubbo成为很多互联网公司高并发分布式场景下rpc框架的首选,dubbo从开源至今经历过蛮多的过程,从开源到中间的停止维护,经过三年的沉寂,2017年9月,阿里巴巴宣布重启dubbo项目。到2018年2月,阿里将dubbo捐献给Apache基金会,随后dubbo经过孵化后顺利成为apache的顶级项目。当然本文的重点不是介绍dubbo的使用,而是介绍如何利用smart-doc工具来生成dubbo的rpc内部接口文档。smart-doc因为其基于注释和java接口定义自动推导的理念,开源以来受到国内

    2022年8月31日
    4
  • pycharm国外默认镜像源_gnuradio国内镜像源

    pycharm国外默认镜像源_gnuradio国内镜像源阿里云http://mirrors.aliyun.com/pypi/simple/中国科技大学https://pypi.mirrors.ustc.edu.cn/simple/豆瓣(douban)http://pypi.douban.com/simple/清华大学https://pypi.tuna.tsinghua.edu.cn/simple/中国科学技术大学http://pypi.mirrors.ustc.edu.cn/simple/…

    2022年8月28日
    4

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号