Answer the question
In order to leave comments, you need to log in
web services in WP8
When adding a service to a WP8 project, the generated code is:
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------------- --------------------------------------
//
// This code was auto-generated by Microsoft .Silverlight.Phone.ServiceReference, version 3.7.0.0
is not valid
Error 1 'System.ServiceModel.XmlSerializerFormatAttribute' does not contain a definition for 'Style'
msdn.microsoft.com/en-us/library/system.servicemodel.xmlserializerformatattribute.style %28v=vs.95%29.the property exists for silverlight and a number of frameworks.
however , msdn.microsoft.com/en-us/library/windowsphone/develop/system.servicemodel.xmlserializerformatattribute%28v=vs.105%29.aspx is missing from the .NET API for WP.
Proxy generation with different parameters using SlSvcUtil did not give any result.
Perhaps someone has experienced something similar?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question