public InvocationResponse invoke(MessageContext msgContext)
throws AxisFault
{
// 向Tomcat控制台输出请求和响应SOAP消息
log.info(getName()+"s") ;
//
// ServiceGroupContext sc = msgContext.getServiceGroupContext();
//
// if (sc.getProperty("login") == null ? false : sc.getProperty("login").equals("Success")) {
// log.info("已经登录");
// } else {
// log.info(getName()+"s") ;
// //throw new AxisFault("请先登录");
// }
return InvocationResponse.CONTINUE;
}
想在里面做判断是否登录,但是想把登录的方法不判断,要不然登录不了
throws AxisFault
{
// 向Tomcat控制台输出请求和响应SOAP消息
log.info(getName()+"s") ;
//
// ServiceGroupContext sc = msgContext.getServiceGroupContext();
//
// if (sc.getProperty("login") == null ? false : sc.getProperty("login").equals("Success")) {
// log.info("已经登录");
// } else {
// log.info(getName()+"s") ;
// //throw new AxisFault("请先登录");
// }
return InvocationResponse.CONTINUE;
}
想在里面做判断是否登录,但是想把登录的方法不判断,要不然登录不了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货