[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

Read XML data in ASP page using Javascript and combine 3 ASP files to 1

Asked by mmkhan76 in Active Server Pages (ASP)

Tags: javascript, kronos_wfc, varialable

Hello 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/wfc/XmlService"
 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/wfc/XmlService"
 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.
[+][-]11/01/05 12:11 PM, ID: 15203256Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Active Server Pages (ASP)
Tags: javascript, kronos_wfc, varialable
Sign Up Now!
Solution Provided By: WMIF
Participating Experts: 1
Solution Grade: A
 
[+][-]11/01/05 12:28 PM, ID: 15203416Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/01/05 01:18 PM, ID: 15203802Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/06/06 03:17 PM, ID: 15634382Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01/16/06 11:54 AM, ID: 15713713Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01/20/06 07:22 AM, ID: 15749706Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89