开发者

Consume webservice in WP7

I am writing my first WP7 app, and the data I'm trying to access is from a WebService. If I add a Service Reference, the actual methods return DataTables, which are not supported in WP7. Is there a way around this, or should I resort to a simple 开发者_运维百科WebClient request and parse the xml myself?

The xml result has a DataSet schema which is where the service reference is pulling the info from.


I think you can serialise the dataset to xml using System.Xml.Serialization.XmlSerializer in the service end and also deserialize in the phone.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