Re: [U2] callHTTP creating Header (Karl-Heinz Winter)

2011-08-25 Thread Karl-Heinz Winter
I found the solution by myself! The problem could be, that the functions 'setRequestHeader' und addRequestParameter' are formatting the data in any way, that the webserver doesn`t understand the request. When I logged the outgoing traffic to port 80, I have seen valuemarks in the header

Re: [U2] callHTTP creating Header (Karl-Heinz Winter)

2011-08-25 Thread Tony Gravagno
Karl - your original request said: How can I create the correct header? My mental response was stop bothering with CallHTTP and use cURL. I refrained from posting that because of the inevitable retribution from people who prefer to bang their heads against flaky software rather than just looking

Re: [U2] callHTTP creating Header

2011-08-25 Thread Boydell, Stuart
: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno Sent: Friday, 26 August 2011 08:53 To: u2-users@listserver.u2ug.org Subject: Re: [U2] callHTTP creating Header (Karl-Heinz Winter) Karl - your original request said: How can I create

Re: [U2] callHTTP creating Header

2011-08-24 Thread Glenn Sallis
Hello Karl-Heinz, It could be that the issue is not with UniVerse, rather at the web server end. If you can share the source code with us which you are using to build up the request this may help us to trace the problem. Also, are you running UniVerse or UniData and on which OS? I would

Re: [U2] callHTTP - disconnect?

2009-09-03 Thread Kevin King
The Connection: close header had zero impact. Checking other Apache configuration options now. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] callHTTP - disconnect?

2009-09-03 Thread Glen Batchelor
Subject: Re: [U2] callHTTP - disconnect? The Connection: close header had zero impact. Checking other Apache configuration options now. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] callHTTP - disconnect?

2009-09-03 Thread Symeon Breen
Actually TIME_WAIT is normal - when you close a connection, it goes to timewait for a set amount of time and then is closed, this stops any delayed packets being accepted by a later connection. There are kernel/tcp params to determine how long it should be in timewait. If you have too many at

Re: [U2] callHTTP - disconnect?

2009-09-03 Thread Kevin King
On Thu, Sep 3, 2009 at 10:10 AM, Symeon Breen syme...@gmail.com wrote: Actually TIME_WAIT is normal - when you close a connection, it goes to timewait for a set amount of time and then is closed, this stops any delayed packets being accepted by a later connection. There are kernel/tcp params

Re: [U2] callHTTP - disconnect?

2009-09-02 Thread Glen Batchelor
I don't suppose it's keep-alives going bad? Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com

Re: [U2] callHTTP - disconnect?

2009-09-02 Thread Symeon Breen
In your apache app set the http response header 'Connection' to 'Close' -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: 02 September 2009 19:07 To: U2 Users List Subject: [U2] callHTTP -

RE: [U2] CallHTTP vs cURL...

2009-04-19 Thread Tony G
David, buried in my point was that you may be able to get other phantoms to be more effective, thus reducing your requirement for phantoms for other tasks. So with luck, when you do need a new one for CallHTTP your total phantom usage won't be any more than it is now. Like anything, especially

RE: [U2] CallHTTP vs cURL...

2009-04-18 Thread Ross Ferris
-u2- us...@listserver.u2ug.org] On Behalf Of David Wolverton Sent: Saturday, 18 April 2009 3:01 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] CallHTTP vs cURL... It's situational, so it would be tough to execute via 'cron' - it has to execute or at least be 'triggered' from 'within

RE: [U2] CallHTTP vs cURL...

2009-04-18 Thread Tony G
Responding in general to a few notes here. [AD] follows code and comments. As to phantom operations, I find it surprising that most sites don't use a plugin process, where you have a single phantom that loops to process any tasks that are required. It's like a checkout person at the store, the

RE: [U2] CallHTTP vs cURL...

2009-04-18 Thread David Wolverton
-users@listserver.u2ug.org Subject: RE: [U2] CallHTTP vs cURL... On Sat, 18 Apr 2009, Tony G wrote: As to phantom operations, I find it surprising that most sites don't use a plugin process, where you have a single phantom that loops to process any tasks that are required. Ding

Re: [U2] CallHTTP vs cURL...

