Page 84 - 4785
P. 84

<soap:Envelope     xmlns:soap="http://www.w3.org/2003/05/soap-
                                envelope">
                                  <soap:Header>
                                  </soap:Header>
                                  <soap:Body>
                                    <m:GetStockPrice xmlns:m="http://www.example.org/stock">
                                      <m:StockName>IBM</m:StockName>
                                    </m:GetStockPrice>
                                  </soap:Body>
                                </soap:Envelope>
                                Приклад

                                  <soap:Envelope
                            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
                                     <soap:Body>
                                       <getProductDetails
                            xmlns="http://warehouse.example.com/ws">
                                         <productID>12345</productID>
                                       </getProductDetails>
                                     </soap:Body>
                                   </soap:Envelope>
                                  Приклад відповіді:
                                  <soap:Envelope
                            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
                                     <soap:Body>
                                       <getProductDetailsResponse
                            xmlns="http://warehouse.example.com/ws">
                                         <getProductDetailsResult>
                                           <productID>12345</productID>
                                           <productName>Стакан гранчатий</productName>
                                           <description>Стакан гранчатий. 200 мл.</description>
                                           <price>9.95</price>
                                           <inStock>true</inStock>
                                         </getProductDetailsResult>
                                       </getProductDetailsResponse>
                                     </soap:Body>
                                   </soap:Envelope>


                                                           82
   79   80   81   82   83   84   85   86   87   88   89