You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

For Loop & IF Condition

edited Apr 24, 2020 6:27PM in Integration 2 comments

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!