on ‎2021 Jun 28 11:37 AM
Hi All,
Can some one please tell me that how can i send the http status code using SAP CPI. I have created a i flow in cpi which is connected with RSA to create user profile in AD. this is a http call. Now the RSA side i want to send the http codes like 200, 401 etc . can some please help me here. Thanks
Request clarification before answering.
Hi Shikha ,
You can set the Header: CamelHttpResponseCode with any desired value i.e 201,400 etc using a content modifier or script.
Thanks,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Assuming you are using request reply to call to AD , use content modifier after the call you can read the http status code via : CamelHttpResponseCode and assing the same back to CamelHttpResponseCode and you can set your predefined response. In case of error, you need to capture code via script inside the exception subprocess, refer this link ofr code.
Hello,
Please refer:
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.