[progress Communities] [progress Openedge Abl] Forum Post: Re: Data Object, Webspeed...

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
There's another workaround you can add on the server. The DataObjectHandler (DOH) has callbacks that let you manipulate the response before it's sent back to the caller. In this you can base64-decode the dataset data. I'm attaching (I hope) 2 programs. 1) DOHEventHandler.cls . This contains the callback and some sample code that turns the base64-encoded string into a real dataset. It has no error handling and dumps a before and after file - you should probably clean this stuff up if you want to use it in any serious form. 2) session_start.p : this starts the event handler in the sessions You should use this code for your session startups (configured in openedge.properties) [AppServer.Agent.hf_1163] sessionStartupProc=session_start.p or if you already have a startup proc, simply call new DOHEventHandler(). in your code. (Please visit the site to view this file)(Please visit the site to view this file)

Continue reading...
 
Status
Not open for further replies.
Back
Top