throws RegistryException{
epr = backendServerURL + "WSRegistryService";
/*Since user provided the cookie no need to authenticate with username and password*/
setCookie(cookie);
try{
stub = new WSRegistryServiceStub(epr);
ServiceClient client = stub._getServiceClient();
Options options = client.getOptions();
options.setManageSession(true);
options.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie);
stub._getServiceClient().getOptions().setProperty(Constants.Configuration.ENABLE_MTOM, Constants.VALUE_TRUE);