on 06-06-2016 8:15 AM
Hi,experts.
I have a problem about define receiver system filter.
In the Define Receiver Filter,I input the xpath like this ,/vpf:Msg/vpf:Header/vpf:Sender/@Id = /vpf:Msg/vpf:Header/vpf:ReceiverList/vpf:Receiver[./handover='P']/@Id.But when I run the step ,the B1if show me the error:Prefix "vpf" is not mapped to the namespace.If I delete the vpf,the filter always failed,all outbound are filtered.Anyone else can tell me how to sovled this problem?
Thanks a lot.
Regards.
lee
Hi,
please check the syntax of your xpath.
Following is taken from the receiver filter documentation:
Configuring Receiver Filter Definitions
To exclude receiver systems for some scenario steps or to define a condition, under which the integration framework sends messages, select Maintain Sender Filter Definitions. The integration framework displays all scenario steps, each with all applicable and selected receiver systems. You have the following options:
● To exclude a receiver system for a scenario step, enter no in the input field or deselect the scenario step.
● To define a condition for a receiver system and a scenario step, enter the XPath expression in the input field. You can use the $msg variable for the incoming sender message, for example,$msg/root/@flag=’A’.
NOTE
To use individual namespaces, define them in scenario step design.
Namespace
If the step uses an individual namespace, click the button to display the namespace.
Filters are normally defined based on the sender payload and not by the Header information of the message.
Best regards
Bastian
P.S.: /vpf:Msg/vpf:Header/vpf:ReceiverList/vpf:Receiver[./@handover='P']/@Id is only relevant if the scenario step is running on receiver side: It marks the actual receiver of the message, an additional filter would probably have no extra benefit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
10 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.