on 06-13-2012 10:02 AM
I want to know how do we test an inbound transaction whether it is working correctly.I want to check the integration between my databases and MII . I am making a transaction that picks the records from the database and inserts them into sample XML. So I want to know how do we test this transaction.
Is there any specific mechanism involved? I am using 12.1 version.
Thanks Seng Kiang Hoe and Stephen. I will try these methods and get back to you guys if I face any issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajeev
I agree with the above response. If you put a "Write File" action block at the end of your transaction and assign the XML you want to see to it's "text" input, you can set the action block to write the file to your file system, run the transaction manually, and examine the file to see your XML code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajeev,
In the "path" input, you need the path to the folder you want in quotes, and with two backslashes for every one you want in the path.
You need the folders to already exist on the system, it will not create them. You also need to specify the file name here.
example:
"c:\\TestFolder\\XMLTests\\XMLTest.xml"
which will give you:
c:\TestFolder\XMLTests\XMLTest.xml
I normally put a GUID in the file name to make it unique. like this:
"c:\\TestFolder\\XMLTests\\XMLTest" & guid & ".xml"
which will give you:
c:\TestFolder\XMLTests\XMLTest452730e0-b62f-11e1-9d2d-c7b10a35535e.xml
Thanks a lot Stephen,
But now I am getting following error:
I have created a text file named xmltest and saved it as xmltest.xml in the TestFolder in C drive.
I don't understand how it is unable to locate the file that I have created?
Sorry for asking you again and again..
Hi rajeev
What I will do is just save the XML file either locally in MII server or in a folder. At the same time you can look at Transaction Manager to see if any error occur.
bes of luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
7 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.