Access a non-silverlight web service from Silverlight Phone

I am trying to access the WCF web service (which is not supported by silverlight) from a Windows Phone application using Silverlight. I can add a link to the service, and I can see all the methods of this service.

The problem I am facing is that when I actually try to call the method, I get an "EndPointNotFoundException".

I read a lot of examples that use the web service that is included with SilverLight.

My question is: Can I use a web service that is NOT used in a Windows Phone application using Silverlight?

+3
source share
1 answer

Test the service using the WCF test client and see if it works. If there are no errors, make sure that the service uses basicHttpBinding (and not wsHttpBinding, as I see in many services - not supported in WP7 ).

+2
source

All Articles