我一直在PHP中玩它,并得到一些工作,我做的是:
$client = new SoapClient("http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl");
$fetchedArr = $client->GetCityForecastByZIP(array("ZIP" => "10451")); //get the weather in the bronx YO!
Run Code Online (Sandbox Code Playgroud)
现在我希望我的应用程序我WPF/C#也能这样做.c#中的等价物是什么?