2009-04-18 Thread Bill Haskett
@listserver.u2ug.org Subject: Re: [U2] CallHTTP vs cURL... Responding in general to a few notes here. [AD] follows code and comments. As to phantom operations, I find it surprising that most sites don't use a plugin process, where you have a single phantom that loops to process any tasks that are required

Re: [U2] CallHTTP vs cURL...

2009-04-17 Thread Jeff Schasny
How about running a shell script from a cron job that retrieves whatever via cURL. David Wolverton wrote: I have a phantom that does a CallHTTP to 'call back' to our RedBack server to run a Java Method that returns some data. Essentially, it's doing a 'data read' - but with IBM's new 'drive

RE: [U2] CallHTTP vs cURL...

2009-04-17 Thread Glen Batchelor
@listserver.u2ug.org Subject: RE: [U2] CallHTTP vs cURL... It's situational, so it would be tough to execute via 'cron' - it has to execute or at least be 'triggered' from 'within' the phantom with data the phantom provides -- I guess I could write a Scheduled process that runs every 6

RE: [U2] CallHTTP vs cURL...

2009-04-17 Thread George Gallen
[mailto:owner-u2- us...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Friday, April 17, 2009 12:44 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] CallHTTP vs cURL... How about running a shell script from a cron job that retrieves whatever via cURL. David Wolverton wrote: I

RE: [U2] CallHTTP vs cURL...

2009-04-17 Thread John Hester
-Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of David Wolverton Sent: Friday, April 17, 2009 8:12 AM To: u2-users@listserver.u2ug.org Subject: [U2] CallHTTP vs cURL... [snip] 2) Find a way to 'trick' the

RE: [U2] CallHTTP vs cURL...

2009-04-17 Thread Symeon Breen
I have used EXECUTE !curl ... in a number of apps and it definitely does not take an iphantom licence. However i use it not to get round licencing (as this is usually from a uniobjects call anyway) but because for some reason curl is many times more efficient than callhttp. I presume the udt

Re: [U2] callHTTP using a Proxy Server

2007-01-25 Thread Scott Richardson
Microsoft ISA Server. What a PITA. Configure it exactly correctly - or better yet - Remove it. Error barks pretty clearly on permission authorization to access to the service, so clearly something isn't right in ISA. Typically it denies any processes running as user local System access to

Re: [U2] callHTTP using a Proxy Server

2007-01-25 Thread Scott Richardson
Original Message - From: Mike Dallaire [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Thursday, January 25, 2007 9:09 AM Subject: [U2] callHTTP using a Proxy Serve UniVerse 10.1 SB+ 5.3.4 and SBClient 5.3.4 We are running many interfaces using callHTTP from Windows and Linux

RE: [U2] callHTTP using a Proxy Server

2007-01-25 Thread Anthony Caufield
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Richardson Sent: Thursday, January 25, 2007 6:59 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] callHTTP using a Proxy Server Microsoft ISA Server. What a PITA. Configure it exactly correctly - or better yet - Remove it. Error barks

RE: [U2] callHTTP

2006-11-21 Thread Stuart . Boydell
Stu, I forgot to mention what you might expect back in the response and headers fields. The response will contain whatever the web service you are posting to/requesting from is programmed to respond with. In the case of a web service, for example, it will probably return an XML document. In the

RE: [U2] CALLHTTP....UV 10

2006-07-07 Thread George Gallen
: Wednesday, July 05, 2006 2:19 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] CALLHTTPUV 10 On 7/5/06, George Gallen [EMAIL PROTECTED] wrote: OK. Adding in the setHTTPDefault and the setRequestHeader got it working. Now...I need to read an https:// URL Not reading

RE: [U2] CALLHTTP....UV 10

2006-07-05 Thread George Gallen
a submitsecurerequest() command.. George -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter Veenhof Sent: Tuesday, July 04, 2006 8:48 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] CALLHTTPUV 10 Hi, I think I had similar problems, but eventually

Re: [U2] CALLHTTP....UV 10

2006-07-05 Thread Wendy Smoak
On 7/5/06, George Gallen [EMAIL PROTECTED] wrote: OK. Adding in the setHTTPDefault and the setRequestHeader got it working. Now...I need to read an https:// URL Not reading for content, but see if anything here helps: http://www.pickwiki.com/cgi-bin/wiki.pl?CallHTTPWithSSL also:

