三、SoapUI调用WSDL接口

第一步:打开SoapUI软件,新建“New SOAP Project”

 

第二步:传入参数

 备注:传入的的参数如果是xml格式,不用直接引入;需要通过<![CDATA[]]>把参数包住

<![CDATA[<?xml version="1.0" encoding="GBK"?><dataset><head><msg_id>PalletInfo20220919130356776</msg_id><state_code>000</state_code><state_desc></state_desc><ws_mark>WMSBillService</ws_mark><ws_method>PalletInfo</ws_method><ws_param>XML</ws_param><client_type>CORP_SCAN</client_type><client_id>S11320501015</client_id><commerce_code>11320501</commerce_code><curr_time>2022-09-19 13:03:56</curr_time><curr_user>icss</curr_user></head><datalist><data><bb_type>CORP_SCAN</bb_type><bb_wms_uuid></bb_wms_uuid><bb_uuid>44c0cfce-8f62-458e-99b4-52e1362464f3</bb_uuid><bb_ticket_no>A0806815</bb_ticket_no><bb_contact_no>110883325</bb_contact_no><bb_oper_date>2022-09-19 00:00:00</bb_oper_date><pallet_id>e045ee0002103e54</pallet_id><scan_time>2022-09-19 13:03:02</scan_time>  <ok_brand_info>6901028116923;南京(紫树);30;6901028116916;</ok_brand_info>  <error_brand_info></error_brand_info> <rfidantcode>01</rfidantcode><ok_barcodes>91116923203200012206040144573694,91116923203200012206040144574462,91116923203200012206040144579326,91116923203200012206040144573950,91116923203200012206040144578814,91116923203200012206040144579582,91116923203200012206040144580350,91116923203200012206040144579070,91116923203200012206040144579838,91116923203200012206040144580606,91116923203200012206040144577278,91116923203200012206040144580094,91116923203200012206040144576766,91116923203200012206040144577534,91116923203200012206040144578302,91116923203200012206040144577022,91116923203200012206040144577790,91116923203200012206040144578558,91116923203200012206040144599806,91116923203200012206040144578046,91116923203200012206040144599294,91116923203200012206040144600062,91116923203200012206040144600830,91116923203200012206040144599550,91116923203200012206040144600318,91116923203200012206040144601086,91116923203200012206040144597758,91116923203200012206040144686590,91116923203200012206040144597246,91116923203200012206040144598014</ok_barcodes><error_barcodes></error_barcodes><bb_commerce_code>11320501</bb_commerce_code></data></datalist></dataset>
]]>

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值