cancel
Showing results for 
Search instead for 
Did you mean: 

RB_Split option not found for message split

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Steve, It should work if you select Enhanced as you are splitting message. Did you do configuration part correct?

Please check again. If possible you can post how you are doing mapping part so that someone can here help.

bhavesh_kantilal
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

bhavesh_kantilal
Active Contributor
0 Kudos

<i>For mapping, I have:

<MultiXML> 1..1 <SingleXML> 0..unbounded (no mapping)</i>

Steve this is the problem.

Map it as follows,

1.RECORD of SOURCE should be mapped to <SINGLEXML> of target.

2.RECORD Of target map it to a CONSTANT.

3.Test your scenario and let us know if it worked.

Regards,

Bhavesh

Former Member
0 Kudos

Bhavesh!

It works!!!!

Thanks man.

Steve

bhavesh_kantilal
Active Contributor
0 Kudos

nice to know dat

cheers,

Bhavesh

Answers (0)