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>162.07</a:Last><a:Date>10/20/2017</a:Date><a:Time>4:01pm</a:Time><a:Change>+1.17</a:Change><a:Open>161.07</a:Open><a:High>162.48</a:High><a:Low>159.77</a:Low><a:Volume>7868803</a:Volume><a:MktCap>150.63B</a:MktCap><a:PreviousClose>160.90</a:PreviousClose><a:PercentageChange>+0.73%</a:PercentageChange><a:AnnRange>139.13 - 182.79</a:AnnRange><a:Earns>11.99</a:Earns><a:PE>13.52</a:PE><a:Name>International Business Machines</a:Name></GetStockQuoteResult></GetStockQuoteResponse></s:Body></s:Envelope>
stdClass Object
(
    [Symbol] => IBM
    [Last] => 162.07
    [Date] => 10/20/2017
    [Time] => 4:01pm
    [Change] => +1.17
    [Open] => 161.07
    [High] => 162.48
    [Low] => 159.77
    [Volume] => 7868803
    [MktCap] => 150.63B
    [PreviousClose] => 160.90
    [PercentageChange] => +0.73%
    [AnnRange] => 139.13 - 182.79
    [Earns] => 11.99
    [PE] => 13.52
    [Name] => International Business Machines
)