public MyInOutMEPClient() throws AxisFault {
super(assumeServiceContext(null));
}
public SOAPEnvelope invokeBlockingWithEnvelopeOut(String axisop, OMElement toSend) throws AxisFault {
OperationDescription axisConfig =
serviceContext.getServiceConfig().getOperation(new QName(axisop));
if (axisConfig == null) {
axisConfig = new OperationDescription(new QName(axisop));
axisConfig.setRemainingPhasesInFlow(operationTemplate.getRemainingPhasesInFlow());
axisConfig.setPhasesOutFlow(operationTemplate.getPhasesOutFlow());
axisConfig.setPhasesInFaultFlow(operationTemplate.getPhasesInFaultFlow());
axisConfig.setPhasesOutFaultFlow(operationTemplate.getPhasesOutFaultFlow());
serviceContext.getServiceConfig().addOperation(axisConfig);
}
// if (axisConfig == null) {
// axisConfig = new OperationDescription(new QName(axisop));