on 04-18-2014 9:33 AM
Hi All,
I am working on file to HTTP_AAE scenario where i need to pick a file and post it to client server using HTTP_AAE adapter.
I have made below mentioned settings:
advanced Tab
I am getting "HttpAdapterException: STATUS_CODE_NOT_OK-Bad Request".
Any advice would be appreciated.
thanks and regards,
Praveen T
Hi Praveen,
What PI version you are in? This is a well know issue with HTTP_AAE adapter and if you are getting status code ranging from 200 to 207, you will have to update your SP.
We had similar issue with SAP PI 7.31 - SPS05, and SAP provided special patch for us as it was not reported by any customer for SP05. This error is applicable for SPS04, 06, 07, 08.
Raise an OSS and get support from SAP.
Regards
Aashish Sinha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Carlos,
Yes the request was not proper. once the request was formed with proper header info it was successfull.
The best way is install one of the free http posting tool, addon available for google chrome webstore.
Check out "REST Console": https://chrome.google.com/webstore/detail/rest-console/cokgbflfommojglbmbpenpphppikmonn?utm_source=g...
this should help or any other tool which can help us to get the correct data.
hope this helps,
thanks and regards,
Praveen T
Hi Praveen,
I have the similar error for HTTP_AAE receiver adapter and in my case response is supposed to have MIME attachments and for that I have used Content details as Content-Type = text-xml; charset=UTF-8
when I use Poster tool from firefox then I get the response with MIME attachment but from PI I receive Bad Request - similar to yours.
Please help.
Regards,
Nitin Patil
Hi Praveen,
Were you able to post the same request from an external client? If not, please try. That will confirm if there is any issue with the URL/format of the request.
Once you are able to successfully post that request externally, you can compare the request generated from PI and see where the discrepancy is.
Hope that helps.
Regards,
Rakesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.