on 11-27-2006 4:48 PM
Hello all,
I am using the X-path expression in the Receiver determination step of XI.
My message type is:
<MT_test1>
- <LGYCD>
<LGY1>RSB</LGY1>
<CMP1>500501502</COMPS1>
<LGY2>SPT</LGY2>
<CMP2>503504510</COMPS2>
</LGYCD>
</MT_test1>
If I use condition:
(/p1:MT_test1/LGYCD[LGY1!='RSB'] ≠ ' RSB ') then send to BS_RSB.
(/p1:MT_test1/LGYCD[LGY2!='SPT'] ≠ ' SPT ') then send to BS_SPT.
<i><b>Then the message is sent to the Legacy system without any errors.</b></i>
If I use condition like this:
(/p1:MT_test1/LGYCD/LGY2 = ' SPT ') then send to BS_SPT.
(/p1:MT_test1/LGYCD/LGY1 = ' RSB ') then send to BS_RSB.
And also changing the single quotes to double quotes and giving some space etc.
I am getting the error "NO receiver found" .
Can anyone explain the cause of the error.
Thankyou.
HI,
This blo gmay help you to understand the some syntax.
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>(/p1:MT_test1/LGYCD/LGY2 = ' SPT ')
The Xpath expression looks fine. What is the value for the node LGCY2? Remember it is case sensitive...
Can you try giving these
(/p1:MT_test1/LGYCD/LGY2 =SPT) or
(/p1:MT_test1/LGYCD/LGY2 ="SPT")
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.