FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Cannot find Symbol error on Web Services Tutorial

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
stepcicc



Joined: 16 Mar 2009
Posts: 1

PostPosted: Mon Mar 16, 2009 7:30 am    Post subject: Cannot find Symbol error on Web Services Tutorial Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB