// register operation context and message context
axisOperation.registerOperationContext(msgContext, operationContext);
serviceContext = (ServiceContext) operationContext.getParent();
ServiceGroupContext serviceGroupContext =
(ServiceGroupContext) serviceContext.getParent();
msgContext.setServiceContext(serviceContext);
msgContext.setServiceGroupContext(serviceGroupContext);
msgContext.setServiceGroupContextId(serviceGroupContext.getId());
} else { // 2. if null, create new opCtxt
operationContext = new OperationContext(axisOperation);
axisOperation.registerOperationContext(msgContext, operationContext);
if (serviceContext != null) {