on 08-11-2009 12:33 PM
Hi Friends,
I have written an adapter module. Before deploying on adapter engine, I want to do test in NWDS. Any idea how to do this. Please provide sample java code, if possible.
Thanks,
Sandeep Maurya
Hi Sandeep,
Unfortunately , i don't think there is any provision for this .
You need to deploy it somewhere PCK/XI box.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You dont need to configure the end to end scenario. Just develop a simple Java class with a main method. In the main method use File Input Stream to read the file from your local hard drive. Now pass this to another method with in your class (what ever coding logic you have developed in the execute method for you adpter module) Finally store the result of the logic in your hard drive again using a File Output Stream.
Regards
Jai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Since runtime and module processor framework is not available on your local machine that's why adapter module test not possible using NWDS on local machine.
Another possibility is to install PCK on some local machine for testing purpose.
You must deploy (either on PCK or AE) it and test.
Regards,
Gourav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sandeep,
You cant test it in NWDS. If you want to test it , take the code and write it like a Java Class and test it.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandeep,
I think its not possible to test the custom module which we develop using NWDS, unless we deploy to the server.
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.