001.SoapUI测试SOAP方法传参问题

1.传递时间戳

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.accessCtrlMgt.stee.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:createRole>
         <!--Optional:-->
         <arg0>
            <!--Optional:传递时间戳-->
            <createTime>2017-02-23T20:00:00</createTime>
            <!--Optional:-->
            <description>操作用户</description>
            <!--Optional:-->
            <id>3</id>
            <!--Optional:-->
            <roleName>User2</roleName>
         </arg0>
      </ws:createRole>
   </soapenv:Body>
</soapenv:Envelope>

2.传递List集合

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.accessCtrlMgt.stee.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:getAllUserRoleByIds>
         <!--Zero or more repetitions:此处传递List<String> arg0-->
         <arg0>1</arg0>
         <arg0>2</arg0>
      </ws:getAllUserRoleByIds>
   </soapenv:Body>
</soapenv:Envelope>
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 136,367评论 19 139
  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 177,852评论 25 709
  • http://python.jobbole.com/85231/ 关于专业技能写完项目接着写写一名3年工作经验的J...
    燕京博士阅读 7,754评论 1 118
  • 悟空你好 你好胖子
    瘦子海绵宝宝阅读 95评论 0 0
  • 接触iOS手机开发有一段时间了。总体来说,苹果公司设计的开发环境还是非常人性化的。很容易上手,也方便深入。 在组织...
    以德扶人阅读 899评论 1 51

友情链接更多精彩内容