Use the static WSDL

reference brazil Updated Sep 10, 2026 1 min read r_UsingAStaticWSDL.md
Raw file servicenow.com

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.

[Omitted image "WSDL_Loaded.jpg"] Alt text:

You can change the default request XML in the static WSDL to include a stock symbol.

XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:stoc="http://example.com/stockquote.xsd">   <soapenv:Header/>   <soapenv:Body>      <stoc:TradePriceRequest>IBM</stoc:TradePriceRequest>   </soapenv:Body></soapenv:Envelope>

Submitting a SOAP request to this web service endpoint returns the following to the requesting SOAP client.

XML
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">   <SOAP-ENV:Body>      <GetLastTradePriceOutput xmlns="https://www.service-now.com/vws/FakeStockValue">         <message>admin2, You were looking for a quote on IBM</message>      </GetLastTradePriceOutput>   </SOAP-ENV:Body></SOAP-ENV:Envelope>

Parent Topic:Create a scripted SOAP web service using a static WSDL

Search documentation
Search document titles and file paths on the brazil branch