Free Web Services - Herong's Tutorial Examples - v2.13, by Herong Yang
Mock GetStockPrice - SOAP 1.1 with RPC Style in WSDL_1.1
This section describes the free Web service 'GetStockPrice' provided by herongyang.com. It' mocks a reservation service based on SOAP 1.1 and described in WSDL 1.1
GetStockPrice_WSDL_11_SOAP_11_RPC - A free Web service that mocks a GetStockPrice service.
Technical information on the Web service:
Request Message Sample
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hy="https://www.herongyang.com/Service/"> <soapenv:Header/> <soapenv:Body> <hy:GetStockPrice soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <hy:stockPart xsi:type="xsd:string">GOOG</hy:stockPart> <hy:marketPart xsi:type="xsd:string">NASDAQ</hy:marketPart> <hy:datePart xsi:type="xsd:date">2007-07-07</hy:datePart> </hy:GetStockPrice> </soapenv:Body> </soapenv:Envelope>
Response Message Sample
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hy="https://www.herongyang.com/Service/"> <soapenv:Header/> <soapenv:Body> <hy:GetStockPriceResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <hy:pricePart xsi:type="xsd:decimal">552.16</hy:pricePart> </hy:GetStockPriceResponse> </soapenv:Body> </soapenv:Envelope>
Table of Contents
SoapUI - Web Service Testing Tool
►Mock Web Services - herongyang.com/Service
Hello_WSDL_11_SOAP - The Simplest Mock Service
Mock Registration - SOAP 1.2 with Document Style in WSDL_1.1
Mock Reservation - SOAP 1.2 with Document Style in WSDL_1.1
Mock RefillOrder - SOAP 1.2 with Document Style in WSDL_1.1
Mock GetExchangeRate - SOAP 1.2 with RPC Style in WSDL_1.1
Mock GetStockPrice - SOAP 1.2 with RPC Style in WSDL_1.1
Mock Registration - SOAP 1.1 with Document Style Described in WSDL_1.1
Mock Reservation - SOAP 1.1 with Document Style in WSDL_1.1
Mock RefillOrder - SOAP 1.1 with Document Style in WSDL_1.1
Mock GetExchangeRate - SOAP 1.1 with RPC Style in WSDL_1.1
►Mock GetStockPrice - SOAP 1.1 with RPC Style in WSDL_1.1
"SoapResponder" and Web Service Test Tool
"Calculator" for 4 Integer Operations
DataFlex Web Service for Country Information
LatLonListCityNames - Return Latitudes and Longitudes of US Cities
LatLonListZipCode - Return Latitudes and Longitudes of US Zip Code
TempConvert Web Service for Temperature Conversion
NDFDgenByDay - US Weather Forecast by Day
NDFDgen - US-Weather Forecast for a Single Location
Bitcoin Blockchain Data API (or Explorer)
flickr.interestingness.getList - Get Interesting Photos
NumberToWords - Convert Number in Digits to Words
TitleCaseWordsWithToken - Words to Title Case Format
"PUG SOAP" Web Service for PubChem Database
Discontinued: Currency Converter by kowabunga.net
Discontinued: GetCountries - Get All Countries and Territories
Discontinued: GetCurrencies - Get Currencies from All Countries
Discontinued: GetGMTbyCountry - Get GMT Information of a Given Country
Discontinued: GetISD - Get ISD Phone Code of a Given Country
Discontinued: GetCitiesByCountry - Get Cities by Country
Discontinued: GetInfoByState - Get ZIP Codes of a Given US State
Discontinued: GetAirportInformationByCountry - Get Airport Code by Country
Discontinued: GetGeoIP - Get Country by IP Address
Discontinued: ConvertTemp - Convert Temperature Unit
Discontinued: ChangeLengthUnit - Convert Length Unit
Discontinued: ConvertWeight - Convert Weight Unit
Discontinued: ChangeAreaUnit - Convert Area Unit
Discontinued: Code39 - Generate Bar Code Images in Code 39 Format
Discontinued: GenerateBarCode - Generate Bar Code Images
Discontinued: GetMortgagePayment - Calculate Mortgage Payment
Discontinued: ConversionRate - Get Currency Exchange Rate
Discontinued: GetQuote - Get Stock Quote
Discontinued: GetSunSetRiseTime - Get Sunrise and Sunset Time
Discontinued: GetWeatherByZipCode - Get Weather by ZIP Code in US
Discontinued: getTime - Get the Current Time
Discontinued: questionSearch - Search Yahoo! Questions and Answers