on 06-09-2009 3:51 PM
I need call a transaction in the ms-dos. Someone can help-me?
Hello Ted,
source test.bat see below
@echo off
start iexplore.exe "http://danilosantos/Lighthammer/Runner?Transaction=Training/Trash/SumValues&num1=%1%&num2=%2%&OutputParameter=result&IllumLoginName=Admin&IllumLoginPassword=Admin&content-type=text/xml"
on ms-dos execute
c:\test.bat 10 10
my result is 20
Training/Trash/SumValues = your paste with name this transaction
Variables internal
num1=%1%
num2=%2%
Config user and password
IllumLoginName=Admin&IllumLoginPassword=Admin
Danilo
Edited by: Danilo Faria Santos on Jun 12, 2009 10:30 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for all.
Edited by: ted.rovina on Jun 15, 2009 2:06 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ted,
It's different, Would you please tell us the value add of this exercise ?
Regards
Ram Upadhyay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Make your URL to the transaction using servlets (content generation wizard, select Hyperlink), try it with your current browser to see the results, and then access it with a DOS browser when needed. You might need auto authentication for MII, which can be given as command line parameters (there were some posts on this in the forums).
Example DOS Browser Link: http://www.fdisk.com/doslynx/lynxport.htm
You can run the transaction with "lynx xMII_URL" from C, Pascal, etc using system(), exec() or using any batch scripting command you may have available on your DOS environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wrap something like this: [http://www.javalobby.org/java/forums/t53333.html|http://www.javalobby.org/java/forums/t53333.html]
in a custom action.
In my opinion Its kinda not a good security practice though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
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.