@Override
@WebMethod
public String testAction(String name) throws StatefulActionException {
MessageContext mc = wsContext.getMessageContext();
ERXWOContext context = (ERXWOContext) mc.get(ERWSWOHTTPConnection.ERJAXWS_ERXWOCONTEXT);
if(!((Session)context.session()).authenticated)
{
StatefulActionFaultInfo statefulActionFaultInfo = new StatefulActionFaultInfo();
statefulActionFaultInfo.setMessage("NOT_AUTHENTICATED");
throw new StatefulActionException("NOT_AUTHENTICATED", statefulActionFaultInfo);
}