axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-2682) Axis2 cannot generate WSI example code
Date Fri, 08 Jun 2007 14:24:26 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davanum Srinivas updated AXIS2-2682:
------------------------------------

    Priority: Blocker  (was: Major)

> Axis2 cannot generate WSI example code
> --------------------------------------
>
>                 Key: AXIS2-2682
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2682
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: Ubuntu 7.04. Tried with JDK 1.4, 1.5 and 1.6
>            Reporter: Jose Antonio
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: Manufacturer.zip
>
>
> I tried to generate the WSI Supply Chain example with Axis2 but when I tried to generate
the Manufacturer service I got the following error message:
> [generation] Retrieving document at 'Configuration.wsdl', relative to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/'.
> [generation] Retrieving schema at 'Configuration.xsd', relative to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/Configuration.wsdl'.
> [generation] Retrieving schema at 'http://schemas.xmlsoap.org/soap/envelope/', relative
to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/Configuration.xsd'.
> [generation] Retrieving schema at 'ManufacturerSN.xsd', relative to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/'.
> [generation] Retrieving schema at 'ManufacturerPO.xsd', relative to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/'.
> [generation] Retrieving schema at 'Configuration.xsd', relative to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/'.
> [generation] Retrieving document at 'Configuration.wsdl', relative to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/'.
> [generation] Retrieving schema at 'Configuration.xsd', relative to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/Configuration.wsdl'.
> [generation] Retrieving schema at 'http://schemas.xmlsoap.org/soap/envelope/', relative
to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/Configuration.xsd'.
> [generation] Retrieving schema at 'ManufacturerSN.xsd', relative to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/'.
> [generation] Retrieving schema at 'ManufacturerPO.xsd', relative to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/'.
> [generation] Retrieving schema at 'Configuration.xsd', relative to 'file:/home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/wsdl/'.
> [generation] 17-may-2007 14:18:16 org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver
resolveEntity
> [generation] INFO: Resolving schema with publicId [http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd]
and systemId [Configuration.xsd]
> [generation] 17-may-2007 14:18:16 org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver
resolveEntity
> [generation] INFO: Resolving schema with publicId [http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerPO.xsd]
and systemId [ManufacturerPO.xsd]
> [generation] 17-may-2007 14:18:16 org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver
resolveEntity
> [generation] INFO: Resolving schema with publicId [http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerSN.xsd]
and systemId [ManufacturerSN.xsd]
> [generation] 17-may-2007 14:18:16 org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver
resolveEntity
> [generation] INFO: Resolving schema with publicId [http://schemas.xmlsoap.org/soap/envelope/]
and systemId [http:/schemas.xmlsoap.org/soap/envelope]
> BUILD FAILED
> /home/jasanchez/workspaces/workspace_wsi_axis2/wsi-manufacturer/build.xml:65: org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: Element
QName is null for ConfigurationFaultMessage!
> 	at org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:326)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> 	at org.apache.tools.ant.Task.perform(Task.java:364)
> 	at org.apache.tools.ant.Target.execute(Target.java:341)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
> 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
> 	at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> 	at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
> 	at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: Element QName is null for ConfigurationFaultMessage!
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:256)
> 	at org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:324)
> 	... 11 more
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException:
Element QName is null for ConfigurationFaultMessage!
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1281)
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:238)
> 	... 12 more
> Caused by: java.lang.RuntimeException: Element QName is null for ConfigurationFaultMessage!
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getFaultParamElements(AxisServiceBasedMultiLanguageEmitter.java:2617)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getFaultElement(AxisServiceBasedMultiLanguageEmitter.java:2554)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.generateMethodElement(AxisServiceBasedMultiLanguageEmitter.java:2118)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:2024)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.createDOMDocumentForSkeletonInterface(AxisServiceBasedMultiLanguageEmitter.java:1981)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeSkeletonInterface(AxisServiceBasedMultiLanguageEmitter.java:1890)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1235)
> 	... 13 more
> --- Nested Exception ---
> org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: Element QName is null for ConfigurationFaultMessage!
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:256)
> 	at org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:324)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> 	at org.apache.tools.ant.Task.perform(Task.java:364)
> 	at org.apache.tools.ant.Target.execute(Target.java:341)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
> 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
> 	at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> 	at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
> 	at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException:
Element QName is null for ConfigurationFaultMessage!
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1281)
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:238)
> 	... 12 more
> Caused by: java.lang.RuntimeException: Element QName is null for ConfigurationFaultMessage!
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getFaultParamElements(AxisServiceBasedMultiLanguageEmitter.java:2617)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getFaultElement(AxisServiceBasedMultiLanguageEmitter.java:2554)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.generateMethodElement(AxisServiceBasedMultiLanguageEmitter.java:2118)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:2024)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.createDOMDocumentForSkeletonInterface(AxisServiceBasedMultiLanguageEmitter.java:1981)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeSkeletonInterface(AxisServiceBasedMultiLanguageEmitter.java:1890)
> 	at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1235)
> 	... 13 more
> Total time: 15 seconds
> I was using the ant task to generate the code with xmlbeans binding. I send the wsdls
I'm using in the attached file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message