aspose file tools*
The moose likes Web Services and the fly likes Not a non-static method, No object found - ERROR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Not a non-static method, No object found - ERROR" Watch "Not a non-static method, No object found - ERROR" New topic
Author

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

Vanchi Nathan
Ranch Hand

Joined: Feb 24, 2004
Posts: 107
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...


Best regards,<br /> <br />vanchin
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Vanchi Nathan
Ranch Hand

Joined: Feb 24, 2004
Posts: 107
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

Joined: Aug 25, 2004
Posts: 1
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

Joined: Feb 24, 2004
Posts: 107
Hi Carlos,

Pl. refer to my previous post were i am not using any static methods, then why should the system ask so?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not a non-static method, No object found - ERROR