vinod takke

vinod takke

  • NA
  • 4
  • 456

How to get response value of soap envelop

Jan 16 2019 5:11 AM
I have a response.
 
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'>
<SOAP-ENV:Body>
<ns0:serviceResponse xmlns:ns0='http://www.ingrammicro.com/order/OrderEventViewResponse_v1_0/types'>
<responsePreamble xmlns=''>
<requestStatus xmlns=''>SUCCESS</requestStatus>
</responsePreamble>
<orderEventViewResponse xmlns=''>
<numberOfResults xmlns=''>1</numberOfResults>
<responseData xmlns=''>
<companyCode xmlns=''/>
<orderDate xmlns=''>2018-08-02</orderDate>
<branchNumber xmlns=''>20</branchNumber>
<orderNumber xmlns=''>RBV00</orderNumber>
<distributionNumber xmlns=''>1</distributionNumber>
<shipmentNumber xmlns=''>1</shipmentNumber>
<lifeCycleEvent xmlns=''>
<statusCode xmlns=''>V1</statusCode>
<statusDescription xmlns=''>NO DESCRIPTION</statusDescription>
<reasonText xmlns=''>ORDER VOIDED; VOID ORDER</reasonText>
<lineNumber xmlns=''>0</lineNumber>
<promiseDate xmlns=''>2018-08-02</promiseDate>
<date xmlns=''>2018-08-02</date>
<time xmlns=''>12:33:04.989</time>
<timestamp xmlns=''>2018-08-02T12:33:04.989-07:00</timestamp>
<programName xmlns=''>ORP474</programName>
<operatorID xmlns=''>LU62</operatorID>
</lifeCycleEvent>
<lifeCycleEvent xmlns=''>
<statusCode xmlns=''>O</statusCode>
<statusDescription xmlns=''>NO DESCRIPTION</statusDescription>
<reasonText xmlns=''>ORDER ENTRY</reasonText>
<lineNumber xmlns=''>0</lineNumber>
<promiseDate xmlns=''>2018-08-02</promiseDate>
<date xmlns=''>2018-08-02</date>
<time xmlns=''>12:33:03.993</time>
<timestamp xmlns=''>2018-08-02T12:33:03.993-07:00</timestamp>
<programName xmlns=''>ORP678*</programName>
<operatorID xmlns=''>AG62</operatorID>
</lifeCycleEvent>
</responseData>
</orderEventViewResponse>
</ns0:serviceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
 
I want value say ORP678 of <programName> of  <lifeCycleEvent> node

Answers (1)