Thursday, June 24, 2010

OSB XQuery mapping array to flat structure

Scenario -

incoming xsd -
contains an "array" of hobbies.

outgoing xsd -
contains a flat structure containing -

hobby1
hobby2
hobby3

Input XSD as follows -






Target XSD -



I created a new project in OSB

I imported the 2 xsds.

I created the Xquery Transformation –
and map hobby to hobby1, hobby2 and hobby3.



1 comment:

  1. How can I do this mapping reversed?
    So from 3 different strings into one array? Cant find this anywhere.

    ReplyDelete