• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

trouble generating wsdl using ant task

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the same issue. Did you get the solution?
reply
    Bookmark Topic Watch Topic
  • New Topic