Dart Home | PowerTCP Web Enterprise for ActiveX | Custom Development | Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums |
Author | Forum: PowerTCP Web Enterprise for ActiveX Topic: Problems Posting using WebASP |
john.malvey john.malvey@gartner.com From: Guilford, CT USA Posts: 3 Member Since: 06/14/05 |
posted June 15, 2005 8:48 AM I have a PowerBuilder application that uses WebASP to post data to a server over https and retrieve a response. The server application is a LinkPoint credit card authorization process. My program submits credit card information and is supposed to get back HTML that says whether it was successful or not. When run, I always get a 11103 Session Aborted error message. I've duplicated the process with a web form (http://www.softconnintl.com/LPTest1.html) and when submitted over the web, everything works OK. Here's the PowerBuilder code I'm using: ole_WebASP.object.Request.Url = "https://63.146.126.55/lpc/servlet/lppay " ole_WebASP.object.Request.Content = "" ole_WebASP.object.Request.Variables("referurl", "referurl") ole_WebASP.object.Request.Variables("storename", "1909104386") ole_WebASP.object.Request.Variables("chargetotal", "4.95") ole_WebASP.object.Request.Variables("mode", "payonly") ole_WebASP.object.Request.Variables("txntype", "sale") ole_WebASP.object.Request.Variables("bname", "SoftConn") ole_WebASP.object.Request.Variables("baddr1", "20 Carraige Hill") ole_WebASP.object.Request.Variables("bcity", "Guilford") ole_WebASP.object.Request.Variables("bstate", "CT") ole_WebASP.object.Request.Variables("bzip", "06437") ole_WebASP.object.Request.Variables("cctype", "V") ole_WebASP.object.Request.Variables("cardnumber", "4111111111111111") ole_WebASP.object.Request.Variables("expmonth", "12") ole_WebASP.object.Request.Variables("expyear", "2005") ole_WebASP.object.Request.Variables("cvm", "123") ole_WebASP.object.Post() if nError > 0 then Messagebox("error", string(nError) + " " + sError) else mle_out.text = ole_WebASP.object.Response.Body.ReadString() end if As a test, I've successfully posted info to another website (though not https) and got back good HTML so it just seems to be a problem with this site. Any suggestions would be greatly apprecated. Thanks! John Malvey SoftConn International |
Tony Priest From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted June 15, 2005 9:11 AM If you have a sample called "PageFetch", see if you can load the page with it. If you get an error, try checking the "ignore" options on the settings dialog. If it works, then what you need to do is set ole_WebASP.object.Security. See the online help for a list of the constant values. |
john.malvey john.malvey@gartner.com From: Guilford, CT USA Posts: 3 Member Since: 06/14/05 |
posted June 15, 2005 12:58 PM Making progress. When I run PageFetch, it first comes back with an error 12038 - SSL Certificate common name is incorrect ... I set the Ignore Certificate Name Check option and then the request times out. When I try all combinations of "ignore" options, it always times out. |
Tony Priest From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted June 15, 2005 11:11 PM I'm sorry, but I am not able to confirm this. Please email support@dart.com to discuss more advanced support options than the forum. Make sur you include your serial number in the email. |
john.malvey john.malvey@gartner.com From: Guilford, CT USA Posts: 3 Member Since: 06/14/05 |
posted June 17, 2005 3:40 PM Problem solved. It stinks when everyone thinks the application is at fault when it's really the servers that weren't setup properly! Thanks for the quick response. |
Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |