当前位置: 首页 > news >正文

国内免费视频素材无水印素材网站传奇三端互通新开服网站

国内免费视频素材无水印素材网站,传奇三端互通新开服网站,设计素材网站照片,wordpress token收到一个事情#xff0c;需要对接第三方API#xff0c;对方给了个service#xff0c;看了一下#xff0c;原来是webservices的。 上一次测试webervice的接口#xff0c;还是至少八九年前的时候了#xff0c;这种相对比较老旧的也好久不在使用。 于是#xff0c;简单搞了…收到一个事情需要对接第三方API对方给了个service看了一下原来是webservices的。 上一次测试webervice的接口还是至少八九年前的时候了这种相对比较老旧的也好久不在使用。 于是简单搞了一下从搭环境到测试完成基本花了10来分钟对比结果花点时间也抽空简单记录一下。  请求 http://www.shuce.com.cn/services/CommService?wsdl 接口call 参数 soapenv:Envelope xmlns:soapenvhttp://schemas.xmlsoap.org/soap/envelope/ xmlns:serhttp://service.shuce.com.cn soapenv:Header/ soapenv:Body ser:call ser:actdscx_lz/ser:act !--1 or more repetitions:-- ser:args74481885-4244-47d9-aa51-88e2aabebdbc/ser:args ser:argscxveh/ser:args ser:argsC372DD/ser:args ser:args02/ser:args /ser:call /soapenv:Body /soapenv:Envelope   返回 soapenv:Envelope xmlns:soapenvhttp://schemas.xmlsoap.org/soap/envelope/ xmlns:xsdhttp://www.w3.org/2001/XMLSchema xmlns:xsihttp://www.w3.org/2001/XMLSchema-instance soapenv:Body callResponse xmlnshttp://service.shuce.com.cn callReturn{ret:1,clpp:宝马牌,clxh:BMW7202ES(BMWX1),gcjk:国产,zzg:中国,zzcmc:华晨宝马汽车有限公司,fdjxh:N46B20E,hdzk:5,ckg:4477*1798*1577,csys:棕,rlzl:汽油,pl:1995,gl:122,cllx:小型轿车,syxz:非营运,ccdjrq:20130917,zt:正常,hbdbqk:GB18352.3-2005(国Ⅳ阶段),ccrq:20130522,yxqz:20190930,qzbfqz:20991231} /callReturn /callResponse /soapenv:Body /soapenv:Envelope   json格式化结果 { ret: 1, clpp: 宝马牌, clxh: BMW7202ES(BMWX1), gcjk: 国产, zzg: 中国, zzcmc: 华晨宝马汽车有限公司, fdjxh: N46B20E, hdzk: 5, ckg: 4477*1798*1577, csys: 棕, rlzl: 汽油, pl: 1995, gl: 122, cllx: 小型轿车, syxz: 非营运, ccdjrq: 20130917, zt: 正常, hbdbqk: GB18352.3-2005(国Ⅳ阶段), ccrq: 20130522, yxqz: 20190930, qzbfqz: 20991231 }   其他 后来我看了一下别的wsdl http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?wsdl 做了一个测试结果测试OK简要也记录一下 request soapenv:Envelope xmlns:soapenvhttp://schemas.xmlsoap.org/soap/envelope/ xmlns:webhttp://WebXml.com.cn/soapenv:Header/soapenv:Bodyweb:getCountryCityByIp!--Optional:--web:theIpAddress115.239.210.27/web:theIpAddress/web:getCountryCityByIp/soapenv:Body /soapenv:Envelope response soap:Envelope xmlns:soaphttp://schemas.xmlsoap.org/soap/envelope/ xmlns:xsihttp://www.w3.org/2001/XMLSchema-instance xmlns:xsdhttp://www.w3.org/2001/XMLSchemasoap:BodygetCountryCityByIpResponse xmlnshttp://WebXml.com.cn/getCountryCityByIpResultstring115.239.210.27/stringstring浙江省绍兴市 电信/string/getCountryCityByIpResult/getCountryCityByIpResponse/soap:Body /soap:Envelope ... 如果你想要尝试一下进行一些测试这里提供了一些wsdl可以用来测试可以试试。   所谓授之以鱼不如授之以渔。这里也补上一些前提和方法 下载地址 官网https://www.soapui.org/professional/soapui-pro.html 文件地址http://cncspace.onlinedown.net/down/SoapUI-5.2.1-mac-bin.zip 下载地址http://www.onlinedown.net/soft/177299.htm 下载之后的安装很简单略过简要提一下启动。如果用的是mac的话这样启动 启动命令 cd /Users/hao/Downloads/SoapUI-5.2.1-mac-bin/SoapUI-5.2.1/bin ./soapui.sh haodeMBP:bin hao$ pwd /Users/hao/Downloads/SoapUI-5.2.1-mac-bin/SoapUI-5.2.1/bin haodeMBP:bin hao$ ls SoapUI-Spashscreen.png installationcomplete.sh mockservicerunner.sh soapui-errors.log soapui.sh toolrunner.sh wargenerator.sh actions listeners securitytestrunner.sh soapui-log4j.xml starter-page.html uninstallactiontrack.sh ext loadtestrunner.sh soapui-5.2.1.jar soapui.log testrunner.sh updateinstallation.sh haodeMBP:bin hao$ ./soapui.sh  SOAPUI_HOME /Users/hao/Downloads/SoapUI-5.2.1-mac-bin/SoapUI-5.2.1 Configuring log4j from [/Users/hao/Downloads/SoapUI-5.2.1-mac-bin/SoapUI-5.2.1/bin/soapui-log4j.xml] 16:26:15,406 INFO  [DefaultSoapUICore] Creating new settings at [/Users/hao/soapui-settings.xml] SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 16:26:16,523 INFO  [PluginManager] 0 plugins loaded in 3 ms 16:26:16,523 INFO  [DefaultSoapUICore] All plugins loaded Configuring log4j from [/Users/hao/Downloads/SoapUI-5.2.1-mac-bin/SoapUI-5.2.1/bin/soapui-log4j.xml] 16:26:16,729 INFO  [DefaultSoapUICore] Creating new settings at [/Users/hao/soapui-settings.xml] 16:26:16,740 INFO  [PluginManager] 0 plugins loaded in 0 ms 16:26:16,740 INFO  [DefaultSoapUICore] All plugins loaded 16:26:23,688 INFO  [DefaultSoapUICore] Defaulting to native LF for Mac OS X 16:26:23,740 INFO  [SoapUI] Used java version: 1.8.0_181 16:28:17,764 INFO  [SchemaUtils] Added default schema from file:/Users/hao/Downloads/SoapUI-5.2.1-mac-bin/SoapUI-5.2.1/bin/soapui-5.2.1.jar!/com/eviware/soapui/resources/xsds/xop.xsd with targetNamespace http://www.w3.org/2004/08/xop/include 16:28:17,781 INFO  [SchemaUtils] Added default schema from file:/Users/hao/Downloads/SoapUI-5.2.1-mac-bin/SoapUI-5.2.1/bin/soapui-5.2.1.jar!/com/eviware/soapui/resources/xsds/XMLSchema.xsd with targetNamespace http://www.w3.org/2001/XMLSchema 16:28:17,782 INFO  [SchemaUtils] Added default schema from file:/Users/hao/Downloads/SoapUI-5.2.1-mac-bin/SoapUI-5.2.1/bin/soapui-5.2.1.jar!/com/eviware/soapui/resources/xsds/xml.xsd with targetNamespace http://www.w3.org/XML/1998/namespace 16:28:17,782 INFO  [SchemaUtils] Added default schema from file:/Users/hao/Downloads/SoapUI-5.2.1-mac-bin/SoapUI-5.2.1/bin/soapui-5.2.1.jar!/com/eviware/soapui/resources/xsds/swaref.xsd with targetNamespace http://ws-i.org/profiles/basic/1.1/xsd 16:28:17,783 INFO  [SchemaUtils] Added default schema from file:/Users/hao/Downloads/SoapUI-5.2.1-mac-bin/SoapUI-5.2.1/bin/soapui-5.2.1.jar!/com/eviware/soapui/resources/xsds/xmime200505.xsd with targetNamespace http://www.w3.org/2005/05/xmlmime 可见启动之后就打开了对应的应用程序窗口。 至于工具的使用我向来觉得是不用看教程任何工具拿上来随便点两下就明白了这个soapUI也是一样的。   其实方法这里已经写的很清楚了而且没什么问题。照着操作即可。 以上是原创下面这一段是摘录的。 测试操作步骤如下   (1)首先找到cxf-webservice.xml配置信息中地址在浏览器中出入http://127.0.0.1:8080/ssg?wsdl会生成文档说明直接给要对接的用户即可 jaxws:endpoint idssg implementorcn.exchange.cxf.DataExchangeWebServiceImpladdresshttp://127.0.0.1:8080/ssg/jaxws:endpoint   (2)使用soapUI测试接口   注意在测试之前要先开启接口项目   ①在接口项目开启之后打开工具soapUi新建(file→create empty project),如下图所示   ②右击工程project——add wsdl,如下图所示   打开如下图的页面   ③然后进入如下页面(修改应该双击request1)   双击request1出现如下的窗口     ④在?号处输入相关的参数点击运行如果右侧空白没有出现错误的信息说明接口方法可以使用   测试失败如下所示(对于不同的项目可能提示信息有所不同要视情况而定这里不是绝对的结果)   测试成功如下图(对于不同的项目可能提示信息有所不同要视情况而定这里不是绝对的结果)   可见WSDL的测试相对比较简单如果没接触过的话花几分钟看下就会明白。 如上。   --20180912 15:49于沪 长宁白猫科技园
http://www.pierceye.com/news/138603/

