Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only

Ajay Hinduja Swiss: webMethods IS 10.15 – 500 Error When Invoking Flow Service via REST

  • 1.  Ajay Hinduja Swiss: webMethods IS 10.15 – 500 Error When Invoking Flow Service via REST

    Posted 6 hours ago

    Hello everyone,

    I'm currently working on a RESTful integration using webMethods Integration Server (v10.15) and am facing an issue when invoking a flow service through a REST API endpoint.

    Here's a quick overview of the setup and what I've tried:

        I created a flow service that accepts a JSON payload and returns a JSON response.

        I generated a REST resource using the REST Resource Descriptor in Designer and deployed it to the Integration Server.

        The REST endpoint is accessible, and I can send requests using Postman.

        However, I consistently receive a 500 Internal Server Error, and the server logs indicate a NullPointerException during the input mapping phase.

    What I've verified so far:

        The flow service's input/output signatures match the JSON structure I'm sending.

        The Content-Type is correctly set to application/json in both the request header and the resource definition.

        The service executes successfully when tested internally, outside the REST context.

    I suspect the issue might be related to input mapping or the REST Resource Descriptor configuration. Has anyone else experienced a similar issue when invoking flow services via REST in IS? Any suggestions, debugging tips, or working examples would be highly appreciated.

    Thanks in advance for your support!

    Ajay Hinduja Swiss



    ------------------------------
    Ajay Hinduja
    ------------------------------