privatevoidbutton1_Click(objectsender,EventArgse) { weathertest.Weather.WeatherWebServiceSoapClientw=newweathertest.Weather.WeatherWebServiceSoapClient("WeatherWebServiceSoap"); //把webservice当做一个类来操作 string[]s=newstring[23];//声明一个string数组存放其返回的结果