on ‎2014 Feb 25 9:02 AM
Hi PI experts.
Using PI 7.4 Java only and trying to make a mutimapping splitting an incoming message into mutiple messages using the following guide.
My operation mapping is as the picture showes.
When I do the mappings 1...1 then the mappings work.
One message in and out I get one correct message.
I tried to change the second mapping to 0...unbounded.
The mapping adds the Message and Message1 segments.
When i test the Operation Mapping after i activated it the Operation mapping only produces the two message segments and nothing else.
I then tried to change the first mapping to 0...unbounded. When I test the operation mapping now I have to add the Message and Message 1 segments and it works.
I then tried to process a file with my FTP adapter and ofcourse the mapping failed.
Do I have to add the Messaeg and Message1 segment in my content conversion?
How is this done because when I change the document name in the conten conversion the conversion fails.
Is this the correct way to make a split of messages in PI 7.4 Java obly or can I use the interface split functionality in the integration Flow in NWDS?
What shall I try next to make any progress?
Thanks for all the help I can get.
Andreas
Request clarification before answering.
Hi,
Do I have to add the Messaeg and Message1 segment in my content conversion?you don't have to add this.
I then tried to process a file with my FTP adapter and ofcourse the mapping failed.did you put Message tag in the input file. if yes then you have to remove it.
Regards,
Muni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I post a message as xml file generated from the mapping it self.
I get an error that no receiver interface could be determined.
This message is with the Message tags included and read by an FTP adapter processing the message thru the scenario.
If i remove the message tags and try to process the message thru the scenario I get a mapping error that it is not possible to mapp the first segment in the target structure.
If I use the content conversion from txt file as I did before the multimapping was in place I get the following error.
Same as with the xml without the message tags.
//Andreas
Hi,
first error happens because of message tag.
in the second and third error screen shot show that values missing in the queue context. this is means mandatory fields are missing. or you are not handling the context properly.
please reply back for indrajits question? why do you use 2 mappings?
can you show your source and target message?
Regards,
Muni.
Hi ,
So the first mapping is not 0:unbounded, so check this way
take the input payload and test operation mapping ( step 1 to 1 ).
Copy the xml that has been generated in the target side, put that in the source and execute step 2 to 2.
This way you will be able to identify the which step is causing the problem and why.
If I do not use the message tags when I test the mapping then the first step fails.
If I use the message tags in the message then the whole mappings executes ok.
The thing is if I use the message with message tags in it shows up red in the source structure but the mapping executes.
If I do not us it the operation mapping says I can't populate the target structure.
This is when I do test of mapping in ESR.
//Andreas
To test the mapping in ESR (operation or message map) you need to use the message message1 tag.
To test end to end no need to worry about the message message1 tag.
Ignore the red in the source of operation mapping.
Do you have any other issue when you execute the message in ESR with message message1 tag
regards,
Harish
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.