Nov 26
mirans parsing soap response
Nov 26, 2013; 09:18
mirans
parsing soap response
I really need help on parsing soap results =85 I just don't get it :-)
[output:(xml:$response)] gives:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GenerateApiKeyResponse xmlns="http://www.chili-publisher.com/"> <GenerateApiKeyResult><apiKey succeeded="true" key="wqaelVtDSPKPQtHHeZYOlV24F8sfgcBpz+pBaPRNSIzLtjyW2jvxlEvIIRV74F+N2hk88kXpNnOBYHWqCKjKeQ==" validTill="2013-11-26 19:09:26Z" superAdmin="true" /></GenerateApiKeyResult> </GenerateApiKeyResponse> </soap:Body> </soap:Envelope>
[output:$response->contents] gives:
<apiKey succeeded="true" key="wqaelVtDSPKPQtHHeZYOlV24F8sfgcBpz+pBaPRNSIzLtjyW2jvxlEvIIRV74F+N2hk88kXpNnOBYHWqCKjKeQ==" validTill="2013-11-26 19:09:26Z" superAdmin="true" />
I need to extract the values of 'apiKey succeeded' and the value for 'key'
But I have no clue how to do this (tried with xml_tree, tried all the xml tags)
I hope somebody can help me with this ?
The help will be much appreciated!
kind regards, miran
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Nov 26
Tim Taplin Re: parsing soap response
Nov 26, 2013; 07:29
Tim Taplin
Re: parsing soap response
Nov 26
mirans Re: parsing soap response
Nov 26, 2013; 20:06
mirans
Re: parsing soap response
Nov 26
Tim Taplin Re: parsing soap response
Nov 26, 2013; 12:19
Tim Taplin
Re: parsing soap response
Nov 26
Tim Taplin Re: parsing soap response
Nov 26, 2013; 13:16
Tim Taplin
Re: parsing soap response
Nov 26
mirans Re: parsing soap response
Nov 26, 2013; 21:28
mirans
Re: parsing soap response
Nov 26
Steve Piercy - Web Site Builder Re: parsing soap response
Nov 26, 2013; 14:24
Steve Piercy - Web Site Builder
Re: parsing soap response