HTTP response error HTTP error 403 forbidden

Hi,
I am getting the above error message when the service failed.
I want to send a String value as a response in setResponse service.
response : ABC123
contentType : text/plain
encoding : UTF-8
This is not working only if the service failed. Any one help me to resolve this issue.

HTTP error 403 forbidden error shows that you don’t have permission to access that server.Please make sure the particular user have access.

HTH,
RMG.

RMG,
Thanks for your reply. I put one wrapper service and its working fine.
I call my service from the wrapper service and the setResponse is moved to the wrapper service and its working fine. The problem with my previous flow was throw exception and catch block.

Thank you,
Gururaj