[U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Graham, Dave
Can anyone tell me how I can look at the 'raw' data that comprises an HTTP header the would normally be sent via the UniData submitRequest() command? I believe that I'm sending the request to our partner correctly but they claim its not right (of course they can't tell me what's not right

Re: [U2] [ud] Unidata as a SQL Server Linked Server via OLEDB

2010-04-22 Thread Kevin King
Final update, hopefully.. As of this moment, IT'S WORKING! The silver bullet in this situation was some option in SQL Server called Allow inprocess. Not sure what this does exactly, but this option (in Server Objects | Linked Servers | Providers | IBM.UniOLEDB) has to be checked for SQL Server

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Kevin King
Not sure how to do it strictly in Unidata, but you might setup a simple Apache server that echos the headers back in the contents and then use this to test the Unidata headers. Incidentally, what header seems to be the problem? -K ___ U2-Users mailing

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Graham, Dave
I've been working with 2 of our 'web heads' for the past several hours trying to do just that - apparently, since its an HHTPS request and that we're an IIS shop, it's not as simple as I thought - one of the guys is cursing me already! The problem with the header is that we don't know what the

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Kevin King
Whether HTTP or HTTPS, the headers should be the same, right? So why not test with a simple HTTP connection instead of going through the creative dentistry of setting up IIS w/ HTTPS? ___ U2-Users mailing list U2-Users@listserver.u2ug.org

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Ben Souther
Look at the docs for protocolLogging 0155 ** 0156 IF DO.LOGGING THEN 0157 res=protocolLogging(LOGFILE,ON,10) 0158 END

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Kevin King
Good info, Ben! Thanks for sharing! ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Robert Houben
Try something like fiddler2, or some other packet sniffer. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Graham, Dave Sent: Thursday, April 22, 2010 8:06 AM To: U2 Users List Subject: Re: [U2] Viewing HTTP headers

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Graham, Dave
Regrettably we have no knowledge of Apache here so it IIS or nothing and to top it off the 1 guy in the office that is most familiar with doing any of this kind of stuff is out sigh -F -Original Message- From: u2-users-boun...@listserver.u2ug.org

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Graham, Dave
I've tried that. However even at level 10 logging I don't get a concise view of what the receiving web server 'sees' in a format that I can go to my vendor and say look at this, isn't that what your documentation says? I've used protocolLogging forever in diagnosing socket issues and it was my

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Kevin King
Could you post the output of your protocol log? Maybe someone here might see something? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Kevin King
Well, IIS can do HTTP just like Apache. (Well, not exactly, but you know what I mean.) But I like the protocolLogging option mentioned above. You might try that first. ___ U2-Users mailing list U2-Users@listserver.u2ug.org

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Ben Souther
Agreed. I wouldn't want to sift through the escaped post string with my eyes. It wouldn't be difficult to write something that unescapes the control characters though. I've got log4J running in our web application and I log all the stuff I need on that end. The protocolLogging feature is

[U2] SB CLIENT TERMINATION

2010-04-22 Thread Address
Is there any way to prevent a user from closing their sb client session ?   Seems like when a user closes their session, data corruption may result. ___ U2-Users mailing list U2-Users@listserver.u2ug.org

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Graham, Dave
OK - Just remember, you asked for it grin 04/22/2010 09:11:44 [ 3809296 2973944 ] addRequestParameter ... host=interconnect.ct.sts.equifax.com,parm=service_name:,type=x-www-form-urlencoded 04/22/2010 09:11:44 [ 3809296 2973944 ] addRequestParameter: added service_name=, type

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Kevin King
404? Doesn't look like a header thing, looks like the URL is wrong. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

[U2] UniOLEDB Connection Issues

2010-04-22 Thread Andrew E. Tegenkamp
I'm trying to connect to UniOLEDB and having no luck. I've created a simple connect.vbs file on the UniVerse server but I am getting the Provider cannot be found. It may not be properly installed. My code is here and I have tried both IBM.UniOLEDB.1 and Ardent.UniOLEDB for Provider. Dim dbConn

Re: [U2] UniOLEDB Connection Issues

2010-04-22 Thread Andrew E. Tegenkamp
Sorry to bother everyone, it was a 32 vs 64 bit issue. If I run %windir%\SysWOW64\cscript.exe connect.vbs from the command line it runs fine and gets my recordset with IBM.UniOLEDB.1 as the Provider. I know how to switch between wscript and cscript but if anyone knows how to default to the

Re: [U2] Viewing HTTP headers when using UniData submitRequest()

2010-04-22 Thread Symeon Breen
From this the http headers are POST /badcock/services/DecisionService HTTP/1.0 Date: Thu, 22 Apr 2010 12:59:12 GMT User-Agent: UniData 7.2.x Authorization: Basic aW50ZXJjb25uZWN0LnVhdDp3ZXRjMg== Content-Type: application/x-www-form-urlencoded Content-Length: 1782 The payload is the xml

[U2] UniODBC/UniOLEDB and Win2008?

2010-04-22 Thread Kevin King
I have a customer who has downloaded the most recent Unidata clients from the Rocket website and is trying to install them on Windows 2008/64-bit. The installation appears to go according to plan, there are no errors and no events logged, and yet after installing the ODBC driver, the Unidata ODBC

Re: [U2] SB CLIENT TERMINATION

2010-04-22 Thread Kevin King
As far as I know there isn't a way to prevent someone from closing the telnet application. -K ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] SB CLIENT TERMINATION

2010-04-22 Thread Address
Is there any way to keep the telnet session active after the sb client window has been closed ? --- On Thu, 4/22/10, Kevin King precisonl...@gmail.com wrote: From: Kevin King precisonl...@gmail.com Subject: Re: [U2] SB CLIENT TERMINATION To: U2 Users List u2-users@listserver.u2ug.org Date:

Re: [U2] SB CLIENT TERMINATION

2010-04-22 Thread Kevin King
Not that I know of. That's one of the weak spots with telnet, once it's dead it's dead. However, I do recall something on my forum about some program called... screen, was it? http://www.precisonline.com/forum/index.php/topic,245.0.html This utility purportedly abstracts the telnet session on

Re: [U2] UniODBC/UniOLEDB and Win2008?

2010-04-22 Thread phil walker
You need to use the 32-bit odbc driver manager. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Friday, 23 April 2010 8:01 a.m. To: U2 Users List Subject: [U2] UniODBC/UniOLEDB and Win2008?

Re: [U2] SB CLIENT TERMINATION

2010-04-22 Thread Colin Jennings
Is there any way to prevent a user from closing their sb client session ? Yes there is. You need to create a completely empty script and then assign it as the Logout Script on the Setup menu. The script should look like this: Trigger string : [script_started()] Trigger response:

Re: [U2] UniODBC/UniOLEDB and Win2008?

2010-04-22 Thread Kevin King
How would a person do such a thing? Doesn't Windows have just this one ODBC connection store and when you use a connection you use whatever Windows is going to use? Forgive me for what must seem like stupid Windows questions. On Thu, Apr 22, 2010 at 2:10 PM, phil walker p...@gnosys.co.nz wrote:

Re: [U2] UniODBC/UniOLEDB and Win2008?

2010-04-22 Thread Andrew E. Tegenkamp
Phil's right. The thread at http://forums.techarena.in/operating-systems/1160164.htm gave me a little more info on that topic if you're curious as I was fighting with Windows Scripting Host 32/64 bit issues. Basically seems the first thing to try is running whatever you're wanting to run

Re: [U2] [ud] Unidata as a SQL Server Linked Server via OLEDB

2010-04-22 Thread David Jordan
Hi Kevin They do the same thing in IIS. It is a security issue to restrict unauthorized users from accessing greater functionality. I would suspect this is to stop hackers being able to use SQL Queries to access the operating system and carrying out malicious activities. This is probably

Re: [U2] UniODBC/UniOLEDB and Win2008?

2010-04-22 Thread Robert Houben
Hi Kevin, On Windows 64 bit, there is a 64-bit odbcad32.exe (ODBC Administrator) and a 32-bit one. You have to run the 32-bit one to see 32-bit data sources like the UniODBC driver: C:\Windowsdir odbcad32.exe /s /p Volume in drive C is Preload Volume Serial Number is BCAB-EEE5 Directory