public class SunRound3Client {
public SOAPEnvelope sendMsg(SunRound3ClientUtil util, String epUrl, String soapAction) throws AxisFault {
SOAPEnvelope retEnvelope= null;
Call call = null;
URL url = null;
try {
call = new Call("target/test-resources/intregrationRepo");
//todo set the path to repository in Call()
url = new URL(epUrl);
call.setTo(new EndpointReference(url.toString()));
call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
call.setSoapAction(soapAction);
AxisConfiguration axisConfig = new AxisConfigurationImpl();
ConfigurationContext configCtx = new ConfigurationContext(axisConfig);
MessageContext msgCtx = new MessageContext(configCtx);
OperationDescription opDesc = new OperationDescription(new QName(""));
SOAPEnvelope requestEnvilope = util.getEchoSoapEnvelope();
msgCtx.setEnvelope(requestEnvilope);
MessageContext resMsgCtx = call.invokeBlocking(opDesc, msgCtx);
retEnvelope = resMsgCtx.getEnvelope();
} catch (Exception e) {
throw new AxisFault(e);
}