on 05-03-2007 9:58 AM
Hi Group,
In one of my File to File Interface I am using Java Mapping.In the Message Mapping they are 3 nodes.
1.Header 2.Item 3.Trailer.
I have one validation on the record count with the count mentioned in the trailer.
when I am processing the File I am getting the Exception that record count not matching,now I want to test this in the Message Mapping,how to test the scenario when Java Mapping Involved?
Hello,
Please do this at Interface Mapping.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
take the payload as shown in my blog:
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
then test your mapping in Interface mapping (not message mapping)
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
When I am taking source from the Payload it is showing as row but in Mapping I have Header,Item,Trailer this is because in the Seder Communication channel in the Content Conversion I am using as Recorset structure as row and separator as new line,In the Java Mapping I am dividing this row in to Header,Item,Trailer.
Now I want to test this with taking Payload Mesaage,Can you please suggest
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
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.