Welcome!

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.


Reply
Developer
Posts: 15
Registered: ‎10-10-2008
My Device: Not Specified

Accessing Address Lists From Blackberry

Good Morning / Afternoon,

 

I am attempting to develop an application on a blackberry which will obtain a list of all of the email addresses within a certain Address Distribution List in Exchange. There is a Blackberry Enterprise Server running, and is connected to a Microsoft Exchange server.

 

I was hoping for some sort of API call to do this. I suppose that I could build a Web Service to do this, but then the Web Service would be required to be available on the internet (unless there is a way for the BES to act as a proxy??).

 

Any ideas on how to accomplish this?

Retired
Posts: 28
Registered: ‎07-14-2008
My Device: Not Specified

Re: Accessing Address Lists From Blackberry

Hi there, by default the device (if connected to a BlackBerry Enterprise Server [BES]) will communicate with the Internet through the BlackBerry Enterprise Server's MDS-CS (Mobile Data System Connection Service). So with regards to your Web-Service that definitely doesn't have to be exposed to the Internet. It 'just' needs to be reachable on the IP network from the BES.

 

Have a look at this KB article which explains on how to establish a non-default browser session. The same transports are also available for your Web-Service.

Developer
Posts: 15
Registered: ‎10-10-2008
My Device: Not Specified

Re: Accessing Address Lists From Blackberry

Much thanks on that - I didn't know that a Blackberry uses the Enterprise Services as a proxy.

 

Is there a good KB article on opening SOAP Web Services available? A quick search of the developer documentation (PDF) has no entries for SOAP at all.

BlackBerry Development Advisor
Posts: 15,886
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Accessing Address Lists From Blackberry

The BlackBerry API set supports the JSR 72 Web Services standard.  We currently don't have any examples for this, but it is not a BlackBerry specific API so you can refer to examples available on the Internet.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Developer
Posts: 15
Registered: ‎10-10-2008
My Device: Not Specified

Re: Accessing Address Lists From Blackberry

Thanks. What I ended up doing was using the Sun Java Wireless Toolkit to generate stubs from the WSDL and will use that instead.