This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not a non-static method, No object found - ERROR

 
Vanchi Nathan
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm new to webservices... I just tried a simple web service... by the following two classes.

Interface
---------


Implementation
--------------

================
I'm trying out this using an IDE. When i try to create a web service (server side) no errror.. then when i try to generate server side files or WSDL... i get the error..."NOt a non-static method...NO oject Found must use object resolver".

I really have no idea about this... can any one help me...

thanks in advance...
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vanchi Nathan:
When i try to create a web service (server side) no errror.. then when i try to generate server side files or WSDL... i get the error...

You'll have to be more specific... What are you able to generate and what are you not able to generate? How are you generating whatever you're trying to generate?
 
Vanchi Nathan
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Actually, i am using SUN One Studio for creating a web service.

After compiling the Interface and its implementation; then i try to create a new Web Service using the wizzard (for choosing the method) there is no problem; the web service icon on the explorer(file system) is created.

Now using the web service icon when i try to generate the Web service files the IDE generates the above error.

Pl. help me to over come this errors because i cannot proceed further.

thanks a lot
 
Carlos Fieldgrowe
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to make static methods if you are going to use the classes in that way.

/CF

[ August 25, 2004: Message edited by: Carlos Fieldgrowe ]
[ August 25, 2004: Message edited by: Carlos Fieldgrowe ]
 
Vanchi Nathan
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carlos,

Pl. refer to my previous post were i am not using any static methods, then why should the system ask so?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic