on 04-07-2011 11:23 AM
Hello,
i have a problem with the Messagesplit.
OM is set to source[1] Target[0...unbounded]. Same in the MM
The source is an external definition. Within the Interfacemapping I have already in the Multiplicizy (0...unbounded)
In the Traces i can see that the tags Messages and Message are written down, but I couldn't see it in the payload. The target is not created.
Within the ESR the Mappingtest was succesfull, but in the runtime doesn't work.
Have anybody an idea?
It is a PI 7.11
Regards,
Bülent
Hi Bulent,
Are you using the source payload from message test tool, as the input data for your end to end test (through RWB or other way)? Please note that, if you are using multimapping then the source payload created in mapping test tool wouldn't work for end-to-end test in runtime.
The source payload must not contain "Messages" and "Message" nodes at runtime.
Regards,
Suddhasatta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bulent,
Lets revisit the prob.
The nodes message and message1 will be appended to your payload at runtime, rather mapping runtime only. You shouldn't be able to see these nodes in runtime payload. These values are used internally for multimapping/splitting. If the execution successful you should be able to see each of the messages as separate attachment to the main payload (after message mapping step in pipeline).
Now if you are copying the source payload from mapping tool and using to trigger runtime message from RWB, it's going to fail.
While triggering from Runtime workbench, remove the Messages, Message1 nodes/tags and associated namespaces (splitandmerge) from your runtime payload. This should make it work.
I dont think it has anything to do with your external defn or datatype.
Regards,
Suddhasatta
HI Bulent,
If it's a multimapping then it shouldn't allow you to test in mapping test tool with payload that doesn't have message and message1 tags. The source side would show error, the payload would appear red.
Hope you dont mind all this queries, I am just trying to understand the actual place where you have prob.
Regards,
Suddhasatta
Hi Bulent,
Ah, I think I got the bug
Have you declared the occurance of the target/inbound interface as 1..onbounded in the operation mapping. Under target operation there is a occurance column, which allows you to select the desired occurance from a dropdown list.
Is that the case?
Regards,
Suddhasatta
Hi Cakir,
Just recheck ur message mapping and Operation mapping once again ( some times we do over look )
1) Message Mapping
source message - 1
target message - 0...unbounded
2) Operation Mapping
source Service interface- 1
target Service interface - 0...unbounded
Hope above are fine with you .. now if u r testing the interface from RWB
your input XML should look like ( just an example)
<?xml version="1.0" encoding="UTF-8"?>
<data_records>
<field1> AA </field1>
<field2> BB </field2>
<field3> CC </field3>
</data_records>
There should not be any tag viz. Messages ,Message1 etc...
Just try it...
Go to the messages tab of the message mapping and there change the ocurrence to 0-unbounded ..
Check the root node is properly mapped
thanks
Ninad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I can't test the orginal payload in the IM, because there is'nt the tags Messages and Message1...But if i write it manually, then the mapping works fine.
This boths tags should but automatically within the runtime, but doesn't happening. An another important info is, that in the trace i could read, that this tags are already puted, but this not true....
It looks like a bug.
Thanks,
Bülent
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.