Skip to Content
author's profile photo Former Member
Former Member

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

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


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


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


<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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 02, 2009 at 10:05 AM


    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...



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2009 at 03:17 AM


    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.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.