on 06-15-2006 12:12 PM
Hi,
I have a schema definition :
<MSG>
<ORDERS05 /> 0 ..1
<DELVRY03 /> 0 ..1
<INVOIC01 /> 0 ..1
</MSG>
and now I need to write a condition for a Interface Determination.
Now I have e.g. : "count(/p1:MSG/ORDERS05) = 1" where p1 is a namespace.
But in runtime I get an error : "Not receiver coud be determined.
Any help is very appreciated.
Thanks.
Marian
hi,
this will work for sure:)
/p1:MSG [count(/p1:MSG/ORDERS05) = 1] <b>EX</b>
where: /p1:MSG [count(/p1:MSG/ORDERS05) = 1]
is an Xpath
and EX is a condition in the <b>conditon editor</b>
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The receiver determination works as an existence check for the XPATH expression.
An XPATH can produce multiple nodes. The receiver determination accepts the receiver when the XPATH produces at least one node. Otherwise the receiver is denied.
If you want to check the existence of a node, just enter the path to the node, that's it.
/p1:MSG/ORDERS05 <b>EX</b>
Regards
Stefan
Hi,
If you want to check for the TAG occurence in the Receiver Determiantion,
just use the condition as NOT NULL or NOT EQUAL TO.
COUNT function cannot be used in the Receiver Determination.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.