RE: callHTTP
Just wanted to thank everyone for their responses. I am tied up with some other things right now, but will be looking into all the options mentioned in a few days. When we resolve the issue, I will post the resolution to the list for future reference. Thanks again, Mike Dallaire Mortgage Builder Software Inc. (248) 208-3223 ext. 103 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anthony Youngman Sent: Tuesday, April 06, 2004 4:06 AM To: U2 Users Discussion List Subject: RE: callHTTP Don't forget also, there are standards that define what should go down the wire when talking over the network. I think those standards say that the correct sequence for end of line is crlf. Because printers were usually controlled down a wire, and they assumed cr meant cr and lf meant lf. Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Bennett Sent: 06 April 2004 00:43 To: U2 Users Discussion List Subject: Re: callHTTP Hi Mike, UniVerse sockets will not strip CRLF. Attached is some old code I used to do HTTP requests for a screen scraping thing I was trying out when I couldn't get CALLHTTP to work as I expected. No promises that it will work, I haven't touched it in a while. I posted a trimmed version of this code on the list a few years ago. Craig This transmission is intended for the named recipient only. It may contain private and confidential information. If this has come to you in error you must not act on anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, or show it to anyone. Please e-mail the sender to inform us of the transmission error or telephone ECA International immediately and delete the e-mail from your information system. Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: callHTTP
In the past, I have avoided short comings of callHTTP by sending the request to my own java servlet - which in turn uses the power of Java to send the final request on to the vendor. It puts an extra link in the chain, but did the job. -Original Message- From: Mike Dallaire [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 9:47 AM To: U2 Users List (E-mail) Subject: callHTTP UV 10.1 Hello all, We are trying to use callHTTP to submit and retrieve data to a vendor that requires the use of multipart/form-data as the MIME type. We have hit a snag with the boundaries because char(13)'s appear to be stripped out by callHTTP and boundaries need to begin with a crlf. IBM is looking into the issue, but we are under time constraints with this one. So we are hoping someone out there has dealt with this issue before and has a resolution or work around for it. Any help would be greatly appreciated. As a side note, we are glad to hear this list will continue and look forward to learning from it and contributing our thoughts to it. Mike Dallaire Mortgage Builder Software Inc. (248) 208-3223 ext. 103 [EMAIL PROTECTED] -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: callHTTP
Will the sockets subroutine also strip out the CR/LF? If so, you may need to use just plain socket programming from UV, and avoid the http specific calls. Also, would wget (if running unix) be an option? Not sure if it will work to submit a form, I know it will retrieve data. George -Original Message- From: Daly, Mark [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 10:09 AM To: 'U2 Users Discussion List' Subject: RE: callHTTP In the past, I have avoided short comings of callHTTP by sending the request to my own java servlet - which in turn uses the power of Java to send the final request on to the vendor. It puts an extra link in the chain, but did the job. -Original Message- From: Mike Dallaire [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 9:47 AM To: U2 Users List (E-mail) Subject: callHTTP UV 10.1 Hello all, We are trying to use callHTTP to submit and retrieve data to a vendor that requires the use of multipart/form-data as the MIME type. We have hit a snag with the boundaries because char(13)'s appear to be stripped out by callHTTP and boundaries need to begin with a crlf. IBM is looking into the issue, but we are under time constraints with this one. So we are hoping someone out there has dealt with this issue before and has a resolution or work around for it. Any help would be greatly appreciated. As a side note, we are glad to hear this list will continue and look forward to learning from it and contributing our thoughts to it. Mike Dallaire Mortgage Builder Software Inc. (248) 208-3223 ext. 103 [EMAIL PROTECTED] -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: callHTTP
Sorry I forgot to say Win 2000 server. The socket feature may work, we have never used it alone, so I am not sure if it will strip them or not. Thanks for the suggestion. We will look at it. Also, thanks to Mark for his suggestion for a work around outside of UV. We may ultimately end up there. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of George Gallen Sent: Monday, April 05, 2004 10:30 AM To: U2 Users Discussion List Subject: RE: callHTTP Will the sockets subroutine also strip out the CR/LF? If so, you may need to use just plain socket programming from UV, and avoid the http specific calls. Also, would wget (if running unix) be an option? Not sure if it will work to submit a form, I know it will retrieve data. George -Original Message- From: Daly, Mark [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 10:09 AM To: 'U2 Users Discussion List' Subject: RE: callHTTP In the past, I have avoided short comings of callHTTP by sending the request to my own java servlet - which in turn uses the power of Java to send the final request on to the vendor. It puts an extra link in the chain, but did the job. -Original Message- From: Mike Dallaire [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 9:47 AM To: U2 Users List (E-mail) Subject: callHTTP UV 10.1 Hello all, We are trying to use callHTTP to submit and retrieve data to a vendor that requires the use of multipart/form-data as the MIME type. We have hit a snag with the boundaries because char(13)'s appear to be stripped out by callHTTP and boundaries need to begin with a crlf. IBM is looking into the issue, but we are under time constraints with this one. So we are hoping someone out there has dealt with this issue before and has a resolution or work around for it. Any help would be greatly appreciated. As a side note, we are glad to hear this list will continue and look forward to learning from it and contributing our thoughts to it. Mike Dallaire Mortgage Builder Software Inc. (248) 208-3223 ext. 103 [EMAIL PROTECTED] -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: callHTTP
Also, would wget (if running unix) be an option? Not sure if it will work to submit a form, I know it will retrieve data. I may be dating myself, but I was thinking of LYNX .. The only reason that this *might* be useful is if you need the output formatted .. WGET will get the HTML source .. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: callHTTP
It's good to remind ourselves that there are a ton of command line type tools out there that do some pretty amazing things. (lynx, wget, rsync, etc). Most are availble in source form and with compiled versions for both Unix and Windows. Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett Dunner LLP [EMAIL PROTECTED] 04/05/04 10:49AM Also, would wget (if running unix) be an option? Not sure if it will work to submit a form, I know it will retrieve data. I may be dating myself, but I was thinking of LYNX .. The only reason that this *might* be useful is if you need the output formatted .. WGET will get the HTML source .. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: callHTTP
Since its such as lovely Monday... Here's a routine for moving data using HTTP or HTTPS. You can send data as if from a form (i.e. encoded in the command string) or as a file. Obviously you can also get data. This uses the public domain Curl (http://curl.mirrors.redwire.net/utility) utiliy which is useful for a bunch of other stuff as well. http://jschas1.home.mindspring.com/bp/HTTP.TRANSFER -Original Message- From: Donald Kibbey [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 7:56 AM To: [EMAIL PROTECTED] Subject: RE: callHTTP It's good to remind ourselves that there are a ton of command line type tools out there that do some pretty amazing things. (lynx, wget, rsync, etc). Most are availble in source form and with compiled versions for both Unix and Windows. Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett Dunner LLP -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: callHTTP
Hi Mike, UniVerse sockets will not strip CRLF. Attached is some old code I used to do HTTP requests for a screen scraping thing I was trying out when I couldn't get CALLHTTP to work as I expected. No promises that it will work, I haven't touched it in a while. I posted a trimmed version of this code on the list a few years ago. Craig -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: CallHTTP: Receiving an error
Mark I'm no expert (trial and error on this myself) but try increasing the depth on setAuthenticationDepth. Ithink 1 would work in this case with no certificate chain. Simon "Laursen, Mark" [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi List; Still working on the CALLHTTP, I have made it to the point where I think I am being to talk to the other server. I am getting the error : error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:832: I captured the log from this: ... 02/02/2004 10:47:55 setAuthenticationDepth ... depth=0,s_or_c=2 ... 02/02/2004 10:48:08 begin SSL negotiation ...02/02/2004 10:48:08 SSL trace:: Handshake: start 02/02/2004 10:48:08 SSL trace:: Loop: before/connect initialization 02/02/2004 10:48:08 SSL trace:: Loop: SSLv2/v3 write client hello A 02/02/2004 10:48:08 SSL trace:: Loop: SSLv3 read server hello A 02/02/2004 10:48:08 Verification strength: strict 02/02/2004 10:48:08 SSL Certificate Verification: depth: 0 subject: /C=US/ST=Florida/L=Lakeland/O=MVCI/OU=IR/CN=lalfidevnx1 issuer: /DC=com/DC=marriott/DC=marrcorp/DC=mv/CN=mvci-dev 02/02/2004 10:48:08 Peer certifictae not verified. Reason: 20, unable to get local issuer certificate ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: CallHTTP: Receiving an error
Simon; Tried changing the depth to 1. Same results. I going to try change the Use As, Format, and Algorithm and talk to the person that run the server. Thanks Mark Laursen Marriott Vacation Club International (863) 688-7700 Ext. 4339 [EMAIL PROTECTED] This communication contains information from Marriott International, Inc. that may be confidential. Except for personal use by the intended recipient or as expressly authorized by the sender, any person who receives this information is prohibited from disclosing, copying, distributing, and/or using it. If you have received this communication in error, please immediately delete it and all copies, and promptly notify the sender. Nothing in this communication is intended to operate as an electronic signature under applicable law. -Original Message- From: u2[EMAIL PROTECTED] [mailto:u2[EMAIL PROTECTED] On Behalf Of Simon Lewington Sent: Tuesday, February 03, 2004 4:04 AM To: u2[EMAIL PROTECTED] Subject: Re: CallHTTP: Receiving an error Mark I'm no expert (trial and error on this myself) but try increasing the depth on setAuthenticationDepth. Ithink 1 would work in this case with no certificate chain. Simon Laursen, Mark [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi List; Still working on the CALLHTTP, I have made it to the point where I think I am being to talk to the other server. I am getting the error : error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:832: I captured the log from this: ... 02/02/2004 10:47:55 setAuthenticationDepth ... depth=0,s_or_c=2 ... 02/02/2004 10:48:08 begin SSL negotiation ...02/02/2004 10:48:08 SSL trace:: Handshake: start 02/02/2004 10:48:08 SSL trace:: Loop: before/connect initialization 02/02/2004 10:48:08 SSL trace:: Loop: SSLv2/v3 write client hello A 02/02/2004 10:48:08 SSL trace:: Loop: SSLv3 read server hello A 02/02/2004 10:48:08 Verification strength: strict 02/02/2004 10:48:08 SSL Certificate Verification: depth: 0 subject: /C=US/ST=Florida/L=Lakeland/O=MVCI/OU=IR/CN=lalfidevnx1 issuer: /DC=com/DC=marriott/DC=marrcorp/DC=mv/CN=mvci-dev 02/02/2004 10:48:08 Peer certifictae not verified. Reason: 20, unable to get local issuer certificate ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users