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 ax...@ws.apache.org on 2004/10/01 20:27:33 UTC
[jira] Created: (AXIS-1582) WSDL2Java fails to process xsd:import
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1582
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1582
Summary: WSDL2Java fails to process xsd:import
Type: Bug
Status: Unassigned
Priority: Major
Project: Axis
Components:
WSDL processing
Versions:
current (nightly)
Assignee:
Reporter: Jerome Magnet
Created: Fri, 1 Oct 2004 11:26 AM
Updated: Fri, 1 Oct 2004 11:26 AM
Environment: Windows 2000, ant1.6.0, j2sdk1.4.2_02
Description:
An imported definition is not found during execution of WSDL2Java.
The entire content of <xsd:schema> (in <wsdl:types>) is imported from an external XSD file, which itself imports other schemas with different namespace.
See details of exception below:
D:\Jeromem\wsdl\build.xml:32: Error while processing WSDL in Wsdl2javaAntTask for D:\Jeromem\wsdl/NotificationService.wsdl
at org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask.execute(Wsdl2javaAntTask.java:272)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at org.apache.tools.ant.Target.performTasks(Target.java:365)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
at org.apache.tools.ant.Main.runBuild(Main.java:669)
at org.apache.tools.ant.Main.startAnt(Main.java:220)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
Caused by: java.io.IOException: Element {http://www.tmforum.org/schema/MTOSI/NotificationService/v1/}NotifyRequest is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:657)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:532)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:506)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:483)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
at java.lang.Thread.run(Thread.java:534)
--- Nested Exception ---
java.io.IOException: Element {http://www.tmforum.org/schema/MTOSI/NotificationService/v1/}NotifyRequest is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:657)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:532)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:506)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:483)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
at java.lang.Thread.run(Thread.java:534)
---------------------------------------------------------------------
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
[jira] Closed: (AXIS-1582) WSDL2Java fails to process xsd:import
Posted by ax...@ws.apache.org.
Message:
The following issue has been closed.
Resolver: Davanum Srinivas
Date: Thu, 14 Oct 2004 1:38 PM
Closing bug as per Jerome's comment.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1582
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1582
Summary: WSDL2Java fails to process xsd:import
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Axis
Components:
WSDL processing
Versions:
current (nightly)
Assignee:
Reporter: Jerome Magnet
Created: Fri, 1 Oct 2004 11:26 AM
Updated: Thu, 14 Oct 2004 1:38 PM
Environment: Windows 2000, ant1.6.0, j2sdk1.4.2_02
Description:
An imported definition is not found during execution of WSDL2Java.
The entire content of <xsd:schema> (in <wsdl:types>) is imported from an external XSD file, which itself imports other schemas with different namespace.
See details of exception below:
D:\Jeromem\wsdl\build.xml:32: Error while processing WSDL in Wsdl2javaAntTask for D:\Jeromem\wsdl/NotificationService.wsdl
at org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask.execute(Wsdl2javaAntTask.java:272)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at org.apache.tools.ant.Target.performTasks(Target.java:365)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
at org.apache.tools.ant.Main.runBuild(Main.java:669)
at org.apache.tools.ant.Main.startAnt(Main.java:220)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
Caused by: java.io.IOException: Element {http://www.tmforum.org/schema/MTOSI/NotificationService/v1/}NotifyRequest is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:657)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:532)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:506)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:483)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
at java.lang.Thread.run(Thread.java:534)
--- Nested Exception ---
java.io.IOException: Element {http://www.tmforum.org/schema/MTOSI/NotificationService/v1/}NotifyRequest is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:657)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:532)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:506)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:483)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
at java.lang.Thread.run(Thread.java:534)
---------------------------------------------------------------------
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
[jira] Updated: (AXIS-1582) WSDL2Java fails to process xsd:import
Posted by ax...@ws.apache.org.
The following issue has been updated:
Updater: Jerome Magnet (mailto:jeromem@nortelnetworks.com)
Date: Fri, 1 Oct 2004 11:37 AM
Comment:
I have two levels of schema imports from the <wsdl:types>
See in attached ZIP.
Changes:
Attachment changed to wsdl.zip
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/AXIS-1582?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1582
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1582
Summary: WSDL2Java fails to process xsd:import
Type: Bug
Status: Unassigned
Priority: Major
Project: Axis
Components:
WSDL processing
Versions:
current (nightly)
Assignee:
Reporter: Jerome Magnet
Created: Fri, 1 Oct 2004 11:26 AM
Updated: Fri, 1 Oct 2004 11:37 AM
Environment: Windows 2000, ant1.6.0, j2sdk1.4.2_02
Description:
An imported definition is not found during execution of WSDL2Java.
The entire content of <xsd:schema> (in <wsdl:types>) is imported from an external XSD file, which itself imports other schemas with different namespace.
See details of exception below:
D:\Jeromem\wsdl\build.xml:32: Error while processing WSDL in Wsdl2javaAntTask for D:\Jeromem\wsdl/NotificationService.wsdl
at org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask.execute(Wsdl2javaAntTask.java:272)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at org.apache.tools.ant.Target.performTasks(Target.java:365)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
at org.apache.tools.ant.Main.runBuild(Main.java:669)
at org.apache.tools.ant.Main.startAnt(Main.java:220)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
Caused by: java.io.IOException: Element {http://www.tmforum.org/schema/MTOSI/NotificationService/v1/}NotifyRequest is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:657)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:532)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:506)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:483)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
at java.lang.Thread.run(Thread.java:534)
--- Nested Exception ---
java.io.IOException: Element {http://www.tmforum.org/schema/MTOSI/NotificationService/v1/}NotifyRequest is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:657)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:532)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:506)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:483)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
at java.lang.Thread.run(Thread.java:534)
---------------------------------------------------------------------
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
[jira] Commented: (AXIS-1582) WSDL2Java fails to process xsd:import
Posted by ax...@ws.apache.org.
The following comment has been added to this issue:
Author: Jerome Magnet
Created: Fri, 1 Oct 2004 11:58 AM
Body:
It works only if I use xsd:include instead of the xsd:import and with no import from the included xsd file. But again, xsd:include should not be used in this context as the imported schema use a different namespace than the targetnamespace.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/AXIS-1582?page=comments#action_53596
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1582
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1582
Summary: WSDL2Java fails to process xsd:import
Type: Bug
Status: Unassigned
Priority: Major
Project: Axis
Components:
WSDL processing
Versions:
current (nightly)
Assignee:
Reporter: Jerome Magnet
Created: Fri, 1 Oct 2004 11:26 AM
Updated: Fri, 1 Oct 2004 11:58 AM
Environment: Windows 2000, ant1.6.0, j2sdk1.4.2_02
Description:
An imported definition is not found during execution of WSDL2Java.
The entire content of <xsd:schema> (in <wsdl:types>) is imported from an external XSD file, which itself imports other schemas with different namespace.
See details of exception below:
D:\Jeromem\wsdl\build.xml:32: Error while processing WSDL in Wsdl2javaAntTask for D:\Jeromem\wsdl/NotificationService.wsdl
at org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask.execute(Wsdl2javaAntTask.java:272)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at org.apache.tools.ant.Target.performTasks(Target.java:365)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
at org.apache.tools.ant.Main.runBuild(Main.java:669)
at org.apache.tools.ant.Main.startAnt(Main.java:220)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
Caused by: java.io.IOException: Element {http://www.tmforum.org/schema/MTOSI/NotificationService/v1/}NotifyRequest is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:657)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:532)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:506)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:483)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
at java.lang.Thread.run(Thread.java:534)
--- Nested Exception ---
java.io.IOException: Element {http://www.tmforum.org/schema/MTOSI/NotificationService/v1/}NotifyRequest is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:657)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:532)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:506)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:483)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
at java.lang.Thread.run(Thread.java:534)
---------------------------------------------------------------------
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