在 Android 中使用没有 ksoap2 的 SOAP Web 服务
在我的Android应用程序中,我使用ksoap2库来使用soap(& .net)网络服务。它工作正常,但速度非常慢(对于解析、控制、循环和 Base64ToBinary 进程)。我想更快地解析它。不使用ksoap2是否可以解析它?有什么想法吗? 感谢您的建议。
In my Android application, i'm using ksoap2 library for consuming a soap ( & .net) webservice. It works correctly but it's very slow (for parsing, controls, loops and Base64ToBinary processes). I want to parse it more fast. Is it possible to parse it without using ksoap2? Any ideas?
Thanks for your recommendations.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你说慢是什么意思?它执行 http 请求,然后解析响应。您必须在异步任务中执行此操作。内存使用情况将取决于您收到的响应。也许你的要求太多了。请参阅 wiki 了解如何调试!
What do you mean slow? It does a http request and then parses the response. You have to do this in an async task. Memory usage will depend on the response you get. Maybe you are requesting way too much. See the wiki on how to debug!
我对 KSoap2 还有另一个问题。不幸的是,ksoap2 库无法与我的网络服务一起使用。最后,我完成了默认的 http post。
我希望这对将来的人有帮助。
I have another problem with KSoap2. Unfortunately, ksoap2 library is not working with my webservices. So at last, I have done with default http post.
I hope this will help for someone in future.