service.setClassLoader(Thread.currentThread().getContextClassLoader());
service.addParameter(
new Parameter(Constants.SERVICE_CLASS, RedirectReceiver.class.getName()));
AxisOperation axisOp = new InOnlyAxisOperation(new QName("echoOMElementResponse"));
axisOp.setMessageReceiver(new RawXMLINOnlyMessageReceiver());
axisOp.setStyle(WSDLConstants.STYLE_RPC);
service.addOperation(axisOp);
service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + "echoOMElementResponse",
axisOp);
AxisOperation axisOp2 = new InOnlyAxisOperation(new QName("fault"));
axisOp2.setMessageReceiver(new RawXMLINOnlyMessageReceiver());
axisOp2.setStyle(WSDLConstants.STYLE_RPC);
service.addOperation(axisOp2);
service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + "fault", axisOp2);
return service;
}