Forum Discussion
karthe
13 years agoOccasional Contributor
Hi Reshma,
Thanks for reply and script. looks good. I have an another question.
Is it possible to write the tag in the specified block based on the response. i.e Assume the below response ,
<s0:idCreationResponse xmlns:s0="urn:xxxxxxxx.xxxxx.xxxxx">
<status>P</status>
<ID>23000234 CREATION SUCCESS</ID>
</idCreationResponse>
request should be written in the pending block & leaving the active block as blank like below ie, if response contains the status as P.
<search>
<active></active>
<pending>
<status>Pending</status>
<date>xxxx-xx-xx</date>
</pending>
</search>
request should be written in the Active block & leaving the pending block as blank like below i.e, if response contains the status as A.
<search>
<active>
<status>Active</status>
<date>xxxx-xx-xx</date>
</active>
<pending></pending>
</search>
Could you please advise on this? Thanks in advance!!
Thanks for reply and script. looks good. I have an another question.
Is it possible to write the tag in the specified block based on the response. i.e Assume the below response ,
<s0:idCreationResponse xmlns:s0="urn:xxxxxxxx.xxxxx.xxxxx">
<status>P</status>
<ID>23000234 CREATION SUCCESS</ID>
</idCreationResponse>
request should be written in the pending block & leaving the active block as blank like below ie, if response contains the status as P.
<search>
<active></active>
<pending>
<status>Pending</status>
<date>xxxx-xx-xx</date>
</pending>
</search>
request should be written in the Active block & leaving the pending block as blank like below i.e, if response contains the status as A.
<search>
<active>
<status>Active</status>
<date>xxxx-xx-xx</date>
</active>
<pending></pending>
</search>
Could you please advise on this? Thanks in advance!!