[Carbon-dev] error in generate a client authentication admin service

Jorge Infante Osorio jorgeio at uci.cu
Mon Jan 10 06:39:44 PST 2011


Hi all.
I try it to generate a client for the AuthenticationAdmin service in ESB and
receive this error in Eclipse. 
What can I do? I want to use the login functionality in this services to
access to the logviewer admin service.

Exception occurred during code generation for WSDL  :
org.apache.axis2.AxisFault:  Schema for namespace
'http://engine.axis2.apache.org/xsd' already contains type
'AxisConfiguration'

Exception occurred during code generation for WSDL  :
org.apache.axis2.AxisFault:  Schema for namespace
'http://engine.axis2.apache.org/xsd' already contains type
'AxisConfiguration'
    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.utils.WSDL2JavaGenerator.getAxisSe
rvice(WSDL2JavaGenerator.java:395)
    at
org.eclipse.jst.ws.axis2.consumption.core.command.Axis2ClientCodegenCommand.
execute(Axis2ClientCodegenCommand.java:121)
    at
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.run
Command(CommandFragmentEngine.java:419)
    at
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.vis
itTop(CommandFragmentEngine.java:359)
    at
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.mov
eForwardToNextStop(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.jav
a:464)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008)
    at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.r
unForwardToNextStop(SimpleCommandEngineManager.java:264)
    at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForward
ToNextStop(WizardPageManager.java:91)
    at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.performFin
ish(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:811)
    at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
    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:4066)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
    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(WizardHand
ler.java:254)
    at
org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:27
4)
    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(Parameteriz
edCommand.java:508)
    at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerServic
e.java:169)
    at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeybo
ard.java:468)
    at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:
786)
    at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyb
oard.java:885)
    at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(Wor
kbenchKeyboard.java:567)
    at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.ja
va:508)
    at
org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(Wor
kbenchKeyboard.java:123)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
    at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4268)
    at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4160)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
    at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.
java:115)
    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(EclipseAp
pLauncher.java:79)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    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:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    Caused by: org.apache.axis2.AxisFault:  Schema for namespace
'http://engine.axis2.apache.org/xsd' already contains type
'AxisConfiguration'
    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
    at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL
11ToAxisServiceBuilder.java:396)
    ... 75 more
    Caused by: org.apache.ws.commons.schema.XmlSchemaException:  Schema for
namespace 'http://engine.axis2.apache.org/xsd' already contains type
'AxisConfiguration'
    at org.apache.ws.commons.schema.XmlSchema.addType(XmlSchema.java:558)
    at
org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuil
der.java:206)
    at
org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.ja
va:433)
    at
org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(WSDLToAxi
sServiceBuilder.java:144)
    at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibleElemen
ts(WSDL11ToAxisServiceBuilder.java:2319)
    at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSDL11T
oAxisServiceBuilder.java:413)
    at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processTypes(WSDL11T
oAxisServiceBuilder.java:402)
    at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL
11ToAxisServiceBuilder.java:346)
    ... 75 more



More information about the Carbon-dev mailing list