我有一个 WSDL Web 服务,我正在尝试从 java/Blackberry 访问
我有一个 WSDL Web 服务,我试图在 Blackberry 应用程序中通过 java 发布和接收信息。我已经使用 axis1.4 在 Eclipse 中构建存根和其他类文件。我已经设计好了BB界面。我可以运行模拟器并导航到输入信息的页面(在本例中为帐户注册)。我只需要知道如何设置传输。目前,我在屏幕上也有一个按钮,点击时会显示“Congratualtions”消息,但这应该是在“如果”上,我需要让按钮调用网络服务,将字段中输入的信息发布到数据库,然后获取回复(在本例中为真/假)。我的应用程序是基于向我的网络服务中大约 7 种不同的方法提供和接收信息而构建的。通常发送 2 到 5 个数据字段并接收 1-3 个数据字段。似乎我已经掌握了拼图的所有部分,但无法将它们联系起来。我读过许多其他网站上的帖子,以及这篇关于实现 wsdl 的帖子,但这些示例太简单了,对我来说没有用。请帮忙。提前谢谢您。
I have a WSDL webservice I am trying to post and receive information from via java within a Blackberry app. I have used axis1.4 to build the stub and other class files within Eclipse. I have have the BB interface already designed. I can run a simulator and navigate to the page to enter the information (in this case Account Registration). I just need to know how to make set up the transfer. I currently have button on the screen as well that shows "Congratualtions" message when clicked but that should be on an "if" I need to make the button call the webservice, post information entered in fields to database, and get back a reply ( in this case true/false). My app is built on giving and receiving info to about 7 different methods within my webservice. Sending normally between 2 and 5 fields of data and receiving 1-3. Seems like I have all the pieces of the puzzle I just can't link them. I have read post on many other sites and this one about implementing wsdl but the examples are too simple to be useful to me. Please help. Thank you in advanced.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否研究过 ksoap2 ?我认为您需要知道的是如何传递复杂对象 复杂对象和Ksoap2
Have you looked into ksoap2 ? I think what you need to know is how to pass complex objects Complex Objects & Ksoap2