| View previous topic :: View next topic |
| Author |
Message |
stepcicc
Joined: 16 Mar 2009 Posts: 1
|
Posted: Mon Mar 16, 2009 7:30 am Post subject: Cannot find Symbol error on Web Services Tutorial |
|
|
Good day
I've added a JAVA ME Webservice client to my project. I have managed to retrieved the WSDL file and created the stub file successfully. My problem lies in the waitScreen source code. Basically I have login screen that send username and password to web service that returns boolean. I have a "Cannot find symbol" error on bold code. I'm new at Java so not sure how to handle this error. Should I add the webservice as reference somewhere even though the project appears under Source Packages?
My code for waitScreen is as follows:
task1 = new SimpleCancellableTask();
task1.setExecutable(new org.netbeans.microedition.util.Executable() {
public void execute() throws Exception {
// write task-execution user code here
AuthenticateService auth = new AuthenticateService_Stub();
boolean logged = auth.Authenticate(getLoginScreen().getUsername(),getLoginScreen().getPassword());
if (!logged) throw new Exception();
Thank you
[/b] |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|