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

New Developer
Posts: 3
Registered: ‎02-12-2009
My Device: Not Specified

Authentication, post MDS to WCF Windows Service...

Hi All,


I am new to Blackberry development and have a question, which I hope you can help with.

I have a requirement to call a Microsoft WCF service, via the MDS. This service, firstly needs to know the requesting Blackberry phone in order for authorisation to take place within the .NET WCF Service.

Can you please let me know if this is done? Can I put a custom HTTP heading in the Blackberry request?? Will the MDS Server strip the HTTP Headers??

What are the best practices for this process please?


Many thanks for the help,

- Hollis..

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

Re: Authentication, post MDS to WCF Windows Service...

The MDS Connection Service should not strip off custom HTTP headers.  You could add the BlackBerry PIN number to the HTTP request and use that as an identifier.  The DeviceInfo class can be used to obtain the PIN.


You can also configure a BlackBerry Enterprise Server to send a BlackBerry PIN or email address with HTTP requests from the BlackBerry Browser.


How To - Retrieve information about the BlackBerry Browser
Article Number: DB-00435


Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.