Search results

  1. 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()...
  2. 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...
  3. 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.
  4. 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...
  5. 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.
  6. 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...
  7. JamesBowen

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

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

    Resolved 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.
  9. 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...
  10. 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...
  11. JamesBowen

    Resolved 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?
  12. JamesBowen

    Resolved 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...
  13. 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
  14. 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...
  15. 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")...
  16. JamesBowen

    Scroll Bars in a window's frame (from v9.1e)

    I'm not saying this is the answer, but it might point you in the right direction. Place this code in the MAIN-BLOCK after the "RUN enable_UI.": Frame DEFAULT-FRAME:VIRTUAL-WIDTH-PIXELS = C-WIN:Width-pixels - System.Windows.Forms.SystemInformation:BorderSize:Width. Frame...
  17. JamesBowen

    Progress Instant Messaging Service

    I've toyed around with the idea of having a real-time messaging in a GUI App using MQTT. But, I lost interest due to lack of business requirement and really wanted to use an opensource .NET assembly the that had done all the hard work for me But, unfortunately due to the lack of multi-threading...
  18. JamesBowen

    11.7 vs. 12.8 OpenEdge.Net.HTTP client via proxy

    My mistake... I was using the 11.7 code. The "WriteStartLine" override method worked! BTW.. I also try using HAR tracing and crashed when output the when connecting to a proxy server. Separate issue to this.
  19. JamesBowen

    11.7 vs. 12.8 OpenEdge.Net.HTTP client via proxy

    This is my code and I think I've followed your instructions, but unfortunately I getting this error (See Bellow). /*------------------------------------------------------------------------ File : DefaultRequestFilterOverride Purpose : Syntax : Description ...
Back
Top