Nitesh Kothari
Nitesh Kothari

Reputation: 888

How to call WCF service or ASMX service from Windows Phone 8.1

I am creating windows phone 8.1 application, I have created Windows Phone 8 application and I know how to call web service from Windows Phone 8, but I am surprised when I update VS 2013 2,I am not getting "Add Service Reference" option, how do I add service in my Windows Phone 8.1 application?

Upvotes: 0

Views: 1843

Answers (2)

Viraj Shah
Viraj Shah

Reputation: 308

@NiteshKothari you should choose Windows Phone Silverlight Application, that is the point!!

Upvotes: 1

Sajeetharan
Sajeetharan

Reputation: 222582

Windows Phone 8.1 XAML applications does not support the System.ServiceModel namespace, and therefore you are not able to right click references in the project and choose Add Service Reference.

Refer more here

Upvotes: 1

Related Questions