PrepAway - Latest Free Exam Questions & Answers

Which URL should you provide?

You create an XML Web service named WeatherService. This service contains a Web method named RetrieveWeather. RetrieveWeather takes as input a city name and returns the current weather conditions for that city. You need to provide callers of this service with the URL they need to issue an HTTP-GET against WeatherService. Which URL should you provide?

PrepAway - Latest Free Exam Questions & Answers

A.
http://ServerName/AppPath/WeatherService.asmx/cityname=somecity

B.
http://ServerName/AppPath/WeatherService.asmx/RetrieveWeather?cityname=somecity

C.
http://ServerName/AppPath/WeatherService/RetrieveWeather.asmx?cityname=somecity

D.
http://ServerName/AppPath/WeatherService/RetrieveWeather?cityname= somecity


Leave a Reply