My Integration server version is 9.12 and I have developed a HTTP DELETE Rest service for delete operation. Request for this service will be passed by source application in request body as payload and not in query parameters. I try to test the service using SOAPUI/POSTMAN app and below steps are followed.
- HTTP Method Name selected as DELETE
- Header parameter Content-Type set with value as application/xml
- Placed the request xml in body of request as a payload.
When tested it. Service was not working. Got error as request object is null. I debugged the code by adding savePipeline service inside _delete flow service to save the request. When restore it request body which usually appear as object (node) was missing.
If I pass query parameters to the same DELETE service, I am able to retrieve it. The only problem is whenever request xml/json passed in request body, Integration server either not reading or ignoring it. This is happening only when HTTP method is DELETE.
Can anyone faced the same problem?.
Is there any solution to overcome this problem?
Thanks & Regards,