在黑莓中使用 Ksoap 实现 Soap 请求?
我想使用 ksoap 库在黑莓中实现肥皂请求。
实现它需要以下代码行。有人可以举例描述术语 servicenamespace、servicemethod、soapaction 和 serviceurl 吗?
SoapObject request = new SoapObject(serviceNamespace, serviceMethod);
ht = new HttpTransport(serviceURL);
ht.call(soapAction, envelope);
I want to implemnt a soap request in blackberry using ksoap library.
The following code lines to required to implement it. Can someone describe the terms servicenamespace,servicemethode,soapaction and serviceurl with an example?
SoapObject request = new SoapObject(serviceNamespace, serviceMethod);
ht = new HttpTransport(serviceURL);
ht.call(soapAction, envelope);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看看这个教程。
KSoap 教程
虽然我意识到这并不完全是您想知道的,但它会引导您逐步使用 KSoap 库发出简单的 SOAP 请求,同时还解释每个方法的含义 做。
此外,如果您想了解特定方法/字段,请访问此处的 javadocs:
KSoap 文档
Have a look at this tutorial.
KSoap Tutorial
While I realize it is not exactly what you want to know, it takes you step by step in making a simple SOAP request with the KSoap library while also explaining what each method does.
Furthermore, access the javadocs here if you want to know about particular methods/fields:
KSoap Documentation