You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/09/30 12:24:59 UTC

DO NOT REPLY [Bug 13134] New: - java.io.IOException in WSDL2Java for test.wsdl._import

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13134

java.io.IOException in WSDL2Java for test.wsdl._import

           Summary: java.io.IOException in WSDL2Java for test.wsdl._import
           Product: Axis
           Version: 1.0-rc1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: glyn@apache.org


When I build the 1.0 branch with ant clean all, I get the error below. It seems
unlikely that there is a network problem since the wsdl file appears to be on
the local file system. Also ant compile run from within the test/wsdl/_import
directory gives BUILD SUCCESSFUL in 1 minute and 8 seconds. This appears either
to be an intermittent bug or a problem with the build scripts which is sensitive
to my setup.

     ......
     [java] compile:
     [java]      [echo] Compiling test.wsdl._import
     [java] [wsdl2java] WSDL2Java
/home/glyn/axis/xml-axis/java/test/wsdl/_import/Import.wsdl
     [java] [wsdl2java] WSDL2Java
/home/glyn/axis/xml-axis/java/test/wsdl/_import/Import.wsdl
     [java] [wsdl2java] WSDL2Java
/home/glyn/axis/xml-axis/java/test/wsdl/_import/ImportMessagesXSDImport.wsdl
     [java]   [foreach] java.io.IOException: WSDL2Java emitter timed out (this
often means the WSDL at the specified URL is inaccessible)!
     [java] [wsdl2java] Running Wsdl2javaAntTask with parameters:
     [java] [wsdl2java] 	verbose:false
     [java] [wsdl2java] 	server-side:false
     [java] [wsdl2java] 	skeletonDeploy:false
     [java] [wsdl2java] 	helperGen:false
     [java] [wsdl2java] 	factory:null
     [java] [wsdl2java] 	testCase:false
     [java]   [foreach] 	at org.apache.axis.wsdl.gen.Parser.run(Parser.java:223)
     [java]   [foreach] 	at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:384)
     [java]   [foreach] 	at
org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask.execute(Unknown Source)
     [java] [wsdl2java] 	noImports:false
     [java] [wsdl2java] 	NStoPkg:{urn:types.import.test=test.import.test3}
     [java] [wsdl2java] 	output:/home/glyn/axis/xml-axis/java/build/work
     [java] [wsdl2java] 	deployScope:
     [java] [wsdl2java] 
URL:/home/glyn/axis/xml-axis/java/test/wsdl/_import/ImportMessagesXSDImport.wsdl
     [java]   [foreach] 	at org.apache.tools.ant.Task.perform(Task.java:317)
     [java]   [foreach] 	at org.apache.tools.ant.Target.execute(Target.java:309)
     [java]   [foreach] 	at org.apache.tools.ant.Target.performTasks(Target.java:334)
     [java] [wsdl2java] 	all:false
     [java] [wsdl2java] 	typeMappingVersion:1.1
     [java] [wsdl2java] 	timeout:45000
     [java] [wsdl2java] 	failOnNetworkErrors:false
     [java] [wsdl2java] 	printStackTraceOnFailure:true
     [java]   [foreach] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java]   [foreach] 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
     [java]   [foreach] 	at org.apache.tools.ant.Task.perform(Task.java:317)
     [java]   [foreach] 	at org.apache.tools.ant.Target.execute(Target.java:309)
     [java]   [foreach] 	at org.apache.tools.ant.Target.performTasks(Target.java:334)
     [java]   [foreach] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java]   [foreach] 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
     [java]   [foreach] 	at
org.apache.axis.tools.ant.foreach.ForeachTask.executeAntTask(Unknown Source)
     [java]   [foreach] 	at
org.apache.axis.tools.ant.foreach.ForeachTask.executeTarget(Unknown Source)
     [java]   [foreach] 	at
org.apache.axis.tools.ant.foreach.ForeachTask.executeParameters(Unknown Source)
     [java]   [foreach] 	at
org.apache.axis.tools.ant.foreach.ForeachTask.executeParameters(Unknown Source)
     [java]   [foreach] 	at
org.apache.axis.tools.ant.foreach.ForeachTask.execute(Unknown Source)
     [java]   [foreach] 	at org.apache.tools.ant.Task.perform(Task.java:317)
     [java]   [foreach] 	at org.apache.tools.ant.Target.execute(Target.java:309)
     [java]   [foreach] 	at org.apache.tools.ant.Target.performTasks(Target.java:334)
     [java]   [foreach] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java]   [foreach] 	at
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
     [java]   [foreach] 	at org.apache.tools.ant.Main.runBuild(Main.java:610)
     [java]   [foreach] 	at org.apache.tools.ant.Main.start(Main.java:196)
     [java]   [foreach] 	at org.apache.tools.ant.Main.main(Main.java:235)

     [java] BUILD FAILED
     [java] file:/home/glyn/axis/xml-axis/java/test/wsdl/_import/build.xml:115:
Error while processing WSDL in Wsdl2javaAntTask for
/home/glyn/axis/xml-axis/java/test/wsdl/_import/ImportMessagesXSDImport.wsdl

     [java] Total time: 1 minute 58 seconds

BUILD FAILED
file:xmls/targets.xml:6: Java returned: 1

Total time: 18 minutes 53 seconds