java - WSDL 和字段验证
问题描述
我正在研究网络服务肥皂和休息。测试我的网络服务,我传递了一个重复的字段 ProductId,如下例所示,并且没有任何问题通过。
我问这是正常行为还是错误?
任何帮助,非常感谢。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v1="http://nameSpace/">
<soapenv:Header/>
<soapenv:Body>
<getProductService>
<arg0>
<ProductDate>2016-04-01</ProductDate>
<ProductId>prod1</ProductId>
##<ProductId>prod1</ProductId>##
</arg0>
</getProductService>
</soapenv:Body>
</soapenv:Envelope>
解决方案
推荐阅读
- r - 如何在依赖列上使用收集
- reactjs - 如何在 Jest 中测试 Tonejs 时修复“TypeError:无法读取 null 的属性‘createGain’”?
- mysql - 使用 Sequelize 的 Google App Engine 与 Cloud SQL 部署错误
- c# - 在使用实体框架创建 docker 应用期间访问 Sqlite 数据库
- python - 使日期更改功能化,而不是使用 pandas 数据手动更改代码中的日期
- angular - 如何在 Angular 中从节点模块导入单个脚本
- python - 使用所有包含的小部件隐藏和显示“QGridLayout”
- regex - 用于在 Sublime 中匹配具有多个固定边界的模式的正则表达式
- javascript - 对于诸如套接字通信之类的事情,utf-8 编码需要什么?
- javascript - 如何在此代码中获取目标元素的索引?