简体   繁体   English

如何在Android中使用KSOAP2来提高使用和解析Soap数据的Soap Web服务的性能?

[英]How to improve performance of soap web service consuming and parsing the soap data using KSOAP2 in android?

I am using KSOAP2 library in my Android project to connect remote SOAP web services developed in .NET framework. 我在我的Android项目中使用KSOAP2库来连接.NET框架中开发的远程SOAP web services KSOAP2 library parsing soap data very slow when compared with iphone soap parsing . iphone soap parsing相比,KSOAP2库解析soap数据非常慢。 Also some times, when i debugging the server communication in my android project, web service is calling more than one time even if the programming logic written only once. 有时,当我在android项目中调试server communication时,即使编程逻辑只编写了一次,Web服务也调用了不止一次。 Can any one help me how can i improve the performance of KSOAP2 web service calling and parsing the data like iphone in my android project. 谁能帮我改善我的android项目中的KSOAP2 Web服务调用和解析iphone等数据的性能。

Ksoap performance seems quite sufficient in my use cases. 在我的用例中,Ksoap性能似乎足够。 Did you try to debug/profile your parsing and code. 您是否尝试调试/分析您的解析和代码。 Might well be that something else you do is the culprit. 可能是您做的其他事情是罪魁祸首。

Is there anything special about your response? 您的回应有什么特别之处吗? Very large? 很大? Has binary in it? 里面有二进制文件吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM