Dear All
I am new with ADF mobile Application
I have created a web service that has a method "AuthenticateUser". And I deployed it successfully to WLS.
Then I created a new mobile adf mobile application and I created a web service data control(SOAP/REST)
I created a taskflow and added new view activity "login.amx"
I dragged and dropped the operation "AuthenticateUser" from my data control to the login page as a parameter form.
I run deployed the application to the emulator and it owrks fine and every thing is OK.
Now I have a requirement to access the "AuthenticateUser" Operation from my managed bean.
I tried to implement this method as follow
public String authenicateUser(){
String outputĀ = "fail";
DCBindingContainer dc = getBindingContainer();
OperationBinding opr = dc.getOperationBinding("AuthenticateUser");
opr.execute();
output = (String)opr.getResult();
return output;
}
Is this code is correct? Is it possible to access the OperationBinding through this way.
Olease correct me.
I run the application and When I pressed the button I faces an error .