on 10-17-2007 5:30 PM
Hi XI-experts,
Why does XI always makes a node element? We made an interface that decides if a message will be created or not.
If not XI always makes a node on top level (MT_MESSAGE) with no nodes underneath it. The result of this is that XI always creates a message.
for example, the message is:
<MT_MESSAGE>
<Customer>XI-Expert</Customer>
<Address>SDN Form</Address>
</MT_MESSAGE>
The interface decides that this customer is not an valid customer. As a result in XI after the message mapping we get
<MT_MESSAGE></MT_MESSAGE>
We are not be able to mark it as an optional node. Because it is the top element in the Message Type.
So in this cause XI generates a message.
How is it possible to delete this node element?
Regards, Luc
Hey
XI uses valid XML and mandatorily needs a single root node,if you change the occurence of node to optional then there is a possibility that XML generated might not be valid and due to this XI does not let u define the root node as optional.
whay not handle this issue in conditional receiver determination and send a mail(or absolutely end message processing) customer is not valid.
also explore the CreateIf function of message mapping,it might also be able to solve the problem.
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.