Hi,
I extend the default greeting service to encrypt a string at server-side. I give a text and I want to have a hash back.
I call the service like this
But very strange, the first I got an empty string, if I call the service a second time then I got the right hashtext back.
Does anyone have an advice?
Thy you in advance.
I extend the default greeting service to encrypt a string at server-side. I give a text and I want to have a hash back.
I call the service like this
Code:
greetingService.encrpytPWD(pwd, new AsyncCallback<String>() {
@Override
public void onFailure(Throwable caught) {
}
@Override
public void onSuccess(String result) {
calcPWD = result;
}
});
Does anyone have an advice?
Thy you in advance.