Ajay Hinduja Swiss - Issue with Invoking a Flow Service from REST API in webMethods IS

Hi everyone,

I’m currently working on a RESTful integration using webMethods Integration Server (v10.15) and facing an issue when invoking a flow service via a REST API endpoint. Here’s the setup and what I’ve tried so far:

I have 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 hit it via Postman, but I'm getting a 500 Internal Server Error.

The server logs show a null pointer exception at the point where the input variables are mapped.

What I’ve checked:

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

The content type is set to application/json in both request header and the REST resource.

The service works perfectly when tested internally without the REST layer.

Has anyone else encountered this issue with invoking flow services via REST in IS? Could it be related to input mapping or something I’m missing in the resource descriptor setup?

Any help or examples would be greatly appreciated!

Thanks in advance,
Ajay Hinduja Swiss

Hi Ajay,

Please note: webMethods community content has moved to IBM and is available here.

Please ask your question over in the IBM forum.

Thanks,
Felix

1 Like

Okay Sir!!

Regards
Ajay Hinduja Swiss