yes Mayank
you are Right there was problem in the syntax itself , I have already used the above syntax and now it works fine !!
But there is a small problem now that response does not return anything on success
but if I raise some exception as below , response returns an error values accordingly.
RAISE EXCEPTION TYPE /iwbep/cx_mgw_busi_exception
* EXPORTING
* message_container = LO_MESSAGE_CONTAINER.
How can I add some value in response in case of success.