Subversion Repositories SmartDukaan

Rev

Rev 11541 | Rev 11543 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11541 Rev 11542
Line 62... Line 62...
62
        super();
62
        super();
63
        userClient = new UserClient().getClient();
63
        userClient = new UserClient().getClient();
64
    }
64
    }
65
    
65
    
66
    public UserContextService.Client getClient() throws Exception{
66
    public UserContextService.Client getClient() throws Exception{
-
 
67
    	try {
67
    	if (!userClient.isAlive()) {
68
    		userClient.isAlive();
-
 
69
    	}catch (Exception e) {
68
    		userClient = new UserClient().getClient();
70
    		userClient = new UserClient().getClient();
69
    	}
71
    	}
70
    	return userClient;
72
    	return userClient;
71
    }
73
    }
72
    public String index() {
74
    public String index() {