cancel
Showing results for 
Search instead for 
Did you mean: 

In IE, How to create test for multiple mapping in one direction

Former Member
0 Kudos

hi, I created an Operation Mapping in ESB, which includes 2 steps mapping.

mapping1:

<source> <item> .. </item></source>

-->

<middle> <item> .. </item></middle>

mapping2:

<middle> <item> .. </item></middle>

-->

<target> <item> .. </item></target>

I test this OM in ESB, it works good.

However when I go to IE and tried to build a test scenario for it, it failed.

I used the "configuration wizard" of IE to build my test scenario, created the Communication Componet, Send receiver, etc as normal Operation Mapping does.

It reported a runtime error:

IllegalInstanceException: Cannot create target element /midd. Values missing in queue context. Target XSD requires a valu~

Looks like this exception happend at the step1 mapping. When I change my OM to only one step, everything OK.

Any special thing needed in IE for the multiple mapping in one OM?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The error clearly states there is an error in mapping 1 only. Please test the mapping1 because it is not creating the root element itself.

Regards,

---Satish

Former Member
0 Kudos

yes, I did test mapping1. I created a seperated OM for mapping1 and one IE senario, it works OK.

Former Member
0 Kudos

or PI7.1's bug? 😛

Former Member
0 Kudos

OK, now I solved it.

The reaon was I did wrong in OM.

In the definition tab,

I enter 2 rows for Source Operation and Target Operation.

Source Operation: Source, Middle

Target Operation: Middle, Target

And in mapping program table, I also enter 2 rows for the 2 message mapping

mapping1: Source -> Middle

mapping2: Middle -> target

the OM works, but the IE senarios failed.

I open the test tab of the OM, and found the data structure is strange.

And then I removed middle from Source Operation and Target Operation, then every thing be fine now.

That is, for an OM which include multiple message mapping, we still only need to specify one source and one target for the source operation and target opration, but need specify each message mapping in the mapping program table.

Former Member
0 Kudos

Hi,

Make sure that the source XMl payload will not have Message1 or Message0 tags etc..

that might have affected the the testing in ID part...

Thanks

Swarup

Former Member
0 Kudos

No, the source XML does not have those tags.

I used same source XML file, it passed on OM test, but failed in IE.

Former Member
0 Kudos

Hi,

I think you are using the PI7.1 ...right??

In PI 7.1, Interface determination indntifies the type of Operation mapping (Standard/extended)..

For Multi mapping it works as extended on runtime. so that might have affected your testing in ID part.

Please try to execute the complete end- to -end scenario, and verify if it works fine.

Refer -- /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

thanks

Swarup

Former Member
0 Kudos

yes, I use PI7.1.

But notice I did not use multi-mapping, I just created an OM, which includes 2 steps message mapping. I think it's different from the multi-mapping, right?

I ran it from start -> end, same error.