on 08-30-2006 2:50 AM
Hi all,
We're configuring to split a single XML with multiple records into multiple single record XML files.
We have referenced the blog:
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
but, during interface determination config, we cannot find the options for RB_Classic & RB_Split.
We're on SPS17 already...are we missing a patch of some sort?
Thanks!
Steve
Steve,
These options changed in recent versions. Can you see Standard and Enhanced options ?
RB_Classic is Standard
and RB_Split is Enhanced for your scenarios.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
I can only see "Standard" and "Enhanced". I read somewhere that "Enhanced" is something completely different.
I already have the message mapping set up in IR. However, it looks like without this setting in ID, it is only performing the split once. So I only end up with the first record in the original message as output (5 records total).
Thanks...
Steve
Steve,
<i>I read somewhere that "Enhanced" is something completely different</i>.
If you choose ENHANCED in INTERFACE DETERMINATION , it is used for 1: N mapping.
There is also an ENHANCED option available in Receiver Determaintion from Sp16 onwards, which enables you to dynamically determine receivers using a mapping .
In your case, for 1: N mapping , choose ENHANCED in INTERFACE DETERMIANTION.
Also, make sure that the occurence of the MESSAGE TYPE and MESSAGE INTERFACE in MESSAGE MAPPING and INTERFACE MAPPING has been made 1 to unbounded.
Regards,
Bhavesh
Hi Bhavesh,
OK! I forgot to modify the 0...Unbound option in interface mapping. So that solves the first part.
Now, I'm simplifying my test to use 1 XML with 2 records and attempt to generate 2 single record XMLs. I'm still only getting 1 output single record XML only.
My input XML looks like:
<ns0:MultiXML xmlns:ns0="urn:himax:b2bi:poc:multiMapTest">
<Record>
<ID>1</ID>
<FirstName>Steve</FirstName>
<LastName>Chen</LastName>
</Record>
<Record>
<ID>2</ID>
<FirstName>Sunny</FirstName>
<LastName>Huang</LastName>
</Record>
</ns0:MultiXML>
and desired output is:
<ns0:SingleXML>
<Record>
<ID>1</ID>
<FirstName>Steve</FirstName>
<LastName>Chen</LastName>
</Record>
</ns0:MultiXML>
... generate as many files as the original # of records.
For mapping, I have:
<MultiXML> 1..1 <SingleXML> 0..unbounded (no mapping)
<Record> 1..unbounded <---> <Record> 1..1
<ID> 1..1 <---> <ID> 1..1
etc. etc.
Is it something to do with my occurence settings?
Thanks!!!
Steve
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.