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 "Kishanthan Thangarajah (JIRA)" <ji...@apache.org> on 2013/10/13 10:07:42 UTC

[jira] [Commented] (AXIS2-5603) Exception occurred during code generation for WSDL using ADB Binding

    [ https://issues.apache.org/jira/browse/AXIS2-5603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793590#comment-13793590 ] 

Kishanthan Thangarajah commented on AXIS2-5603:
-----------------------------------------------

In order to reproduce this, can you provide a sample WSDL with the above behavior?

> Exception occurred during code generation for WSDL  using ADB Binding
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-5603
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5603
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: Veena Radhakrishnan
>
> On creating web service client using ADB Binding getting the following error]
> Exception occurred during code generation for WSDL  : org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>     java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.eclipse.jst.ws.axis2.consumption.core.command.Axis2ClientCodegenCommand.execute(Axis2ClientCodegenCommand.java:222)
>     at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:419)
>     at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:359)
>     at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:254)
>     at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$6.run(SimpleCommandEngineManager.java:294)
>     at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
>     at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
>     at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1029)
>     at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:264)
>     at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:91)
>     at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.performFinish(WizardPageManager.java:262)
>     at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.performFinish(DynamicWizard.java:382)
>     at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
>     at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
>     at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
>     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
>     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
>     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
>     at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
>     at org.eclipse.jface.window.Window.open(Window.java:801)
>     at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:257)
>     at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
>     at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
>     at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
>     at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
>     at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
>     at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
>     at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
>     at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>     at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>     at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
>     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
>     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
>     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
>     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
>     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
>     at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
>     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
>     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>     at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>     at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
>     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>     at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>     Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>     at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
>     ... 61 more
>     Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>     at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>     at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
>     ... 61 more
>     Caused by: java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>     ... 62 more
>     Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find type {http://schemas.xmlsoap.org/soap/encoding/}Array from the parent schema http://117.218.70.178/ssdg
>     at org.apache.axis2.schema.SchemaCompiler.copyMetaInfoHierarchy(SchemaCompiler.java:1296)
>     at org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1258)
>     at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1153)
>     at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1097)
>     at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1017)
>     at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:931)
>     at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592)
>     at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:552)
>     at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1991)
>     at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1874)
>     at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1081)
>     at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:980)
>     at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:934)
>     at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592)
>     at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:563)
>     at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
>     at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
>     at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
>     ... 67 more



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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