I have a query on AXIS2 and this is regarding the inclusion of customized headers into the fault message sent from the service to the client. Please find my queries described below
1. I have a INOUT message receiver in axis2 server side and now am able to send in requests with headers and after processing the same, the service is able to respond back with the same header and with the Success/Failure as response back to the client.
But when there is a SOAP fault being sent on from the service due to the results of some computations,I am not able to send the FAULT response to the client with the same headers included. Kindly let me know how to do this . One way is through a Outflow handler but it cannot add headers with dynamic values every time(picking from the request that came in),I had to look for a different approach. Below is the request response model happening
<value1> val1 </value1>
<arg1>this is a value </arg1>
<arg2>this is second value </arg2>