Oct 30
mirans problem with receiving response from soap call
Oct 30, 2013; 23:12
mirans
problem with receiving response from soap call
Hi,
After making a soap call to a web service I get a response:
<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> <ExecuteRequestWithLoginResponse xmlns="http://tempuri.org/"> <ExecuteRequestWithLoginResult> <string>1.3</string> <string><?xml version="1.0" encoding="utf-16"?> <OrderEntryResponse> <Version>1.3</Version> <Customer> <CustomerNr>17384</CustomerNr> <Orders> <Order> <Customer_OrderNr>638e401dcdf2648d/33</Customer_OrderNr> <TrackAndTraceUrl>http://www.dynafix.com/ascimadtctest/Forms/frm_dtcorder_tracestatus.aspx?ordernumber=17384638e401dcdf2648d/33&zipcode=2651XN</TrackAndTraceUrl> <ResponseCode>4</ResponseCode> <ResponseDescription>Order already exists (Dynalogic Reference: 100014433), order not imported.</ResponseDescription> </Order> </Orders> </Customer> </OrderEntryResponse
></string> <string/> </ExecuteRequestWithLoginResult> </ExecuteRequestWithLoginResponse> </soap:Body> </soap:Envelope>
I need to extract the values <TrackAndTraceUrl> <ResponseCode> <ResponseDescription>
I have tried with xml_tree to extract those values, but I get an error: No tag, type or constant was defined under the name string->Orders
How do I extract those values ?
It's driving me nuts :-)
thanks, 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>
Oct 30
mirans Re: problem with receiving response from soap call
Oct 30, 2013; 23:29
mirans
Re: problem with receiving response from soap call
Oct 30
Steve Piercy Re: problem with receiving response from soap call
Oct 30, 2013; 19:09
Steve Piercy
Re: problem with receiving response from soap call
Oct 31
mirans Re: problem with receiving response from soap call
Oct 31, 2013; 09:04
mirans
Re: problem with receiving response from soap call
Oct 31
mirans Re: problem with receiving response from soap call
Oct 31, 2013; 11:00
mirans
Re: problem with receiving response from soap call