The only code I have is the code which i have copy pasted for the above 3 files
Main Topics
Browse All TopicsHello all,
Here is my scenerio
I have three asp files. 1) logon.asp 2) getdata.asp 3) logoff.asp
what I have acheived is sending the XML data to the server and getting back the response in xml from each of the files.
Now what I have to do is
1) when I get the data back in XML, how do I get the values out of it using Javascript
I am getting back either success or failure when I run the logon.asp file.
How do I capture the "success", if it is success then get the data using getdata.asp code,( now in getdata.asp also I am sending XML and receiveing the data in XML and this time I want that XML to be written to a file. and then lastly do logoff.asp.
All these have to be done with just One click of button. and all three have to be in one file. The user should not know what is happening background.
When he clicks the button, he should Logon, if the XML returned Success, then do GETDATA.ASP code and get data, write it to a file and then logoff.
Also in my getdata.asp page I have hardcoded the PersonNumber="95198" value, since i have the value is asp page , how do i pass that varialable instead of hardcoding.
Here are the pages I have created.
I would really appreciate if you guys could help me out.
Thanks in advance.
LOGON.ASP
<html>
<body>
<form
action = "https://wd007kyrnosdv007/
method = "POST">
<TEXTAREA rows =20 cols=100 id =KronosXML name=KronosXML>
<?xml version="1.0" ?>
<Kronos_WFC version="1.0">
<Request
Object="System"
Action="Logon"
Username="SuperUser"
Password="password"
/>
</Kronos_WFC>
</TEXTAREA></BR>
<INPUT type ="submit" value = "Logon">
</form>
</body>
</html>
GETDATA.ASP
<html>
<body>
<form
action = "https://wd007krynosdv007/
method = "POST">
<TEXTAREA rows =20 cols=100 id =KronosXML name=KronosXML>
<?xml version="1.0" ?>
<Kronos_WFC version="1.0">
<Request Action="Load">
<AccrualData BalanceDate="10/1/05">
<Employee>
<PersonIdentity PersonNumber="95198" />
</Employee>
</AccrualData>
</Request>
</Kronos_WFC>
</TEXTAREA></BR>
<INPUT type ="submit" value = "Logon">
</form>
</body>
</html>
the third one LOGOFF.ASP is similar to logon.asp.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: WMIFPosted on 2005-11-01 at 12:11:38ID: 15203256
maybe this can help you along with your javascript. some topics from the javascript and xml areas on this site.
e.com/Web/ Web_Langua ges/XML/ Q_ 20918005.h tml e.com/Web/ Web_Langua ges/XML/ Q_ 20132253.h tml e.com/Web/ Web_Langua ges/JavaSc ript/ Q_210 32240.html e.com/Web/ Web_Langua ges/XML/ Q_ 20077139.h tml
e.com/Web/ Web_Langua ges/XML/ Q_ 21069731.h tml e.com/Web/ Q_20706879 .html
javascript+xml:
http://www.experts-exchang
http://www.experts-exchang
http://www.experts-exchang
http://www.experts-exchang
javascript+xml+read:
http://www.experts-exchang
http://www.experts-exchang
do you have javscript code already, or are you starting from scratch?