on 02-25-2014 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
Hi Andreas,
I am also facing similar issue. Multi mapping with multiple mappings. If your issue is solved , can u please guide me what are steps you followed to solve the issue.
Thanks & Regards,
Uma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it possible that I have the problem because we are running a Java only system?
This would creat Integration Flows that uses Integrated Configurations and not the ordinary Receiver Determinations.
Could this be the problem and what would the solution be then?
//Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Made som progress.
A norty little mapping had made it into my mapping.
Somehow I managed to mapp the Message tag in the first mapping and therefor the mapping failed.
But now I face a new problem.
This is the message that my mappings produce at the moment.
According to the blog I'm following the target message mapping should be 1...n
The operation target occurense should be 1...1.
Hi Andreas,
you define the occurance in message map that you can have 0 or n number of target messages after mapping, then operation mapping should able to genrate 0 or n number target message at run time. for that you need to define 0..n occurence in operation mapping. and you configuration should also reflect this. for that you just need to activate the operation map with 0..n occurance and edit the ICO, select the operation map again and activate.
The interface should work after this changes.
regards,
Harish
hello,
Open http://host:port/dir/start/index.jsp
then go to Administration and there u will see ur SP number (just below Software build information)
NW731EXT_09_REL | |
09 | |
jdk16 |
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 |
---|---|
76 | |
11 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.