ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4647) java2wsdl throwing java.lang.RuntimeException when running through command line.
Date Sun, 02 May 2010 10:14:55 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amila Chinthaka Suriarachchi resolved AXIS2-4647.
-------------------------------------------------

    Resolution: Fixed

resolve the issue since it is fixed in current trunk.

> java2wsdl throwing java.lang.RuntimeException when running through command line.
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-4647
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4647
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: shruthi
>
> Here is my ant task:
> <taskdef name="java2WSDL" classname="org.apache.axis2.tool.ant.Java2WSDLTask">
> <classpath>
> <path refid="axis2.classpath" />
> </classpath>
> </taskdef>
> <java2WSDL 
> classname="webservice.sampleService" 
> serviceName="sampleService" 
> style="document"	
> targetNamespace="http://webservice"
> outputLocation="${path}">
> <classpath>
> <path refid="class.path" />
> <path refid="axis2.classpath" />
> </classpath>
> </java2WSDL>
> java.lang.RuntimeException: java.lang.ClassCastException
>         at org.apache.ws.java2wsdl.Java2WSDLBuilder.<init>(Java2WSDLBuilder.java
> :108)
>         at org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.<init>(Java2WSDLCodege
> nEngine.java:51)
>         at org.apache.axis2.tool.ant.Java2WSDLTask.execute(Java2WSDLTask.java:26
> 7)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
> a:106)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.Target.execute(Target.java:357)
>         at org.apache.tools.ant.Target.performTasks(Target.java:385)
>         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
> cutor.java:41)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>         at org.apache.tools.ant.Main.runBuild(Main.java:758)
>         at org.apache.tools.ant.Main.startAnt(Main.java:217)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> Caused by: java.lang.ClassCastException
>         at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(De
> scriptionBuilder.java:192)
>         at org.apache.axis2.deployment.DescriptionBuilder$1.run(DescriptionBuild
> er.java:145)
>         at org.apache.axis2.java.security.AccessController.doPrivileged(AccessCo
> ntroller.java:132)
>         at org.apache.axis2.deployment.DescriptionBuilder.processMessageReceiver
> s(DescriptionBuilder.java:141)
>         at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConf
> igBuilder.java:102)
>         at org.apache.axis2.context.ConfigurationContextFactory.createBasicConfi
> gurationContext(ConfigurationContextFactory.java:317)
>         at org.apache.axis2.context.ConfigurationContextFactory.createDefaultCon
> figurationContext(ConfigurationContextFactory.java:304)
>         at org.apache.ws.java2wsdl.Java2WSDLBuilder.<init>(Java2WSDLBuilder.java
> Any help is appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message