Hi Mike, Sorry I'm not familiar with the eclipse Plugin to answer your question. But here is a workaround. You can use this hosted Java2wsdl [1] tool at [2]. This GUI tool is part of the WSO2 Web Services Application Server [3] which is built on top of Axis2.
Thanks, Keith. [1] https://tools.wso2.org/tools/carbon/java2wsdl/index.jsp?region=region5&item=java2wsdl_menu [2] http://wso2.org/tools [3] http://wso2.org/projects/wsas On Thu, Mar 12, 2009 at 9:07 PM, Michael <mtarullo...@optonline.net> wrote: > Not long ago I posted that I was was having a problem generating a WSDL > file from my Java code using the Axis2 Code Generator. > > An answer was provided which seemed very promising. The answer that was > given is provided below: > > This is a known bug. Here is the solution with explanation: > > > http://blogiterox.wordpress.com/2008/10/24/exploring-apache-axis2-and-eclipse-plug-in-development/ > Solution: Copy the jar for stax and for backport to the plug-in directory > (<Eclipse>\plug-ins\<Axis2 code generator>\lib) and then add the backport > jar to the plugin.xml file. > > I went to the link provided and followed the directions provided there > (these are summarized in the solution given above) and tried to generate a > WSDL file from my code. > > I encountered the exact same problem. A description of that problem is > provided below: > > When I launch the Axis2 Code Generator (v1.3.0) Wizard, enter the fully > qualified class name and the location of the class file and then select the > button to test loading the class I keep getting a > java.lang.ClassNotFoundException. > > Can anyone provide any additional help? > > Thanks > Mike > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org