Problem mapping to unbounded sequence in OSB
901556Nov 22 2011 — edited Nov 23 2011I have a problem with the Xquery transformation editor in Oracle Service Bus.
In the source I have an element with maxOccurs="unbounded" and in the target I have a sequence with maxOccurs="unbounded" containing an element with maxOccurs="1".
The problem is in the Xquery mapping interface all sequences are ignored. Thus it looks like 'targetElement' can only occur once and so I don't know how to resolve this. Is there a way to view the sequences in the mapping interface or something?
---xsd SOURCE---
<xsd:element name="sourceElement" maxOccurs="unbounded">
/.../
</xsd:sourceElement>
-----------------------
---xsd TARGET---
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="targetElement" minOccurs="0">
/.../
</xs:targetElement>
</xs:sequence>
----------------------
(I am not at liberty to change the xsd's.)
Thanks in advance, Emelie