Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Contributor
Posts: 3
Registered: ‎06-28-2012
My Device: Developer BB 9800 v6.0.0246
My Carrier: Vodafone

BB Secure Webservices

Hello everybody,


I am developing a Java application on a BB 9800 v6.0.0.246 that consumes JSR-172 webservices at the moment, with stubs generated from Java ME SDK wscompile.


Http webservices are working fine but should now be changed to secure these webservices with https.

As the auto-generation of stubs will not work for https webservices, I am looking for the best method to implement secure webservices at the moment.


I read through the forums and found several methods that might work:


1.) Use Ksoap to consume https webservices

2.) Use Ksoap2 for Android to consume https webservices

3.) Access the webservices only through a BB Enterprise Server as proxy and let it encrypt the connection

4.) Start with a https connection factory and consume the webservices from scratch


Most of the information I found is already a few years old. Can anybody point me in the right direction, what is the most efficient way to get working https webservices with Java on a BB ?


Thanks for any help and info!


Kind regards,







Posts: 133
Registered: ‎04-30-2010
My Device: Curve 8520
My Carrier: T-Mobile

Re: BB Secure Webservices

You need to be able to connect to the wsdl for your web services via a none secure http address to generate your stubs.  But once you have done that, from my experience, you will be able to access the web services themselves via https using JSR-172.