在Android上实现WebServices
我必须在我的 Android 中集成一个现有的基于 java 的框架(具有通过 SOAP 通信的不同组件)。每个组件都需要接收和发送 SOAP 消息,需要充当服务器。
Android 操作系统是真的吗? 2.0不支持服务器功能?分钟是多少?版本?
我可以使用哪个框架?我只找到了一些客户端的 kSOAP 示例,但没有找到服务器端的 kSOAP 示例。
感谢您的每一个提示、链接、想法...帮助:) 法比
I have to integrate an existing javabased Framework (whith different components which communicate via SOAP) in my Android. Every Component needs to receive and send SOAP-Messages, needs to act as a Server.
Is it true that Android OS < 2.0 does not support Server functionalities? What would be the min. Version?
Which framework can i use? I only found a few kSOAP examples for the client side, but none for servers.
Thanks for every hint, link, idea... help:)
Fabi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你最好的选择是在 Android 上运行 jetty 作为服务器,但我会认真重新考虑你的架构。为什么设备需要充当服务器?他们是否通过其他设备或服务器以拉动方式联系?
You best bet would be to run e.g. jetty as a server on Android but I would seriously reconsider your architecture. Why do the devices need to act as server? Are they being contacted in a pull way by another device or server?
是的,你是对的......重新考虑架构是最好的。但我无法更改我必须使用的现有框架。(是的,实现了拉式通信)
感谢您的帮助。但我只是决定通过实现轮询服务来使用该框架。很多额外的工作......但它会做到:)
法比
yeah you're right... reconsidering the architecture would be best. But i can't change the existing framework which comnponents i have to use.(yes, a pull way communication is implemented)
Thanks for your help. But i just decided to use the framework by implementing a polling-service. A lot of extra work... but it will do it:)
fabi