cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Content type is null in response of Http Post message in SAP HCI

Former Member
0 Kudos

Hi

I am try to consume the web service which i taking post as request

and in response i am getting 403 forbidden error but that content type is null, so it is not read by the HCI

like in PI we have option of this using Java mapping is there any such kind of option we have in HCI?

Regards

GK

Former Member
0 Kudos

Hi Gayathri,

I am calling a web service using Request-reply and the request type is POST and I set the content type as header is aplication/www.xmlencoded.com

My request is working fine when token is valid but some time my request token is expire then i got 403 error in reply and then content type is null in response and giving me a plain text in response, and my message is getting failed

Can you please suggest how can i handle this situtation so my errro back to sender system instead of failing in HCI

Regards

GK

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Hi

I am not sure if I understand your issue correctly.

When you have an error like 400, 401, 403, then you do not get a response, so there is nothing that you can do in PI or HCI to read the response.

I think that you have the wrong URL for your web service, so ask the provider for the correct URL.

Regards

Stefan

Answers (0)