Forum Discussion

Rakinson23's avatar
Rakinson23
Occasional Contributor
6 years ago

How to get vale for this kind of response and pass it to another request ?

Hi,
I'm trying to get specific value from response via 'property transfer' but i don't have any idea how to take it from it,
I will be very grateful for help.

 

This is my response:

<InvokeSBSEventRs xmlns="xyz">
<EventType>Receipt</EventType>
<Parameters>
<Parameter name="PROCEDURE_RESULT" type="java.lang.String">OK</Parameter>
<Parameter format="0.#########################" name="RECEIPT_ID" type="oracle.jbo.domain.Number">54326</Parameter>
<Parameter format="0.#########################" name="PAYMENT_ID" type="oracle.jbo.domain.Number">54326</Parameter>
<Parameter name="APPLSRC" type="java.lang.String">GEN</Parameter>
<Parameter name="RETURN_STATUS" type="java.lang.String">F</Parameter>
</Parameters>
</InvokeSBSEventRs>

 

I'm trying to get RECEIPT_ID and i received null as a result

 

my path looks like that

//*:Parameters//*:Parameter/*:Parameter[Parameter="RECEIPT_ID"]

 

 

    • Rakinson23's avatar
      Rakinson23
      Occasional Contributor

      It was good prompt but as answer i still received [null]

      Now i have something like that: 
      //*:Parameters/*:Parameter[@name='RECEIPT_ID']

      and it gives me correct number :)
      but anyway thanks for response !