我看到了一個從MCWebServiceSoapClient調用的Web服務的方法。在Windows Phone中調用webservice和WCF?
//getting the different points for the map when checkbox is checked
private void polyc_Checked(object sender, RoutedEventArgs e)
{
testingwcf.MCWebServiceSoapClient ob = new TestMap.testingwcf.MCWebServiceSoapClient();
ob.getPolytechnicPointsAsync();
ob.getPolytechnicPointsCompleted += new EventHandler<testingwcf.getPolytechnicPointsCompletedEventArgs>(ob_getPolyPointsCompleted);
}
但是我正在執行的是WCF。如何將此方法轉換爲WCF?我的WCF在這裏http://kailun92wcf.cloudapp.net/Service1.svc。是否可以從WCF調用Windows Phone ersi地圖?要繪製點?
真誠地感謝您=) – NoobieNeedHelp