Patrice Cote
Patrice Cote

Reputation: 3716

Android 3 calling WCF REST

I'd like to create a RESTful WCF service and then call it from an Android 3.2 or 4.0 app. I have this sample here, but it dates back to May 2010. I'd like to know if that is still the best way of doing this?

The WCF part is OK, I can handle it (since I'm a .NET guy), but I'm looking for the best (both performance and security) way of calling the service.

If you have any links, samples or even books to suggest, I'd be more than happy.

Upvotes: 1

Views: 488

Answers (2)

David
David

Reputation: 322

As long as you can get the WSDL from the WCF service, you should be able to interact with it using something like AXIS for Java and use wsdl2java to generate the client stub to interact with the service... though AXIS is relatively heavy to use on Android devices. I've never done anything like that with Android, but that's how it's done with Java. Perhaps there are some lighter-weight libraries you can use.

Here's a similar post: How to Consume WCF Service with Android

Upvotes: 1

Related Questions