aspose file tools
The moose likes Web Services and the fly likes trouble generating wsdl using ant task Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "trouble generating wsdl using ant task" Watch "trouble generating wsdl using ant task" New topic
Author

trouble generating wsdl using ant task

tarik el berrak
Greenhorn

Joined: Oct 06, 2006
Posts: 29
Hi all,

I have some troubles using axis ant task to generate wsdl.
here is my task :
----------------------------------------------------------------------------
<taskdef name="java2wsdl"
classname="org.apache.ws.java2wsdl.Java2WSDLTask"
classpathref="manaccs.classpath" />

<target name="generate.wsdl" depends="compile"
description="generate wsdl from the service interface">

<java2wsdl className="${manaccs.services.pkg}.ServiceDelegate"
outputLocation="${manaccs.wsdl.dir}"
targetNamespace="http://${namespaceTarget}/"
schemaTargetNamespace="http://${namespaceTarget}/wsdl">
<classpath>
<pathelement path="${manaccs.classpath}" />
<pathelement path="${manaccs.build.classes.dir}" />
</classpath>
</java2wsdl>
</target>
----------------------------------------------------------------------------

when launching ant ia have this exception and the wsd file is empty.

org.apache.ws.commons.schema.XmlSchemaException: XML-22101: (Fatal Error) DOMSource node as this type not supported


Any help


SCJP 1.5<br />New Target (SCWCD 5)
Garima Gupta
Greenhorn

Joined: Feb 09, 2010
Posts: 1
I have the same issue. Did you get the solution?
 
 
subject: trouble generating wsdl using ant task
 
Threads others viewed
Eclipse 3.3, Glassfish, WebServices and wsimport
AXIS-JAVA2WSDL ClassNotFoundException
Problem in ServiceGen task
JAX-WS create server and client jar in one build pass (ant)
Classpath for the Java2WSDL task
IntelliJ Java IDE