GetWeatherByZipCode - Moved to

This section provides a tutorial example to show that the GetWeatherByZipCode Web service has been moved from to

After running the "Request 1" sample in the previous tutorial, look at the response window. You will see SOAP Fault message returned by

<soap:Envelope xmlns:soap=""
    <soap:Text xml:lang="en">
Server was unable to process request. ---> System.Net.WebException: 
The request failed with the error message:
<title>301 Moved Permanently</title>
<h1>Moved Permanently</h1>
<p>The document has moved <a href=
<address>Apache/2.2.15 (Red Hat) Server at Port 80
 at System.Web.Services.Protocols.SoapHttpClientProtocol....
 at System.Web.Services.Protocols.SoapHttpClientProtocol....
 at ...
 at WeatherService.WeatherForecast.getData(Double latitude, ...
 at WeatherService.WeatherForecast.GetWeatherByZipCode(String ZipCode)
 --- End of inner exception stack trace ---]]></soap:Text>

The fault reason detail tells us that the GetWeatherByZipCode Web service has been moved to

Last update: 2015.

Table of Contents

 About This Book

 SoapUI - Web Service Testing Tool

 SOAP Web Service and SoapUI

 REST Web Service and SoapUI

 LatLonListCityNames - Return Latitudes and Longitudes of US Cities

 LatLonListZipCode - Return Latitudes and Longitudes of US Zip Code

 NDFDgenByDay - US Weather Forecast by Day

 NDFDgen - US-Weather Forecast for a Single Location

 Currency Exchange Rate

 Bitcoin Blockchain Explorer

 flickr.interestingness.getList - Get Interesting Photos

 UUID/GUID Generator

 NumberToWords - Convert Number in Digits to Words

 TitleCaseWordsWithToken - Words to Title Case Format

 GetCountries - Get All Countries and Territories

 GetCurrencies - Get Currencies from All Countries and Territories

 GetGMTbyCountry - Get GMT Information of a Given Country

 GetISD - Get ISD Phone Code of a Given Country

 GetCitiesByCountry - Get Cities by Country

 GetInfoByState - Get ZIP Codes of a Given US State

 GetAirportInformationByCountry - Get Airport Code by Country

 GetGeoIP - Get Country by IP Address

 ConvertTemp - Convert Temperature Unit

 ChangeLengthUnit - Convert Length Unit

 ConvertWeight - Convert Weight Unit

 ChangeAreaUnit - Convert Area Unit

 Code39 - Generate Bar Code Images in Code 39 Format

 GenerateBarCode - Generate Bar Code Images

 GetMortgagePayment - Calculate Mortgage Payment

 ConversionRate - Get Currency Exchange Rate

 GetQuote - Get Stock Quote

 GetSunSetRiseTime - Get Sunrise and Sunset Time

GetWeatherByZipCode - Get Weather by ZIP Code in US

 GetWeatherByZipCode - Usage Description

 GetWeatherByZipCode - Request Message Sample

GetWeatherByZipCode - Moved to

 GetWeatherByZipCode - Response Message Sample

 getTime - Get the Current Time

 questionSearch - Search Yahoo! Questions and Answers

 Hotwire - Get Travel Ticker Deals

 Outdated Tutorials


 Full Version in PDF/EPUB