Quantcast
Channel: SCN : All Content - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 5139

HTTP_RESPONSE_STATUS rewrite in web dispatcher

$
0
0

Hi Experts

 

We have recently upgraded our  PI system from 7.1 EHP1

 

 

to PI 7.4.

 

 

We have encountered a problem in our Click interface. The
SOAP

 

 

receiver channels go into error when receiving a SOAP fault
response

 

 

even though the fault message is successfully processed in
PI. This

 

 

will impact our support capabilities when we go live due to
false

 

 

alarms being raised for successfully processed messages.

 

 

 

 

 

We are getting  HTTP 500 exception error. We want to
rewrite in Web dispatcher since we are using SAP web dispatcher.

 

 

 

 

 

We  have tried the below code for rewriting the HTTP
response code 500 to 200 but getting issue below error while starting the web
dispatcher.

 

 

 

 

 

error:

 

 

FATAL: HttpModHandlerInit: Error processing rule file
E:/usr/sap/SID/SYS/profile/HTTP_STATUS_Rules.txt: unknown operation in line 4:
>http_rewrite 200 <. See SAP note 1918448. [http_rewrite 962]

 

 

 

 

 

Rewrite code:

 

 

 

 

 

if %{HTTP_RESPONSE_STATUS} regimatch 500

 

 

http_rewrite 200

 

 

 

 

 

please let me know if my rewrite code is correct.


Viewing all articles
Browse latest Browse all 5139

Trending Articles