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>
网友评论