SOAP Service Link in Windows Phone 8.1 Universal Application

I am trying to add a link to a SOAP WebService. There is no problem adding it to part of the Windows 8.1 project.

But there is no way to do the same for WP 8.1. Somehow I could only add a new β€œPush Notification” as a link.

Adding the generated reference.cs to the WP project directly leads to many unresolved references in System.ServiceModel (i.e., System.ServiceModel.Channels was not found).

Any idea? Maybe this is not in the current beta version?

VS 2013 Update 2 RC.

+7
xaml microsoft-metro soap-client windows-phone-8
source share
1 answer

Although this is not the right solution, Microsoft has implemented a workaround: WCF Add Service link is not supported for Windows Phone 8.1 XAML applications

Windows Phone 8.1 XAML applications do not support the System.ServiceModel namespace, and therefore you cannot right-click links in the project and select "Add Service Link." The recommended solution is to add the REST endpoint to your WCF endpoint and access the WCF application through the REST endpoint using HttpClient.

+6
source share

All Articles