代碼URL
路徑中的這個地址“/WebServices/WeatherWebService.asmx/getWeatherbyCityName”
是根據什么得到的。
網站的上POST的請求地址為:“
POST?/WebServices/WeatherWS.asmx/getWeather?HTTP/1.1
Host: www.webxml.com.cn
Content-Type: application/x-www-form-urlencoded
Content-Length: lengththeCityCode=string&theUserID=string
”
我用的是PHP擴展做的,
按照課程的代碼輸入完成后瀏覽器顯示“未將對象引用設置到對象的實例”
2015-06-15
http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?op=getWeatherbyCityName
2014-10-08
是付費的原因么