Search results

  1. JamesBowen

    wkhtmltopdf Performance and Execution Issues in WebSpeed vs prowin32

    Try this using INPUT-OUTPUT through. I've tested it on Windows 11 Pro Workstation, OE 12.8 using PASOE. There was no pause, also there was no pause using OS-Command. DEFINE STREAM sOSCommand. PROCEDURE htmltopdf...
  2. JamesBowen

    wkhtmltopdf Performance and Execution Issues in WebSpeed vs prowin32

    I'm going to ask an obvious question. Whatever procedure/method/function that is outputting to C:\temp\input.html, has it closed the output stream before calling the OS-COMMNAD? Do you still have the performance issue when creating a PDF from a URL i.e. ?
  3. JamesBowen

    Comment ExcelNumberFormat for formatting date and time.

    As many of us know, ABL has long struggled with built-in support for formatting dates and times, often leaving us to craft our own formatting solutions. While troubleshooting an unrelated issue, I came across the ExcelNumberFormat .NET assembly — a handy library for parsing ECMA-376 number...
  4. JamesBowen

    Resolved Security Audit data capture of OE HTTP Client

    OE 12.8.7. But, I might need to be backward compatible with 11.7.x
  5. JamesBowen

    Resolved Security Audit data capture of OE HTTP Client

    Thanks Peter, your code recommendation is working. I've managed to condense the code into this: DEFINE VARIABLE oWriter AS OpenEdge.Net.HTTP.Filter.Payload.MessageWriter NO-UNDO. oWriter = OpenEdge.Net.HTTP.Filter.Writer.BodyWriterBuilder:Build( RequestObj ):Writer. oWriter:Open()...
  6. JamesBowen

    Resolved Security Audit data capture of OE HTTP Client

    Sorted it out with the help from DeepSeek. Not sure if this is the most efficient way to do it, but it's working. MVP to meet the security requirements. DEFINE VARIABLE objStringStringMap AS CLASS OpenEdge.Core.Collections.StringStringMap NO-UNDO. DEFINE VARIABLE objIter...
  7. JamesBowen

    Resolved Security Audit data capture of OE HTTP Client

    Hi Petter, thank-you for your support...But, I might be misunderstanding something. I can't see a Open(), Write() or Close() method for class object OpenEdge.Net.HTTP.Filter.Writer.MessageWriterBuilder.
  8. JamesBowen

    Resolved Security Audit data capture of OE HTTP Client

    I'm trying use the BodyWriterBuilder class object. But, the oByteBucket:Size is always zero. The RequestObj:ContentLength returns 512. What I'm I missing? MESSAGE "VALID-OBJECT(RequestObj)" VALID-OBJECT(RequestObj). MESSAGE "RequestObj:ContentType" RequestObj:ContentType...
  9. JamesBowen

    Resolved Security Audit data capture of OE HTTP Client

    Update: I think I need loop through the StringStringMap object to extract each key entry pair. Not sure how to do this.
  10. JamesBowen

    Resolved Security Audit data capture of OE HTTP Client

    After a security review, I'm needing to capture all the web requests that is being called by OE HTTP Client. Currently is just dumping to a file but will be eventually stored into the database. I'm able to capture the HTTP header information, but I can find the correct method a capturing the...
  11. JamesBowen

    Question ClosedXML .net library | Can't view class object in Progress Developer Studio

    Does Progress Developer Studio have a debug logs or something similar?
  12. JamesBowen

    Question ClosedXML .net library | Can't view class object in Progress Developer Studio

    Stupid question, but do I need to reference all the dependent .net assembly .dlls in the assemblies.xml? I've noticed that if you install a package using nuget option, it will also install all the dependent .dlls as-well.
  13. JamesBowen

    How to get the HTTP response from cURL?

    Hi, I know that you have soled your issue, but I thought I would share my solution. This is just a fragment of the code but, hopefully it will give you some incite. AuthorizationHeader = SUBSTITUTE('Authorization: &1 &2':U...
  14. JamesBowen

    Resolved PASOE 301 / 302 Redirect from the WebHandler

    Purpose: Default handler for the HTTP GET method. The request being serviced and an optional status code is returned. A zero or null value means this method will deal with all errors...
  15. JamesBowen

    Question ClosedXML .net library | Can't view class object in Progress Developer Studio

    Where do I place the start up parameter for -clrnetcore? is this a global startup parameter for Developer Studio, or for the project instance?
  16. JamesBowen

    Question ClosedXML .net library | Can't view class object in Progress Developer Studio

    I'm looking at replacing the COM Automation of using MS Excel and using the ClosedXML. .net library. It looks like is going to do everything I need but I just can seem to get to all the listed namespaces, properties and methods in the class browser. Is the some sort of hidden trick when...
  17. JamesBowen

    Resolved PASOE 301 / 302 Redirect from the WebHandler

    This is the reason why. SetHeader() method was only expecting one parameter. FYI: OE 12.8.6
  18. JamesBowen

    Resolved PASOE 301 / 302 Redirect from the WebHandler

    I've figured it out. Not sure if this is the correct method, but it worked. DEFINE VARIABLE oResHeader AS OpenEdge.Net.HTTP.HttpHeader NO-UNDO. oResHeader = NEW OpenEdge.Net.HTTP.HttpHeader("Location","OAuthFailure.html"). oResponse:StatusCode...
  19. JamesBowen

    Resolved PASOE 301 / 302 Redirect from the WebHandler

    I've spent the last few hours trying to figure out how to do a simple URL redirect from the PASOE WebHandler. In the Classic WebSpeed I would do somthing like this: <SCRIPT LANGUAGE="SpeedScript"> PROCEDURE output-headers: OUTPUT-HTTP-HEADER("Status","302")...
Back
Top