Hello Marco,
I changed the icon of your topic to ?Bug? since the path evaluation of X-Application for your schema produces an error.
This error occurs if you have an optional field (in your case Nachrichtenfunktion?) is part of an sequence with multiplicity ( of ?Speditionsauftrag?).
A workaround for this situation could be the introduction of another element for the anonymous sequence. I changed your schema and used ?Austragsposition? to define the sequence of the Speditionsauftrag.
The advantage:
- it works with X-Application.
- the addressing of sequences via XPath is easier than before with regard to the element Nachrichtenfunktion. If you want to address the Nachrichtenfunktion of the third sequence, you have to know if the first and second sequence have an element Nachrichtenfunktion or you have to use XPath expressions with more complex navigation terms than ?/? .
Nevertheless, we will try to fix the bug. If it is fixed we will make a post with the source code of classes which have to be replaced.
Can you live with change within your schema or is it a customer schema which you cannot touch?
Bye,
Christian.
speditionsauftrag_pos.tsd (13 KB)
#Tamino#API-Management#webMethods