Hi,
I am using axis2 to expose POJO as services. In case of an error I throw an
custom exception. The pojo methods returns a string. When I was using axis1.2.1
the return was set to void. I had to change that to String to avoid inonly
error I kept getting. I could not find a solution to that problem so I decided
to return string when I upgrdaded to axis2. In case of an exception on the
client side now I am getting org.apache.axis2.AxisFault with SOAP heading
missing as message instead of my custom exception which has some custom
variables. I am using rampart to do basic auth using username token. Am I doing
something wrong or approaching it incorrectly. I would really appreciate any
help/pointers.
Thanks
Sanjay