axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isuru Suriarachchi <isur...@gmail.com>
Subject Re: WSDL Generation Error
Date Wed, 10 Nov 2010 04:24:22 GMT
Hi Chris,

Copy jaxws-tools [1] and jaxws-rt [2] jars in AXIS2_HOME/lib.

Thanks,
~Isuru

[1] http://www.java2s.com/Code/JarDownload/jaxws-tools.jar.zip
[2] http://www.java2s.com/Code/JarDownload/jaxws-rt.jar.zip

On Tue, Nov 9, 2010 at 9:17 PM, Christopher Johnson <johnsocs@gmail.com>wrote:

> All -
>
> I just completed the migration of a Axis server to Axis2 I decided to use
> the POJO with Annotations.  All my services appear in the service list yet
> after selecting one rather then seeing the WSDL I get the following errors:
>
> javax.xml.ws.WebServiceException: Error occurred generating WSDL file for
> Web service implementation class {xxx.xxx.xxx.MyServicet}:
> {java.lang.ClassNotFoundException:
> com.sun.tools.ws.spi.WSToolsObjectFactory}
>  at
> org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.generateWsdl(JAXWSRIWSDLGenerator.java:187)
> at
> org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.initialize(JAXWSRIWSDLGenerator.java:371)
>
> Anyone have tips for addressing this issue ?
>
> Thanks,
> ..Chris
>



-- 
Technical Lead,
WSO2 Inc. http://wso2.org/
Blog : http://isurues.wordpress.com/

Mime
View raw message