RE: [U2] CALLHTTP....UV 10

2006-07-04 Thread Peter Veenhof
Hi, I think I had similar problems, but eventually got it working with this code: HTTP.METHOD = 'GET' REQ.HANDLE = '' ; POST.DATA = '' ; TIME.OUT = '' ; RESP.HEADERS = '' ; RESP.DATA = '' ; HTTP.STATUS = '' Ret = setHTTPDefault('VERSION','1.1') Ret = createRequest(URL,HTTP.METHOD,REQ.HANDLE) Ret

Re: [U2] CallHTTP

2006-01-09 Thread Wendy Smoak
On 1/9/06, Peter Veenhof [EMAIL PROTECTED] wrote: Does anyone have a simple example of doing a HTTP POST from within Universe Basic? The documentation doesn't have any example code and I've failed to get it to work. The Pick Wiki has: http://www.pickwiki.com/cgi-bin/wiki.pl?CallHTTP and

RE: [U2] CallHTTP

2006-01-09 Thread Perry Taylor
Peter, Here are a couple of local subroutines I use for synchronizing records to other servers using a CGI post. The corresponding CGI program on the hosts generates a return value structured like... SG: NUMBER.OF.ERRORS: SG: ERROR.MESSAGES Where SG is EQUATEd to CHAR(255), ERROR.MESSAGES is

RE: [U2] CallHTTP

2006-01-09 Thread Peter Veenhof
Of Perry Taylor Sent: Monday, January 09, 2006 11:40 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] CallHTTP Peter, Here are a couple of local subroutines I use for synchronizing records to other servers using a CGI post. The corresponding CGI program on the hosts generates a return value

RE: [U2] CallHTTP

2006-01-09 Thread Tony Gravagno
If CallHTTP doesn't do what you need, look into cURL. It's open source and free, well supported, very stable, very popular, and it's quite capable of doing HTTP post w/wo SSL as well as many other tricks. HTH T Wendy Smoak wsmoak-at-gmail.com |U2UG| wrote: On 1/9/06, Peter Veenhof [EMAIL

Re: [U2] CallHTTP

2004-07-22 Thread Lee Bacall
, 2004 6:24 PM Subject: RE: [U2] CallHTTP snip Are you doing a GET or a POST? There is a limit on GET, but it comes from the HTTP specification, not UniVerse. (And exceeding it is no excuse for it dying like that!) -- Wendy Smoak (Sent at 3:25 PM) --- u2-users mailing list [EMAIL

RE: [U2] CallHTTP

2004-07-22 Thread Michael Spencer
It is the same limit as the length of a url which I think is 2083. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee Bacall Sent: July 22, 2004 11:36 AM To: [EMAIL PROTECTED] Subject: Re: [U2] CallHTTP Anyone know offhand what the limit may

RE: [U2] CallHTTP

2004-07-21 Thread David Jordan
That may not be related to CallHTTP, that may be a variable in your program that has not been cleared and is continually being appended to till it overflows memory. Check the program for that typeof bug. Regards David Jordan --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please

RE: [U2] CallHTTP

2004-07-21 Thread Tony Gravagno
Wendy Smoak wrote: Nick Cipollina wrote: Is anyone aware of any limitations to the length of parameter_value in the addRequestParameter(request_handle,parameter_name,parameter_va lue,conten t_handling) function. CRITICAL ERROR! Notify the system administrator. Abnormal termination of

Re: [U2] CallHTTP

2004-07-21 Thread Craig Bennett
Tony, - There are occasionally limits on the size of the domain name, which is included in the total for the query string. RFC3696 (which collates information from other RFCs) places the following limitations on a hostname from DNS: A DNS label (the parts of a domain name delimited by '.') may

Re: [U2] CallHTTP

2004-07-21 Thread Craig Bennett
Nick, I have previously posted UV code which uses sockets to do HTTP rather than CallHTTP -- this might solve your problem in the short term. Craig --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] CallHTTP

2004-07-21 Thread djordan
on to IBM support. Regards David Jordan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Cipollina Sent: Thursday, 22 July 2004 11:38 AM To: [EMAIL PROTECTED] Subject: RE: [U2] CallHTTP It's not. The error doesn't occur until I try to submit my http