---
sourceDocument: Xanadu API リファレンス
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - ja-JP

ft:publication_title :

    - Xanadu API リファレンス

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# スタティック WSDL の使用

# スタティック WSDL の使用 {#ariaid-title1}

* リリースバージョン: Xanadu
* 
* 更新日 2024年08月01日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：1分

スタティック WSDL を SOAP クライアントにロードして、SOAP Web サービスに要求を行います。
Web サービスクライアントは次を提供します。

* FakeStockValue プロジェクト
* StockQuoteBinding Web サービス
* GetLastTradePrice SOAP 関数この関数は、実行時に要求レコードを生成します。
{#r_UsingAStaticWSDL__ul_lrm_yxw_sr}
図 : 1. ロードされた WSDL スタティック WSDL でデフォルトの要求 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>

この Web サービスエンドポイントに SOAP 要求を送信すると、要求元の SOAP クライアントに次が返されます。

    <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>


