Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


HTTP request in VBScript

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,967
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> HTTP request in VBScript
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 HTTP request in VBScript - 2/4/2004 1:47:05 AM   
  imranmany

 

Posts: 1
Score: 0
Joined: 2/3/2004
From: USA
Status: offline
Hi,

I am trying to make an asp program in VBScript that sends and HTTP request to a Java Servlet, and returns a response. the response will be returned in XML format.

The Java servlet issues a callback, and it needs the neccessary data like callback number etc.

but it doesn't work. the following is the code I used for the HTTP request:

Set xmlhttp = Server.CreateObject("Microsoft.XMLHTTP")
xmlhttp.open "POST", "http://207.51.37.245:8080/psweb/servlet/pswebPSServlet?Action=Send&TableName=XMLCallBack", false
xmlhttp.setRequestHeader "Content-type", "text/html"
xmlhttp.send "CustServiceID=7777&CallbackNumber=5182709695&ExtensionNumber=&PauseSeconds=0&InitialPauseSeconds=0&CalledNumber=5182709695"

an CMS based XML function called "XMLCallback" needs to run with the servlet, and along with it, the needed values need to be past.

let me know soon.
Imran

AIT Telecom long distance phone service
join now at http://tel.aitco.com
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> HTTP request in VBScript Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts