You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by st...@citizensbank.ca on 2001/04/02 23:13:16 UTC

Example of extracting multiple return values from a SOAP response?


Would someone be able to provide a simple example of extracting multiple return
values from a SOAP response?  I am faced with a situation were I will dealing
with responses (from a 3rd party) like this:

<SOAP-ENV:Body>
     <e:GetInvestSummaryResponse xmlns:e="http://www.aaaaaa.com/namespace/EFI">
          <e:InvestSummary brandname="aaa">
               <e:Investor investornum ="987654">
                    <e:Account accountnum="1234567" type="INDIVIDUAL" tax="CASH"
                       balance="16004.38" asofdate="2001-03-05">
                         <e:Fund fundnum="262" fundname="INCOME FUND"
unit="1167.179"
                            unitprice="10.9055" balance="12850.06" />
                         <e:Fund fundnum="264" fundname="BALANCED FUND"
unit="206.246"
                            unitprice="15.4779" balance="3154.32" />
                    </e:Account>
               </e:Investor>
          </e:InvestSummary>
     </e:GetInvestSummaryResponse>
</SOAP-ENV:Body>

*Note: There can be multiple Investors and Accounts in this Response. *

As well, my request has to get out through a firewall which requires a proxy ID
and password and... all of this must happen via HTTPS!

Thanks,
Steve Lysack
Rapport Interactive/Citizens Bank of Canada




---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org