Thanks Keith. I might give this a try. I prefer to try and get the Axis2 Codegen Wizard working as I will be able to work entirely in Eclipse, but any port in a storm :-).
Mike ----- Original Message ----- From: keith chapman To: [email protected] Sent: Sunday, March 15, 2009 8:20 AM Subject: Re: Problem with Axis2 Code Generator - Java2WSDL 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 <[email protected]> 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 ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.13/2001 - Release Date: 03/14/09 06:54:00
