EDN Admin
Well-known member
Hi,
I have below XML input from which I have pick string values from CustPermId, BankProdId, CustPayeeId nodes and form another request to send it to different service. Below request will be dynamic and there can be one (either CustPermId, BankProdId
or CustPayeeId) or more than one Filter criterias will be there.
For example, if CustPermId is there in request, I want to pick value 001, and same for BankProdId in this case value shall be 002 so on.
<Filter><br/>
<span style="white-spacere <LeftOperand><br/>
<span style="white-spacere <Expression><br/>
<span style="white-spacere <LeftOperand><br/>
<span style="white-spacere <Expression><br/>
<span style="white-spacere <LeftOperand><br/>
<span style="white-spacere <PropName>CustPermId</PropName><br/>
<span style="white-spacere </LeftOperand><br/>
<span style="white-spacere <Operator><br/>
<span style="white-spacere <Type>Comparison</Type><br/>
<span style="white-spacere <Val>Equal</Val><br/>
<span style="white-spacere </Operator><br/>
<span style="white-spacere <RightOperand><br/>
<span style="white-spacere <Literal><br/>
<span style="white-spacere <Type>string</Type><br/>
<span style="white-spacere <Val>001</Val><br/>
<span style="white-spacere </Literal><br/>
<span style="white-spacere </RightOperand><br/>
<span style="white-spacere </Expression><br/>
<span style="white-spacere </LeftOperand><br/>
<span style="white-spacere <Operator><br/>
<span style="white-spacere <Type>Logical</Type><br/>
<span style="white-spacere <Val>And</Val><br/>
<span style="white-spacere </Operator><br/>
<span style="white-spacere <RightOperand><br/>
<span style="white-spacere <Expression><br/>
<span style="white-spacere <LeftOperand><br/>
<span style="white-spacere <PropName>BankProdId</PropName><br/>
<span style="white-spacere </LeftOperand><br/>
<span style="white-spacere <Operator><br/>
<span style="white-spacere <Type>Comparison</Type><br/>
<span style="white-spacere <Val>Equal</Val><br/>
<span style="white-spacere </Operator><br/>
<span style="white-spacere <RightOperand><br/>
<span style="white-spacere <Literal><br/>
<span style="white-spacere <Type>string</Type><br/>
<span style="white-spacere <Val>002</Val><br/>
<span style="white-spacere </Literal><br/>
<span style="white-spacere </RightOperand><br/>
<span style="white-spacere </Expression><br/>
<span style="white-spacere </RightOperand><br/>
<span style="white-spacere </Expression><br/>
<span style="white-spacere </LeftOperand><br/>
<span style="white-spacere <Operator><br/>
<span style="white-spacere <Type>Logical</Type><br/>
<span style="white-spacere <Val>And</Val><br/>
<span style="white-spacere </Operator><br/>
<span style="white-spacere <RightOperand><br/>
<span style="white-spacere <Expression><br/>
<span style="white-spacere <LeftOperand><br/>
<span style="white-spacere <PropName>CustPayeeId</PropName><br/>
<span style="white-spacere </LeftOperand><br/>
<span style="white-spacere <Operator><br/>
<span style="white-spacere <Type>Comparison</Type><br/>
<span style="white-spacere <Val>Equal</Val><br/>
<span style="white-spacere </Operator><br/>
<span style="white-spacere <RightOperand><br/>
<span style="white-spacere <Literal><br/>
<span style="white-spacere <Type>string</Type><br/>
<span style="white-spacere <Val>003</Val><br/>
<span style="white-spacere </Literal><br/>
<span style="white-spacere </RightOperand><br/>
<span style="white-spacere </Expression><br/>
<span style="white-spacere </RightOperand><br/>
<span style="white-spacere </Filter>
View the full article
I have below XML input from which I have pick string values from CustPermId, BankProdId, CustPayeeId nodes and form another request to send it to different service. Below request will be dynamic and there can be one (either CustPermId, BankProdId
or CustPayeeId) or more than one Filter criterias will be there.
For example, if CustPermId is there in request, I want to pick value 001, and same for BankProdId in this case value shall be 002 so on.
<Filter><br/>
<span style="white-spacere <LeftOperand><br/>
<span style="white-spacere <Expression><br/>
<span style="white-spacere <LeftOperand><br/>
<span style="white-spacere <Expression><br/>
<span style="white-spacere <LeftOperand><br/>
<span style="white-spacere <PropName>CustPermId</PropName><br/>
<span style="white-spacere </LeftOperand><br/>
<span style="white-spacere <Operator><br/>
<span style="white-spacere <Type>Comparison</Type><br/>
<span style="white-spacere <Val>Equal</Val><br/>
<span style="white-spacere </Operator><br/>
<span style="white-spacere <RightOperand><br/>
<span style="white-spacere <Literal><br/>
<span style="white-spacere <Type>string</Type><br/>
<span style="white-spacere <Val>001</Val><br/>
<span style="white-spacere </Literal><br/>
<span style="white-spacere </RightOperand><br/>
<span style="white-spacere </Expression><br/>
<span style="white-spacere </LeftOperand><br/>
<span style="white-spacere <Operator><br/>
<span style="white-spacere <Type>Logical</Type><br/>
<span style="white-spacere <Val>And</Val><br/>
<span style="white-spacere </Operator><br/>
<span style="white-spacere <RightOperand><br/>
<span style="white-spacere <Expression><br/>
<span style="white-spacere <LeftOperand><br/>
<span style="white-spacere <PropName>BankProdId</PropName><br/>
<span style="white-spacere </LeftOperand><br/>
<span style="white-spacere <Operator><br/>
<span style="white-spacere <Type>Comparison</Type><br/>
<span style="white-spacere <Val>Equal</Val><br/>
<span style="white-spacere </Operator><br/>
<span style="white-spacere <RightOperand><br/>
<span style="white-spacere <Literal><br/>
<span style="white-spacere <Type>string</Type><br/>
<span style="white-spacere <Val>002</Val><br/>
<span style="white-spacere </Literal><br/>
<span style="white-spacere </RightOperand><br/>
<span style="white-spacere </Expression><br/>
<span style="white-spacere </RightOperand><br/>
<span style="white-spacere </Expression><br/>
<span style="white-spacere </LeftOperand><br/>
<span style="white-spacere <Operator><br/>
<span style="white-spacere <Type>Logical</Type><br/>
<span style="white-spacere <Val>And</Val><br/>
<span style="white-spacere </Operator><br/>
<span style="white-spacere <RightOperand><br/>
<span style="white-spacere <Expression><br/>
<span style="white-spacere <LeftOperand><br/>
<span style="white-spacere <PropName>CustPayeeId</PropName><br/>
<span style="white-spacere </LeftOperand><br/>
<span style="white-spacere <Operator><br/>
<span style="white-spacere <Type>Comparison</Type><br/>
<span style="white-spacere <Val>Equal</Val><br/>
<span style="white-spacere </Operator><br/>
<span style="white-spacere <RightOperand><br/>
<span style="white-spacere <Literal><br/>
<span style="white-spacere <Type>string</Type><br/>
<span style="white-spacere <Val>003</Val><br/>
<span style="white-spacere </Literal><br/>
<span style="white-spacere </RightOperand><br/>
<span style="white-spacere </Expression><br/>
<span style="white-spacere </RightOperand><br/>
<span style="white-spacere </Filter>
View the full article