private UploaderServiceStub stub;
private DataHandler soapFile;
private String soapText;
public UploaderServiceClient(ConfigurationContext ctx, String serviceURL, String cookie) throws AxisFault {
stub = new UploaderServiceStub(ctx, serviceURL);
Options options = stub._getServiceClient().getOptions();
options.setProperty(Constants.Configuration.ENABLE_MTOM, Constants.VALUE_TRUE);
options.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie);
//Increase the time out when sending large attachments
options.setTimeOutInMilliSeconds(100000);