相关文章:

  • 网站做关键词库的作用trellis wordpress
  • 建设一个网站需要哪些硬件设备关键词查询爱站网
  • 17网站一起做网店普宁个人网站备案名称填写的注意事项
  • 好的专业网站建设公司asp300源码
  • 问卷调查网站赚钱一流的盐城网站建设
  • 前端网站推荐常德农科院网站
  • 域名注册网站建设方案网站建设一般多少钱
  • 宁波网站推广找哪家重庆市建设工程信息网官网怎么查看
  • 大创意网站wordpress影视主题
  • 简约 网站模板电商网站推广方法
  • 做网站一月工资深圳建站推广公司
  • 免费建设商城网站网络商城应该如何推广
  • 做美食直播哪个网站最好html5期末大作业个人网站制作
  • 做网站和seo流程网址升级中
  • 自己做众筹网站怎样做才能发布你的网站
  • 陕西省建设厅网站查询恶意点击软件有哪些
  • 天河高端网站建设云南建设工程招投标信息网
  • iis 网站制作凡科互动小游戏怎么刷高分
  • 接网站开发项目如何做网站背景
  • 重庆奉节网站建设定制vx怎么弄
  • 烟台建网站公司哪家好辽源做网站的公司
  • 建设企业网站地址网站空间 虚拟主机
  • h5网站模板免费下载网页源码提取工具
  • 网站设计和网页设计建网站必备软件
  • 中国建设银行上海市分行网站音乐网站开发可行性分析
  • 如何用天地图做网站做面包有哪些网站知乎
  • 买了域名之后怎么建设网站做网站一年赚一千万
  • 跟网站开发公司签合同主要要点个人网站logo需要备案吗
  • 免费询盘网站自我介绍ppt模板
  • 中国会议营销网站怎么做找优惠券的网站