06-10-2011 02:46 PM
Doing that myself right now. I'll see if I can help. What's your problem?
06-10-2011 02:53 PM
i havn't used tradtional webservices before in my bb application, i have been using rest web services, However im now forced to use tradtional webservice for new applicaiton, i've got the wsdl url and the access credentials from the business, to start with i have been trying in the KB on sample codes, i was not able to find much though. appreciate if u can help on consuming the service using wsdl.
06-10-2011 04:51 PM
What I did was:
06-11-2011 12:03 AM
Generate a web service? With the BlackBerry plugin? Not that I am aware.
06-11-2011 01:07 AM
Hi My quesiton is not about generating a webservice, but consuming an existing webservice. i have the wsdl file already in place and given by the business, i Just need to consume the service and show to the user in the blakberry.
06-11-2011 01:53 AM - edited 06-11-2011 01:53 AM
I see, our wordings are different. When I say "generate a webservice" I mean the same thing as when you say "consuming a webservice".
The previous post mentioned are to take an existing webservice and generate a "Stub" as it's called. This Stub will be the interface between your app/library and the webservice. Everything is taken care of in the background. But beware, the Stub uses JAX-RPC. JAX-RPC is not very robust, the library I mentioned in a previous post that I am working on is now "on hold" because the JAX-RPC worked for every function except one. That one just so happens to be one of the most important functions. The reasons behind it are I have overloaded types ("TypeA extends TypeB", not supported in JAX-RPC), flag-based enumerations (enumerations are supported but if you use a flag-based enumeration you need to pass in an array of the values instead of the enumeration), base64 (oddly enough, though JAX-RPC supports it, I cannot get it to work, so I had to wrap the functionality), and finally dateTime/date/time are not supported (I also wrapped this functionality).
Now that might be a bunch of issues but it all depends on your webservice. If they use those then prepare for a workout, otherwise you'll have a insta-library. For the unsupported functionality I either wrapped it, or in the case of the unsupported function, well. I need to see. I am thinking kSOAP, but don't know right now (hence why my library is on hold).
11-07-2013 09:59 AM - last edited on 11-07-2013 10:28 AM by Chronos
Hi, did you find any solution about webservice in blackberry 5.0?
i am searching 3 days and founf nothing.
if you have sample code : **firstname.lastname@example.org please help me?
Edit: Email removed. At no time should you provide any personal information to any other community member. Please review the Community Guidelines and Terms and Conditions of Use. for further information