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

Reply
Highlighted
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,302
Registered: ‎07-09-2008
My Device: BlackBerry Passport
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

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800878/800733/How_To_...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker