on 02-11-2013 5:40 PM
hi,
i have put 2 conditions in interface determination.
(/Test/Extra/@name = HOST)
(/Test/Extra/@name = IP)
when both conditions are present in interface determination condition,message is failing.Error comes - Unable to find an inbound interface
If only one condition is there in interface determination message is success.
please provide solution for multiple condition in interface determination in PI 7.1
rgds
Hi,
I have 2 operation mapping.
1.(/Test/Extra/@name = HOST)
2. (/Test/Extra/@name = IP)
For condition 1 , a operation mapping is called.
For condition 2, different operation mapping need to be called.
and both kind of messages has to go to a single receiver.
when i am putting 2 conditions in receiver interfaces of Interface Determination,message is failing with error unable to find inbound interface,but when i am putting only 1 condition (any of these 2) message is successful.
The reply posts dint help yet.Please respond on it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am in PI 7.1.
when i am going to interface determination->receiver interfaces->condition, its asking to use context object or xpath. i am using xpath and selecting the node HOST
Its coming like
/Test/Extra/@name = HOST
I am not able to edit it.
scenario is HTTP request is coming where he name attribute (node) value is HOST.When it is true then relevant mapping to be called and sent to a receiver via HTTP again.
/Test/Extra/@name = HOST
when node/attribute value is other than HOST then different mapping to be called.
In the payload name attribute comes as HOST as shown below :
<Extrinsic name="USERNAME">HOST</Extrinsic>
please let me know how to put condition in interface determination PI 7.1 for it so that payload check is done properlty and corresponding mapping program is called.
Message was edited by: SAP PI
Hi ,
please check following x-path that may help:
/Test/Extra/Extrinsic[@name = 'HOST']
for more information check below link:
http://www.w3schools.com/xpath/xpath_syntax.asp
Regards
Gagan
Hi,
First try as below
Proceed as above don't edit .Put the respective conditions.Do one round of test to check whether it works not .
/Test/Extra/@name = HOST -->SI1
/Test/Extra/@name = IP -->SI2.
If the above does not work then
open the editor -->select xapth-->you can white editor ,there copy paste the below cond.
/p1:Test/Extra[@name] click ok and give value = HOST outside .repeat the same for IP as well
Regards
Venkat
I tried for One only
/Test/Extra/@name = HOST , i gave this condition in XPATH and selected operation mapping,SI.The result is if name is any value message is successful.Its not checking the condition.
I tried 2nd option too
/p1:Test/Extra[@name] click ok and give value = HOST outside
for this also its sending message for any value of name field.
The input payload is
<cXML>
<Request>
<TEST>
<Extra name="USER">HOST</Extra>
</TEST>
</Request>
</cXML>
Please advise on it
<cXML>
<Request>
<TEST>
A
</TEST>
</Request>
</cXML>
I refined my input payload as above and putting condition as
/Request/Test=A
/p1:Request/Test=A
But still its getting error. what will be correct xpath condition for it. If TEST node is A then service interface to be called.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Input Payload is :
<cXML>
<Request>
<TEST>
A
</TEST>
</Request>
</cXML>
I refined my input payload as above and putting condition as
/Request/Test=A
I tried this..But its not working.
If i am putting no condition same payload is successful. So i do not see issue with payload here. Why condition is not working..
I am getting strange issue.
When i am putting any condition in Interface determination ->receiver interfaces, its not getting saved.
I created new interface determination and found condition not getting saved.
I am on PI 7.1.
please help in it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Go through the below link for cache problem resolution.
http://www.riyaz.net/sap/xipi-sap-xi-troubleshooting-guide/372/
Regards
Venkat
Hi,
Go with the condition as mentioned by Nabendu. Use OR condition instead of adding multiple conditions. Just in case its not working.... delete the object and create afresh.
There are good blogs available and the one written by Shabarish is quiet elaborative.
Thanks
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try like below:
/p1:Test/Extra[(name = "HOST" or name = "IP")]
Check the below blog of Shabarish, it should resolve your issue. You can same type of XPath condition in Interface Determination.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have two operations/inbound service interfaces and the particular message is not satisfying the conditions for either of the inbound interfaces, hence you get unable to find an inbound interface.
You have to either add more conditions to make the same message go through any of the inbound interfaces or just create a dummy inbound interface/receiver business service and ignore the file.
Regards,
Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Below are the combinations you can put.
case1:
xpath condition b/w SI1 and SI2 (Example:cond1 (and/or....comparator operator) cond2 )
case2:
xpath condition b/w SI1 and SI2.
xapth condition b/w SI1 and SI3.
xapth condition b/w SI1 and SI3.
Are you using either of the above cases?.
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.