黑莓-消费.Net肥皂服务 [英] Blackberry - Consume .Net Soap Service

查看:155
本文介绍了黑莓-消费.Net肥皂服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是黑莓应用程序开发的新手,我想知道是否有人可以向我指出如何在本机应用程序中使用Web服务的正确方向(可能是示例应用程序).我正在将Blackberry JDE插件用于Eclipse.

I am new to blackberry app development and was wondering if someone could point me in the right direction(and may be a sample application) of how to consume web service in native apps. I'm using Blackberry JDE plugin for Eclipse.

我能够使用一个安静的Web服务,但是现在我想使用一个SOAP服务.我是eclipse的新手,所以我需要详细的信息.

I am able to consume a restful webservice, but now I want to consume a SOAP service. I am new to eclipse , so I would require in detail information.

谢谢

推荐答案

非常感谢您提供的所有帮助.弄清楚了.问题是wcf服务.当我尝试使用简单的Web服务(.asmx)时,它就像魅力一样工作,并且所有存根都正确生成.可能wcf使用了Soap 1.2默认值和asmx服务SOAP 1.1.

Hey thanks for all the help. Figured it out. The problem was wcf service. When I tried with a simple web service(.asmx), it worked like charm and all the stubs were generated correctly. Probably wcf uses Soap 1.2 default and asmx service SOAP 1.1.

我什至尝试使用KSOAP2调用wcf服务,但收效甚微.再次切换回asmx而不是wcf,就解决了这个问题.

I even tried using KSOAP2 for calling wcf service with little success. Again switching back to asmx instead of wcf, solved the issue.

现在我有很多问题,该使用哪种方法(KSOAP或Stub):)

Now I have problem of plenty, which method to use(KSOAP or Stub) :)

我全都支持非KSOAP方法,但是阻止我的唯一一件事是,每次引入一种新方法时,我都必须生成存根文件. 无论如何+1以获得所有帮助

I am all for non KSOAP method, but the only thing that is stopping me is I have to generated stub files everytime a introduce a new method. Anyways +1 for all the help

这篇关于黑莓-消费.Net肥皂服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