Use the static WSDL

Load the static WSDL into a SOAP client to make requests to the SOAP web service.

The web service client provides
  • The FakeStockValue project.
  • The StockQuoteBinding web service.
  • The GetLastTradePrice SOAP function. This function generates request records when run.
Figure 1. Loaded WSDL
You can change the default request XML in the static WSDL to include a stock symbol.
<soapenv:Envelope xmlns:soapenv="" xmlns:stoc="">
Submitting a SOAP request to this web service endpoint returns the following to the requesting SOAP client.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:xsd="" xmlns:xsi="">
      <GetLastTradePriceOutput xmlns="">
         <message>admin2, You were looking for a quote on IBM</message>