Request : <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.restfulwebservices.net/ServiceContracts/2008/01"><SOAP-ENV:Body><ns1:GetStockQuote><ns1:request>IBM</ns1:request></ns1:GetStockQuote></SOAP-ENV:Body></SOAP-ENV:Envelope>
Response: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><GetStockQuoteResponse xmlns="http://www.restfulwebservices.net/ServiceContracts/2008/01"><GetStockQuoteResult xmlns:a="http://www.restfulwebservices.net/DataContracts/2008/01" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:Symbol>IBM</a:Symbol><a:Last>154.11</a:Last><a:Date>6/23/2017</a:Date><a:Time>4:01pm</a:Time><a:Change>-0.29</a:Change><a:Open>154.34</a:Open><a:High>154.68</a:High><a:Low>153.80</a:Low><a:Volume>3282205</a:Volume><a:MktCap>144.79B</a:MktCap><a:PreviousClose>154.40</a:PreviousClose><a:PercentageChange>-0.19%</a:PercentageChange><a:AnnRange>142.50 - 182.79</a:AnnRange><a:Earns>12.16</a:Earns><a:PE>12.67</a:PE><a:Name>International Business Machines</a:Name></GetStockQuoteResult></GetStockQuoteResponse></s:Body></s:Envelope>
stdClass Object
(
    [Symbol] => IBM
    [Last] => 154.11
    [Date] => 6/23/2017
    [Time] => 4:01pm
    [Change] => -0.29
    [Open] => 154.34
    [High] => 154.68
    [Low] => 153.80
    [Volume] => 3282205
    [MktCap] => 144.79B
    [PreviousClose] => 154.40
    [PercentageChange] => -0.19%
    [AnnRange] => 142.50 - 182.79
    [Earns] => 12.16
    [PE] => 12.67
    [Name] => International Business Machines
)