[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Axis2 wsdl file generation problem

Can you explain exactly how you tried to generate the java code from the wsdl? The tutorial in http://wiki.eclipse.org/Creating_a_top-down_Axis2_Web_service explains how to do it. Adding the axis2 facets on creating the dynamic project does not necessarily create axis2 stubs for a wsdl when requested to create java code from a wsdl.
One thing to note is that the the stub generation in axis2 has some optional parameters where eclipse axis2 config page does not present to the user at current version. So the java code will be generated according to default values of those parameters.


Joseph C. Estes, Jr. wrote:
I'm attempting to create an axis2 web service from a wsdl file.

I have created a Dynamic Web Project in eclipse 3.4.1. I have enabled Axis2 in the project facets under project properties. All the relevant Axis2 directories and files build successfully in my project. I right click on my wsdl file to generate the java class files and all processes succeed. My problem occurs in that different files are generated than when I use axis2's wsdl2java shell script. A server-config.wsdd file is generated and not a services.xml. This leads me to believe that axis1 is actually generating these files and not axis2. Has anyone had this problem? Is there anything I can do to take axis1 out of the picture all together and have a pure axis2 web project?

Thanks a million!
wtp-dev mailing list