on 07-19-2016 9:03 AM
Hi All!
I do have a requirement to map 1 XML file containing large amount of records into a SOAP service operation call that is bulk. The target Message will be more complicated in its hierarchy than the source message.
Thanks to the community members - I do have a message mapping that works well for 1:1 message mapping.
Here it is (also how the messages look like)
Now as I mentioned - the final solution should split target message into multiple occurrences of the same Message type.
Target mapping requirements:
- each source/Record element should create target/CardContract/BussContent element
- source/Record/newCardID should be mapped to target/CardContract/BussContent/CardID field
- after every 3 source/Record elements - another instance of mesage MT_CardCrtAsBulk should be created - typical bulk scenario with data packaging
I mean the following:
Record1 -> MT_CardCrtAsBulk1->BussConent1
Record2 -> MT_CardCrtAsBulk1->BussConent2
Record3 -> MT_CardCrtAsBulk1->BussConent3
Record4 -> MT_CardCrtAsBulk2->BussConent1
Record5 -> MT_CardCrtAsBulk2->BussConent2
Record6 -> MT_CardCrtAsBulk2->BussConent3
and so on...
I've tried to start with the splitting by myself - found some materials in SDN and so I changed the signature of the target message to 1..unbounded and did some draft work but I still cannot make it work.
That's what I did (simplified - constants assigned to CardID as I couldn't make it work otherwise):
Please note it's not working and I'm getting errors that depending on what I change in the flow - either CardID does not have value or CardContract
Could you guys please suggest the target mapping which would solve the requirements above?
Thank you all in advance!
Best regards
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.