复杂的 SOAP 请求
我的请求如下...
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<soapenv:Header/>
<soapenv:Body>
<Search>
<specialties>
<!--Zero or more repetitions:-->
<arr:int>1</arr:int>
<arr:int>2</arr:int>
<arr:int>3</arr:int>
</specialties>
<gender>
<!--Zero or more repetitions:-->
<arr:string>male</arr:string>
<arr:string>female</arr:string>
</gender>
</Search>
</soapenv:Body>
</soapenv:Envelope>
如何通过 Android Soap 请求传递相同的请求...
谢谢。
My request is as below...
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<soapenv:Header/>
<soapenv:Body>
<Search>
<specialties>
<!--Zero or more repetitions:-->
<arr:int>1</arr:int>
<arr:int>2</arr:int>
<arr:int>3</arr:int>
</specialties>
<gender>
<!--Zero or more repetitions:-->
<arr:string>male</arr:string>
<arr:string>female</arr:string>
</gender>
</Search>
</soapenv:Body>
</soapenv:Envelope>
How to pass the same with Android Soap Request...
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试这样会对你有帮助
try in this way it will help u
我将完整的 xml 作为字节数组传递到输出流,而不是转换 SOAP 信封,它起作用了!
I passed complete xml as byte array to Output stream instead of converting SOAP envelope and it worked !!!