JRP
JRP

Reputation: 191

Accessing a non silverlight enabled web service from a Silverlight Phone Application

I'm trying to access a WCF web service (that is NOT silverlight enabled) from a Windows Phone Application using Silverlight. I am able to add the service reference fine and I can see all the methods on that service.

The problem I'm having is that when I actually try to call a method I get an "EndPointNotFoundException."

I've read many examples that use a web service which is SilverLight enabled.

My question is: Is it possible to use a web service that is NOT silverlight enabled in a Windows Phone Application using Silverlight?

Upvotes: 3

Views: 285

Answers (1)

Den
Den

Reputation: 16826

Test the service with the WCF Test Client and see if it works. In case there are no errors, make sure that the service is using basicHttpBinding (and not wsHttpBinding, as I see in a lot of services - it is not supported on WP7).

Upvotes: 2

Related Questions