Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

ASM Custom Response Page XML SOAP REST

FaresB
Nimbostratus
Nimbostratus

Hello,

 

I have trouble with customised response page from f5 ASM :

 

My Custom Default Response page will send a 403 HTTP Code

My Custom XML Response page will send a 500 HTTP Code for every non allowed XML request.

 

But in practice, it's not what is happening :

 

when a SOAP XML request is sent with an XML error => It shows 500 HTTP Code . All is OK at this step.

But when a REST XML request is sent with an XML error (exemple : WSDL is not valid or XML Malformed Data) => 403 HTTP Code is Returned instead of 500

 

Do you know why I have this results with SOAP and REST ?

Is this the right way to do customise response page or do I need to write a specific iRULE for REST XML errors in order to return a 500 HTTP CODE ?

 

Regards

2 REPLIES 2

Ivan_Chernenkii
F5 Employee
F5 Employee

Hello,

 

What version BIG-IP do you use?

What requests do you send in case of SOAP XML and REST XML?.. especially, what Content-type headers do these requests have?

 

By default XML Response page should appear for any violation in request with *xml* Content-Type in case of enabling "Use XML Blocking Response Page" for "Default" XML Profile.

 

Thanks, Ivan

FaresB
Nimbostratus
Nimbostratus

Hello Ivan,

 

 

Thanks ! It works!!

 

😄