Author | Topic: oHttp:Execute is not working the same from 331 to 355 | |
---|---|---|
Jeanne Harris | oHttp:Execute is not working the same from 331 to 355 on Fri, 26 Jun 2009 10:25:18 -0500 Using xb2Net with Alaska and eXPress I have an HTTPHandler that receives an XML message and then executives this command: oResponseHTTPS := oHttp:Execute( "https://lbs.mvpbanking.com/cgi-bin/efs2/gen_notify.pl" , "POST" , oForm ) In Alsaksa 1.9 331 version and earlier this works like a charm. Now this is failing in SL1 355. I get a null in my oResponseHTTPS object. Boris Borzic Suggested that I Compile with Alaska 1.9.331 + Xb2.NET 3.2.13 (latest version) and if this works, then there is some issue with Xbase++ 1.9.355 SL1 and to contact Alaska Software. It did not work so I am looking for help from Alaska. Jeanne Harris | |
Chris Andries | Re: oHttp:Execute is not working the same from 331 to 355 on Fri, 26 Jun 2009 17:47:58 +0200 Hi Jeanne, I would send a sample to support@alaska-software.com. Regards, Chris. "Jeanne Harris" <vjharris@starband.net> wrote in message news:c574730$4966b39b$d1f@news.alaska-software.com... > Using xb2Net with Alaska and eXPress > > > > I have an HTTPHandler that receives an XML message and then executives this > command: > > > > oResponseHTTPS := oHttp:Execute( > "https://lbs.mvpbanking.com/cgi-bin/efs2/gen_notify.pl" , "POST" , oForm ) > > > > In Alsaksa 1.9 331 version and earlier this works like a charm. Now this is > failing in SL1 355. I get a null in my oResponseHTTPS object. > > > > Boris Borzic Suggested that I Compile with Alaska 1.9.331 + Xb2.NET 3.2.13 > (latest version) and if this works, then there is some issue with Xbase++ > 1.9.355 SL1 - and to contact Alaska Software. It did not work so I am > looking for help from Alaska. > > > > Jeanne Harris > > | |
Jeanne Harris | Re: oHttp:Execute is not working the same from 331 to 355 on Mon, 29 Jun 2009 13:07:00 -0500 I did put together a test app and sent it to Alaska support for help with this problem. Jeanne | |
Jeanne Harris | Re: oHttp:Execute is not working the same from 331 to 355 on Fri, 26 Jun 2009 10:51:15 -0500 Can someone tell me what might have changed from 331 to 355? The bit of code looks like this cXmlString := '<efunds_response action="verify">'+ ; '<payment>'+; '<payment_id>'+cPaymentID+'</payment_id>'+; '<student_number>'+cStudent_number+'</student_number>'+; '<family_id>'+cFamilyID+'</family_id>'+; '<amount>'+cAmount+'</amount>'+; '<payment_type>'+cPaymentType+'</payment_type>'+; '<function_ref_id>'+cRefID+'</function_ref_id>'+; '<payment_code>'+cPaymentCode+'</payment_code>'+; '<payer_last_name>'+cLastName+'</payer_last_name>'+; '<payer_first_name>'+cFirstName+'</payer_first_name>'+; '<timestamp>'+cTime+'</timestamp>'+; '<current_balance>'+cCurrentBalance+'</current_balance>'+; '</payment>'+; '</efunds_response>' oHttp := xbHTTPClient():new() oForm := xbForm():new() oForm:SetVar("cmd", cXmlString ) oResponseHTTPS := oHttp:Execute( "https://lbs.mvpbanking.com/cgi-bin/efs2/gen_notify.pl" , "POST" , oForm ) | |
mark carew | Re: oHttp:Execute is not working the same from 331 to 355 on Sat, 27 Jun 2009 13:59:31 +1000 On Fri, 26 Jun 2009 10:51:15 -0500, Jeanne Harris wrote: > Can someone tell me what might have changed from 331 to 355? > > The bit of code looks like this > > cXmlString := '<efunds_response action="verify">'+ ; > '<payment>'+; > '<payment_id>'+cPaymentID+'</payment_id>'+; > '<student_number>'+cStudent_number+'</student_number>'+; > '<family_id>'+cFamilyID+'</family_id>'+; > '<amount>'+cAmount+'</amount>'+; > '<payment_type>'+cPaymentType+'</payment_type>'+; > '<function_ref_id>'+cRefID+'</function_ref_id>'+; > '<payment_code>'+cPaymentCode+'</payment_code>'+; > '<payer_last_name>'+cLastName+'</payer_last_name>'+; > '<payer_first_name>'+cFirstName+'</payer_first_name>'+; > '<timestamp>'+cTime+'</timestamp>'+; > '<current_balance>'+cCurrentBalance+'</current_balance>'+; > '</payment>'+; > '</efunds_response>' > > oHttp := xbHTTPClient():new() > oForm := xbForm():new() > oForm:SetVar("cmd", cXmlString ) > oResponseHTTPS := oHttp:Execute( > "https://lbs.mvpbanking.com/cgi-bin/efs2/gen_notify.pl" , "POST" , oForm ) Can we see the xml as a string rather than a collection of strings and variables of unknown values.. Maybe its a parsing problem. If you then browse the xml string, you generate, you will see if it's well formed. | |
Andreas Gehrs-Pahl | Re: oHttp:Execute is not working the same from 331 to 355 on Sat, 27 Jun 2009 10:54:02 -0400 Jeanne, >In Alsaksa 1.9 331 version and earlier this works like a charm. Now this is >failing in SL1 355. I get a null in my oResponseHTTPS object. >Boris Borzic Suggested that I Compile with Alaska 1.9.331 + Xb2.NET 3.2.13 >(latest version) and if this works, then there is some issue with Xbase++ >1.9.355 SL1 and to contact Alaska Software. It did not work so I am >looking for help from Alaska. You are confusing me here. First you say it worked with Xbase++ 1.9.331 but that it failed with Xbase++ 1.9.355, and then you are saying it also failed with 1.9.331, when using the latest Xb2Net version (3.2.13). This would indicate that this is an issue that was introduced with Xb2Net version 3.2.13, rather than a problem related to Xbase++ 1.9.355! Or am I missing something here? -- Andreas --- --- Andreas Gehrs-Pahl E-Mail: GPahl@CharterMI.net 415 Gute Street or: Andreas@DDPSoftware.com Owosso, MI 48867-4410 or: Andreas_Gehrs-Pahl@CrimeCog.com Tel: (989) 723-9927 Web Site: http://www.Aerospace-History.net --- --- | |
Jeanne Harris | Re: oHttp:Execute is not working the same from 331 to 355 on Mon, 29 Jun 2009 12:32:24 -0500 Sorry about the confusion.. it works with Alaska 331 but not 355 Jeanne | |
Jeanne Harris | Re: oHttp:Execute is not working the same from 331 to 355 on Mon, 29 Jun 2009 13:12:46 -0500 Boris' latest version of xb2net is 3.2.13. When I run his 3.2.13 version Alaska 331 it works just as it has been but when I run Alaska 355 it now fails.. My code is the same.. no change... This morning I sent a test app to the Alaska Tech Support. Jeanne | |
James Loughner | Re: oHttp:Execute is not working the same from 331 to 355 on Mon, 29 Jun 2009 18:33:47 -0400 Are you running a 355 compiled version? Jim Jeanne Harris wrote: > Boris' latest version of xb2net is 3.2.13. When I run his 3.2.13 version > Alaska 331 it works just as it has been but when I run Alaska 355 it now > fails.. My code is the same.. no change... > > This morning I sent a test app to the Alaska Tech Support. > > Jeanne > > |