AxisConfiguration axisConfiguration = configContext.getAxisConfiguration();
AxisService axisService = axisConfiguration.getService("RMSampleService");
AxisOperation operation = AxisOperationFactory.getAxisOperation(WSDL20_2004Constants.MEP_CONSTANT_IN_ONLY);
operation.setMessageReceiver(new MTOMTestMessageReceiver());
operation.setName(new QName(MTOMping));
axisService.addOperation(operation);
AxisOperation pingOperation = axisService.getOperation(new QName(PING_OPERATION_NAME));
if (pingOperation == null)
throw new AxisFault("Cant find the ping operation");