For Loop & IF Condition
Content
Hi,
I have 2 services both having same input argument (PartyId) but different responses. I tried to combine both service response into one where I am facing some challenges.
I have to show the one of the second service response field value (PartySiteNumber) based on first response field value (PartySiteId) for that I have written if condition. But I didnt get the final response as expected.
1st Service Response:
<nstrgmpr:findCustomerAccountResponse>
<ns2:Value>
<ns2:PartyId>PID</ns2:PartyId>
<ns2:CustomerAccountId>CAID1</ns2:CustomerAccountId>
<ns2:CustomerAccountSite>
<ns2:PartySiteId>PSID1</ns2:PartySiteId>
</ns2:CustomerAccountSite>
<ns2:CustomerAccountSite">
<ns2:PartySiteId>PSID2</ns2:PartySiteId>
</ns2:CustomerAccountSite>
Tagged:
1