BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
Expand all | Collapse all

How to read WebSphere environment variables in FileNet java code module.

  • 1.  How to read WebSphere environment variables in FileNet java code module.

    Posted Thu January 18, 2024 05:08 PM

    We wanted to read some environment variables from WebSphere in workflow custom java component. Could you please suggest with some sample code snippet.

    And can import client certificate into workflow to call SOAP webservice ? 



    ------------------------------
    Ravi Kiran Saladi
    ------------------------------


  • 2.  RE: How to read WebSphere environment variables in FileNet java code module.
    Best Answer

    Posted Fri January 19, 2024 01:59 AM

    Hi Ravi

    check whether websphere resources are suitable for your use case. You can access these via jndi. Take a look at Resource reference benefits - IBM Documentation

    Certificates are managed within WebSphere: Creating a Secure Sockets Layer configuration - IBM Documentation

    best regards
    Christoph



    ------------------------------
    Christoph Sünderkamp
    ------------------------------



  • 3.  RE: How to read WebSphere environment variables in FileNet java code module.

    Posted Fri January 19, 2024 09:47 AM

    Thanks Christoph Sünderkamp.

    I just wanted to understand, if we manage the client certificate in WebSphere then how exactly we can use it in workflow system when we use SOAP webservice in workflow ? I mean, Is workflow system will take care about certificate authentication internally for SOAP call ? or we need to specify anything in workflow about WebSphere certificate configuration ? 

    Our requirement is to call external SOAP webservice in workflow which has client certificate authentication. so once certificate handshake is successful then SOAP service will send response to workflow. We wanted to check any OOTB capability to achieve this in workflow design or Can we do it through any custom component which should able to read the certificate from given location like WebSphere environment variables.

    Please suggest!



    ------------------------------
    Ravi Kiran Saladi
    ------------------------------