如何访问Web服务与黑莓部件API
问题描述:
任何人知道的方式与BlackBerry的Widget API访问Web服务(.NET)?
Anybody knows a way to access a WebServices (.NET) with the BlackBerry Widget API ?
感谢。
答
是 - 这是可能的,例如通过使用KSOAP2可在黑莓:
yes - this is possible for example by using the KSOAP2 available on Blackberry:
编辑 - 按评论:
EDIT - as per comment:
对于一个基于JavaScript的Web服务访问看到
For a javascript based webservice access see
- http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-quot-I-quot-would-call-a-web-service-from-a-WebWorks-App/td-p/519745
- http://www.geekreflex.com/blogarticle.aspx?ArticleID=13
- http://www.guru4.net/articoli/javascript-soap -client / EN /
- HTTP://javascriptsoapclient.$c$cplex.com/
- HTTP://www.$c$cguru。 COM / VB / vb_internet / web服务/ article.php / c7781
- http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-quot-I-quot-would-call-a-web-service-from-a-WebWorks-App/td-p/519745
- http://www.geekreflex.com/blogarticle.aspx?ArticleID=13
- http://www.guru4.net/articoli/javascript-soap-client/en/
- http://javascriptsoapclient.codeplex.com/
- http://www.codeguru.com/vb/vb_internet/webservices/article.php/c7781
编辑2 - 按照注释:
EDIT 2 - as per comment:
您需要添加域的WebService的 config.xml中
的(包括端口如果不是80) - 这是一个安全措施......的例子见 http://www.geekreflex.com/blogarticle.aspx?ArticleID=13
You need to add the domain (incl. Port if not 80) of the WebService to the config.xml
- this a security measure... for an example see http://www.geekreflex.com/blogarticle.aspx?ArticleID=13