axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Assigned: (AXIS-546) java2wsdl ant task seems not to work
Date Mon, 22 Mar 2004 15:15:58 GMT
Message:

   The following issue has been re-assigned.

   Assignee: Steve Loughran (mailto:stevel@apache.org)
   Assigner: Davanum Srinivas (mailto:dims@yahoo.com)
       Date: Mon, 22 Mar 2004 7:15 AM
    Comment:
Assigning to steve :)
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-546

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-546
    Summary: java2wsdl ant task seems not to work
       Type: Bug

     Status: Open

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.1beta

   Assignee: Steve Loughran
   Reporter: Fernando Bellas Permuy

    Created: Thu, 5 Dec 2002 10:28 AM
    Updated: Mon, 22 Mar 2004 7:15 AM
Environment: Operating System: Linux
Platform: PC

Description:
The java2wsdl task seems not to work. Above I show you two snippets of my
build.xml file. The first one uses Java2WSDL command line tool and works fine.
The second one is an equivalent alternative using java2wsdl ant task, and fails
when executed (I include exception stack trace below). The same occurs with
other Java files that I am generating WSDL from.

* First option (OK)
  ------------

<target name="java2wsdl" depends="compilewsdl">
    <java fork="yes" classpath="${movies.classpath}"
        classname="${java2wsdl.tool}">
        <arg line="-o ${movies.wsdlfile} -l ${movies.serviceurl}
            es.udc.fbellas.corbaws.movies.wsdl.MovieInformationProvider"/>
    </java>
</target>

* Second option (FAILS)
  -------------

<target name="java2wsdl" depends="compilewsdl">
    <java2wsdl output="${movies.wsdlfile}"
    location="${movies.serviceurl}"
    classname="es.udc.fbellas.corbaws.movies.wsdl.MovieInformationProvider" />
</target>

- Exception stack trace:
[java2wsdl] Java2WSDL es.udc.fbellas.corbaws.movies.wsdl.MovieInformationProvider
[java2wsdl] [Fatal Error] :2:416: The value of the attribute "xmlns:impl" is
invalid. Prefixed namespace bindings may not be empty.
[java2wsdl] WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL
Document -'.: The value of the attribute "xmlns:impl" is invalid. Prefixed
namespace bindings may not be empty.: org.xml.sax.SAXParseException: The value
of the attribute "xmlns:impl" is invalid. Prefixed namespace bindings may not be
empty.
[java2wsdl] 	at
org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:267)[java2wsdl] 	at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
[java2wsdl] 	at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
[java2wsdl] 	at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
[java2wsdl] 	at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:269)
[java2wsdl] 	at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:338)
[java2wsdl] 	at
org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java2WsdlAntTask.java:249)
[java2wsdl] 	at org.apache.tools.ant.Task.perform(Task.java:317)
[java2wsdl] 	at org.apache.tools.ant.Target.execute(Target.java:309)
[java2wsdl] 	at org.apache.tools.ant.Target.performTasks(Target.java:334)
[java2wsdl] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)[java2wsdl] 	at
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
[java2wsdl] 	at org.apache.tools.ant.Main.runBuild(Main.java:610)
[java2wsdl] 	at org.apache.tools.ant.Main.start(Main.java:196)
[java2wsdl] 	at org.apache.tools.ant.Main.main(Main.java:235)
[java2wsdl] 
[java2wsdl] 	at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
[java2wsdl] 	at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
[java2wsdl] 	at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:269)
[java2wsdl] 	at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:338)
[java2wsdl] 	at
org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java2WsdlAntTask.java:249)
[java2wsdl] 	at org.apache.tools.ant.Task.perform(Task.java:317)
[java2wsdl] 	at org.apache.tools.ant.Target.execute(Target.java:309)
[java2wsdl] 	at org.apache.tools.ant.Target.performTasks(Target.java:334)
[java2wsdl] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)[java2wsdl] 	at
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
[java2wsdl] 	at org.apache.tools.ant.Main.runBuild(Main.java:610)
[java2wsdl] 	at org.apache.tools.ant.Main.start(Main.java:196)
[java2wsdl] 	at org.apache.tools.ant.Main.main(Main.java:235)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message