We are calling the RMP process from the third party web service.
We have created the web service. We are passing the java object in the XMl format in the body of the request.
But the response from RMP is "400 Bad Error".
We have set the authorization and all. We are sending the Data in the XML format.
Please see the below line for more details.
Response postresponse=basetarget.request().accept(MediaType.APPLICATION_ATOM_XML).acceptEncoding("UTF-8").header("Authorization", auth_str).post(Entity.xml(c));
I think the Content of the post request is something we are missing some part.
Any help in this would be appreciable.
Thanks and Regards,
Sagar
We have successfully call the API of the CAPI in RMP. We are passing some information in the POST body. But not able to access it in the CAPI.
Could you please help me to capture the information sent from the Webservice as the POST body.
Regards,
Sagar
Instead of directly calling the process connector we have created one CAPI and now we are calling that CAPI with simple JSON body. The CAPI gets successfully called and also the process gets triggered but the data which we are passing to the CAPI is not visible in the parameters of the process instance.
How can I access the Data which is sent in the body of the request to the CAPI.
The method is POST and the Content-Type is Apllication/json.
When I am calling the CAPI i got 200 OK response but not able to find the Data which is sent in the body.
Could you please help me in this isse.
Regards,
Sagar