The following comment has been added to this issue:
Author: Gurprit
Created: Wed, 2 Feb 2005 4:17 AM
Body:
I have resolved the problem using the task as this
<target name ="genetrate.wsee">
<delete file="${webinf.dir}\webservices.xml"/>
<delete file="${webinf.dir}\jaxrpc-mapping.xml"/>
<wseedoclet destDir = "${webinf.dir}"
wsdlFile = "${wsdl.investment}"
jaxrpcMappingFile="WEB-INF\jaxrpc-mapping.xml"
force = "true"
verbose = "true">
<fileset dir="${src.dir}">
<include name="**/*Service.java"/>
</fileset>
<deploymentdescriptor destdir="${webinf.dir}"
name = "The Serivce Name"
/>
<jaxrpc-mapping destdir="${basedir}"/>
</wseedoclet>
But the webserivce.xml is not generated properly and Jaxrpc-mapping.xml is blank
If you are successful in generation can you please let me know whihc tags you
are added to WebServiceImpl and its methods.
Thanks
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1245?page=comments#action_15833
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1245
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1245
Summary: ClassCast Exceptioni n WSEE
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Web Services Module
Versions:
1.2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Gurprit
Created: Tue, 25 Jan 2005 2:29 AM
Updated: Wed, 2 Feb 2005 4:17 AM
Environment: Windows XP, Apache Ant1.6.2
Description:
I use the latest xdoclet (1.2 ) task definitions in my build.xml. When i run
Wsee Task on Build.xml it throws ClassCastException. The log printed on
Console is
It doesn't provide any information on the cause of the exception.
genetrate.wsee:
[wseedoclet] java.lang.ClassCastException
[wseedoclet] at xdoclet.modules.wsee.JaxrpcMappingSubTask.validateOptions
(JaxrpcMappingSubTask.java:53)
[wseedoclet] at xdoclet.DocletTask.validateSubTasks(DocletTask.java:528)
[wseedoclet] at xdoclet.DocletTask.validateOptions(DocletTask.java:493)
[wseedoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:94)
[wseedoclet] at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:275)
[wseedoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
[wseedoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
[wseedoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[wseedoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[wseedoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[wseedoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run
(InternalAntRunner.java:377)
[wseedoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main
(InternalAntRunner.java:135)
BUILD FAILED: C:\java\Workspaces\default\Wrap Tools\build.xml:66: Unexpected
error
My Bulid.xml is like
path id="ant.classpath" description="Specific Ant classpath">
<fileset dir="${ref.lib.dir}">
<!-- add the jars required for building only -->
<include name="**/*.jar"/>
</fileset>
<fileset dir="${xdoclet.lib.dir}">
<!-- add the xdoclet jars -->
<include name="**/*.jar"/>
</fileset>
<fileset dir="${jboss.client}">
<!-- add jboss client files -->
<include name="**/*.jar"/>
</fileset>
<pathelement location="bin"/>
<!-- add compiled classes -->
</path>
<taskdef resource="axis-tasks.properties"
classpathref="ant.classpath"/>
<taskdef name="wseedoclet"
classname="xdoclet.modules.wsee.WseeDocletTask" classpathref="ant.classpath"/>
<target name ="genetrate.wsee">
<delete file="${webinf.dir}\webservices.xml"/>
<delete file="${webinf.dir}\jaxrpc-mapping.xml"/>
<wseedoclet destDir = "${webinf.dir}"
wsdlFile = "${wsdl.investment}"
force = "true"
verbose = "true">
<fileset dir="${src.dir}">
<include name="**/*.java"/>
</fileset>
<deploymentdescriptor destdir="${webinf.dir}"/>
<jaxrpc-mapping destdir="${webinf.dir}"/>
</wseedoclet>
Please help
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel