error generating wsdl from java file using eclipse web services toolkit.

Posted on 2006-05-24
Last Modified: 2012-05-05
I am quite new to web services and seem to have run into an issue that I
hope some of you can give me an idea on how to debug.

Firstly I started out with installing the eclipse and web services plugins.
My eclipse version is 3.1.1  and for web services I have the web standard
tools feature version 1.0.0 which I installed off of the
wtp-all-in-one-sdk-1.0-win32 .zip file

I have run through  all the initial tutorials for farenheit to celcius
conversions using the wtpconverter example and this works just fine. i.e I
am able to access the temperature units converter as a web service and see
the right output.

I now have a class called RuleCientDB which has a method called executeRule.
It would like to expose this class and method as a webService. But havent
succeeded in doing so.

The two parameters are String and an object.
executeRule("Const_Boolean_True" , null );

When I run it through the process I get the following errors.

IWAB0398E Error in generating WSDL from Java
java.lang.ClassNotFoundException: RuleClientDB

Any ideas why I may be getting this error ? What should I attempt to do ?

Would this have anything to do with the parameters that I pass to
executeRule. The signature of executeRule is as follows executeRule(String,

Are there issues when passing objects to web services ? ANy workarounds ?

Could this be a eclipse configuration issue ?

Would appreciate all the suggestions I can get.

Thanks and Regards,


Question by:mrnmrn
    LVL 92

    Accepted Solution

    make sure your class is in a package
    LVL 30

    Assisted Solution

    Try using WSDL2Java from Apache (it has an Eclipse plugin too)

    Author Comment

    Apparently the answer is to restart . It seems like a eclipse bug and according to the newsgroups it is related to timing.
    I hate to be stingy especially since this was my first post. I tried the give the above two folks half the points each. But the system wont let me do that without specifying someone's answer as right.
    thanks anyways guys.
    LVL 30

    Expert Comment

    You can do that by selecting the "Split Points" section and select one of them as the 'Accepted answer'. However, if you found the solution yourself, request in Community support for a delete/ refund of points.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    tenRun challenge 28 67
    Performance issue while iterating with streams 5 34
    changePi Challenge 15 57
    Updating Java 9 62
    For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
    By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
    Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now