Active Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 1751
Number of posts: 4473

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Retrieving xml data Posted by christianhau on 19 Jul 2007 at 4:54 AM
Hi!

I am building a single sign on solution that uses tickets to validate logins. A user wants to log in and is assigned a ticket, now the user has to validate this ticket and therefore goes to a validationpage with the ticket as a querystring. If the ticket is validated properly the validation site returns the username in xml form, like this:

<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
<cas:authenticationSuccess>
<cas:user>user@online.no </cas:user>

</cas:authenticationSuccess>
</cas:serviceResponse>

The validation request happens from one server while the validation and xml reply comes from the validation server. My question is how can I retrieve the <cas:authenticationSuccess> for example? If the validation is sucsessful then this is all I need.. I have code for it in asp.net but cannot seem to find anything equivalent to the httpwebrequest that you can perform in asp.net.. Any help is very much appreciated!! :)

Report
Re: Retrieving xml data Posted by freelance star on 19 Jul 2007 at 5:00 AM
: Hi!
:
: I am building a single sign on solution that uses tickets to
: validate logins. A user wants to log in and is assigned a ticket,
: now the user has to validate this ticket and therefore goes to a
: validationpage with the ticket as a querystring. If the ticket is
: validated properly the validation site returns the username in xml
: form, like this:
:
: <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
: <cas:authenticationSuccess>
: <cas:user>user@online.no </cas:user>
:
: </cas:authenticationSuccess>
: </cas:serviceResponse>
:
: The validation request happens from one server while the validation
: and xml reply comes from the validation server. My question is how
: can I retrieve the <cas:authenticationSuccess> for example? If the
: validation is sucsessful then this is all I need.. I have code for
: it in asp.net but cannot seem to find anything equivalent to the
: httpwebrequest that you can perform in asp.net.. Any help is very
: much appreciated!! :)
:
:
Check w3schools.com to find out how to send a http request in asp.net.
Freelance Programmer|Interview Question And Answer
Report
Re: Retrieving xml data Posted by christianhau on 19 Jul 2007 at 5:13 AM
: : Hi!
: :
: : I am building a single sign on solution that uses tickets to
: : validate logins. A user wants to log in and is assigned a ticket,
: : now the user has to validate this ticket and therefore goes to a
: : validationpage with the ticket as a querystring. If the ticket is
: : validated properly the validation site returns the username in xml
: : form, like this:
: :
: : <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
: : <cas:authenticationSuccess>
: : <cas:user>user@online.no </cas:user>
: :
: : </cas:authenticationSuccess>
: : </cas:serviceResponse>
: :
: : The validation request happens from one server while the validation
: : and xml reply comes from the validation server. My question is how
: : can I retrieve the <cas:authenticationSuccess> for example? If the
: : validation is sucsessful then this is all I need.. I have code for
: : it in asp.net but cannot seem to find anything equivalent to the
: : httpwebrequest that you can perform in asp.net.. Any help is very
: : much appreciated!! :)
: :
: :
: Check w3schools.com to find out how to send a http request in
: asp.net.
: Freelance
: Programmer
|Interview Question
: And Answer


I know how to do it in asp.net, i would like to know how to do it in asp
Report
Re: Retrieving xml data Posted by Flakes on 19 Jul 2007 at 10:39 PM

: I know how to do it in asp.net, i would like to know how to do it in
: asp
:


check this :

http://www.4guysfromrolla.com/webtech/110100-1.shtml






 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.