on 09-02-2009 10:35 AM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.