You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Herat Acharya (JIRA)" <ji...@apache.org> on 2010/06/04 03:43:59 UTC

[jira] Created: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Error while running the plugin which uses axis2-1.4.1 api
---------------------------------------------------------

                 Key: AXIS2-4730
                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
             Project: Axis2
          Issue Type: Bug
          Components: codegen
         Environment: Windows XP, eclipse Version: 3.4.2
            Reporter: Herat Acharya
            Priority: Blocker


Hi,
I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.

org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
	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:934)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	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:253)
	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
	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:247)
	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	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:386)
	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:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
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)
	... 58 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)
	... 59 more
Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
	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.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)After codegen

	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.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:563)
	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
	... 64 more


These are the following System.out.println outputs

WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/

Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.

WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/


Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi Deepal - gotcha - I did see the provision for service namespace but I 
was not
clear of its functionality. I will see if I can populate it accordingly, 
thanks.

Deepal jayasinghe wrote:
> You can use service namespace to specify that.
>
> http://wso2.org/library/2060
>   
>> Hi all,
>>
>> this may be trivial but I wanted to make sure the issue I have is not
>> something
>> a bit more tricky -
>>
>> I have a simple BooksAxis2 class service running on Tomcat - the
>> directory
>> that is located is under
>>
>> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>>
>> and the generated SOAP from the retrieved WSDL is:
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
>> </Envelope>
>>
>>
>> Everything works fine - however, how can I include the name of the
>> actual service class
>> in the SOAP message? Not the package it belongs to (which is of course
>> part of
>> the name space) and not only the method to be calls (getBooks) - the
>> name of the
>> class it belongs to.
>>
>> Thanks in advance and apologies if this is a bit too trivial
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>>     
>
>
>   

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


Re: Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi Deepal,

is the service namespace part of all SOAP versions or only 1.2? What is the
standard tag for it? Unless it is specified under a different name.

Thanks again

Deepal jayasinghe wrote:
> You can use service namespace to specify that.
>
> http://wso2.org/library/2060
>   
>> Hi all,
>>
>> this may be trivial but I wanted to make sure the issue I have is not
>> something
>> a bit more tricky -
>>
>> I have a simple BooksAxis2 class service running on Tomcat - the
>> directory
>> that is located is under
>>
>> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>>
>> and the generated SOAP from the retrieved WSDL is:
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
>> </Envelope>
>>
>>
>> Everything works fine - however, how can I include the name of the
>> actual service class
>> in the SOAP message? Not the package it belongs to (which is of course
>> part of
>> the name space) and not only the method to be calls (getBooks) - the
>> name of the
>> class it belongs to.
>>
>> Thanks in advance and apologies if this is a bit too trivial
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>>     
>
>
>   

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


Re: Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi Deepal,

is the service namespace part of all SOAP versions or only 1.2? What is the
standard tag for it? Unless it is specified under a different name.

Thanks again

Deepal jayasinghe wrote:
> You can use service namespace to specify that.
>
> http://wso2.org/library/2060
>   
>> Hi all,
>>
>> this may be trivial but I wanted to make sure the issue I have is not
>> something
>> a bit more tricky -
>>
>> I have a simple BooksAxis2 class service running on Tomcat - the
>> directory
>> that is located is under
>>
>> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>>
>> and the generated SOAP from the retrieved WSDL is:
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
>> </Envelope>
>>
>>
>> Everything works fine - however, how can I include the name of the
>> actual service class
>> in the SOAP message? Not the package it belongs to (which is of course
>> part of
>> the name space) and not only the method to be calls (getBooks) - the
>> name of the
>> class it belongs to.
>>
>> Thanks in advance and apologies if this is a bit too trivial
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>>     
>
>
>   

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


Re: Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi Deepal,

is the service namespace part of all SOAP versions or only 1.2? What is the
standard tag for it? Unless it is specified under a different name.

Thanks again

Deepal jayasinghe wrote:
> You can use service namespace to specify that.
>
> http://wso2.org/library/2060
>   
>> Hi all,
>>
>> this may be trivial but I wanted to make sure the issue I have is not
>> something
>> a bit more tricky -
>>
>> I have a simple BooksAxis2 class service running on Tomcat - the
>> directory
>> that is located is under
>>
>> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>>
>> and the generated SOAP from the retrieved WSDL is:
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
>> </Envelope>
>>
>>
>> Everything works fine - however, how can I include the name of the
>> actual service class
>> in the SOAP message? Not the package it belongs to (which is of course
>> part of
>> the name space) and not only the method to be calls (getBooks) - the
>> name of the
>> class it belongs to.
>>
>> Thanks in advance and apologies if this is a bit too trivial
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>>     
>
>
>   

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


Re: Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi Deepal,

is the service namespace part of all SOAP versions or only 1.2? What is the
standard tag for it? Unless it is specified under a different name.

Thanks again

Deepal jayasinghe wrote:
> You can use service namespace to specify that.
>
> http://wso2.org/library/2060
>   
>> Hi all,
>>
>> this may be trivial but I wanted to make sure the issue I have is not
>> something
>> a bit more tricky -
>>
>> I have a simple BooksAxis2 class service running on Tomcat - the
>> directory
>> that is located is under
>>
>> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>>
>> and the generated SOAP from the retrieved WSDL is:
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
>> </Envelope>
>>
>>
>> Everything works fine - however, how can I include the name of the
>> actual service class
>> in the SOAP message? Not the package it belongs to (which is of course
>> part of
>> the name space) and not only the method to be calls (getBooks) - the
>> name of the
>> class it belongs to.
>>
>> Thanks in advance and apologies if this is a bit too trivial
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>>     
>
>
>   

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


Re: Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi Deepal,

is the service namespace part of all SOAP versions or only 1.2? What is the
standard tag for it? Unless it is specified under a different name.

Thanks again

Deepal jayasinghe wrote:
> You can use service namespace to specify that.
>
> http://wso2.org/library/2060
>   
>> Hi all,
>>
>> this may be trivial but I wanted to make sure the issue I have is not
>> something
>> a bit more tricky -
>>
>> I have a simple BooksAxis2 class service running on Tomcat - the
>> directory
>> that is located is under
>>
>> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>>
>> and the generated SOAP from the retrieved WSDL is:
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
>> </Envelope>
>>
>>
>> Everything works fine - however, how can I include the name of the
>> actual service class
>> in the SOAP message? Not the package it belongs to (which is of course
>> part of
>> the name space) and not only the method to be calls (getBooks) - the
>> name of the
>> class it belongs to.
>>
>> Thanks in advance and apologies if this is a bit too trivial
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>>     
>
>
>   

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


Re: Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi Deepal - gotcha - I did see the provision for service namespace but I 
was not
clear of its functionality. I will see if I can populate it accordingly, 
thanks.

Deepal jayasinghe wrote:
> You can use service namespace to specify that.
>
> http://wso2.org/library/2060
>   
>> Hi all,
>>
>> this may be trivial but I wanted to make sure the issue I have is not
>> something
>> a bit more tricky -
>>
>> I have a simple BooksAxis2 class service running on Tomcat - the
>> directory
>> that is located is under
>>
>> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>>
>> and the generated SOAP from the retrieved WSDL is:
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
>> </Envelope>
>>
>>
>> Everything works fine - however, how can I include the name of the
>> actual service class
>> in the SOAP message? Not the package it belongs to (which is of course
>> part of
>> the name space) and not only the method to be calls (getBooks) - the
>> name of the
>> class it belongs to.
>>
>> Thanks in advance and apologies if this is a bit too trivial
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>>     
>
>
>   

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


Re: Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi Deepal - gotcha - I did see the provision for service namespace but I 
was not
clear of its functionality. I will see if I can populate it accordingly, 
thanks.

Deepal jayasinghe wrote:
> You can use service namespace to specify that.
>
> http://wso2.org/library/2060
>   
>> Hi all,
>>
>> this may be trivial but I wanted to make sure the issue I have is not
>> something
>> a bit more tricky -
>>
>> I have a simple BooksAxis2 class service running on Tomcat - the
>> directory
>> that is located is under
>>
>> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>>
>> and the generated SOAP from the retrieved WSDL is:
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
>> </Envelope>
>>
>>
>> Everything works fine - however, how can I include the name of the
>> actual service class
>> in the SOAP message? Not the package it belongs to (which is of course
>> part of
>> the name space) and not only the method to be calls (getBooks) - the
>> name of the
>> class it belongs to.
>>
>> Thanks in advance and apologies if this is a bit too trivial
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>>     
>
>
>   

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


Re: Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi Deepal - gotcha - I did see the provision for service namespace but I 
was not
clear of its functionality. I will see if I can populate it accordingly, 
thanks.

Deepal jayasinghe wrote:
> You can use service namespace to specify that.
>
> http://wso2.org/library/2060
>   
>> Hi all,
>>
>> this may be trivial but I wanted to make sure the issue I have is not
>> something
>> a bit more tricky -
>>
>> I have a simple BooksAxis2 class service running on Tomcat - the
>> directory
>> that is located is under
>>
>> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>>
>> and the generated SOAP from the retrieved WSDL is:
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
>> </Envelope>
>>
>>
>> Everything works fine - however, how can I include the name of the
>> actual service class
>> in the SOAP message? Not the package it belongs to (which is of course
>> part of
>> the name space) and not only the method to be calls (getBooks) - the
>> name of the
>> class it belongs to.
>>
>> Thanks in advance and apologies if this is a bit too trivial
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>>     
>
>
>   

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


Re: Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi Deepal - gotcha - I did see the provision for service namespace but I 
was not
clear of its functionality. I will see if I can populate it accordingly, 
thanks.

Deepal jayasinghe wrote:
> You can use service namespace to specify that.
>
> http://wso2.org/library/2060
>   
>> Hi all,
>>
>> this may be trivial but I wanted to make sure the issue I have is not
>> something
>> a bit more tricky -
>>
>> I have a simple BooksAxis2 class service running on Tomcat - the
>> directory
>> that is located is under
>>
>> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>>
>> and the generated SOAP from the retrieved WSDL is:
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
>> </Envelope>
>>
>>
>> Everything works fine - however, how can I include the name of the
>> actual service class
>> in the SOAP message? Not the package it belongs to (which is of course
>> part of
>> the name space) and not only the method to be calls (getBooks) - the
>> name of the
>> class it belongs to.
>>
>> Thanks in advance and apologies if this is a bit too trivial
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>>     
>
>
>   

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


Re: Service Name in SOAP

Posted by Deepal jayasinghe <de...@gmail.com>.
You can use service namespace to specify that.

http://wso2.org/library/2060
>
> Hi all,
>
> this may be trivial but I wanted to make sure the issue I have is not
> something
> a bit more tricky -
>
> I have a simple BooksAxis2 class service running on Tomcat - the
> directory
> that is located is under
>
> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>
> and the generated SOAP from the retrieved WSDL is:
>
> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
> </Envelope>
>
>
> Everything works fine - however, how can I include the name of the
> actual service class
> in the SOAP message? Not the package it belongs to (which is of course
> part of
> the name space) and not only the method to be calls (getBooks) - the
> name of the
> class it belongs to.
>
> Thanks in advance and apologies if this is a bit too trivial
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein


http://blogs.deepal.org
http://deepal.org


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


Re: Service Name in SOAP

Posted by Deepal jayasinghe <de...@gmail.com>.
You can use service namespace to specify that.

http://wso2.org/library/2060
>
> Hi all,
>
> this may be trivial but I wanted to make sure the issue I have is not
> something
> a bit more tricky -
>
> I have a simple BooksAxis2 class service running on Tomcat - the
> directory
> that is located is under
>
> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>
> and the generated SOAP from the retrieved WSDL is:
>
> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
> </Envelope>
>
>
> Everything works fine - however, how can I include the name of the
> actual service class
> in the SOAP message? Not the package it belongs to (which is of course
> part of
> the name space) and not only the method to be calls (getBooks) - the
> name of the
> class it belongs to.
>
> Thanks in advance and apologies if this is a bit too trivial
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein


http://blogs.deepal.org
http://deepal.org


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


Re: Service Name in SOAP

Posted by Deepal jayasinghe <de...@gmail.com>.
You can use service namespace to specify that.

http://wso2.org/library/2060
>
> Hi all,
>
> this may be trivial but I wanted to make sure the issue I have is not
> something
> a bit more tricky -
>
> I have a simple BooksAxis2 class service running on Tomcat - the
> directory
> that is located is under
>
> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>
> and the generated SOAP from the retrieved WSDL is:
>
> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
> </Envelope>
>
>
> Everything works fine - however, how can I include the name of the
> actual service class
> in the SOAP message? Not the package it belongs to (which is of course
> part of
> the name space) and not only the method to be calls (getBooks) - the
> name of the
> class it belongs to.
>
> Thanks in advance and apologies if this is a bit too trivial
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein


http://blogs.deepal.org
http://deepal.org


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


Re: Service Name in SOAP

Posted by Deepal jayasinghe <de...@gmail.com>.
You can use service namespace to specify that.

http://wso2.org/library/2060
>
> Hi all,
>
> this may be trivial but I wanted to make sure the issue I have is not
> something
> a bit more tricky -
>
> I have a simple BooksAxis2 class service running on Tomcat - the
> directory
> that is located is under
>
> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>
> and the generated SOAP from the retrieved WSDL is:
>
> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
> </Envelope>
>
>
> Everything works fine - however, how can I include the name of the
> actual service class
> in the SOAP message? Not the package it belongs to (which is of course
> part of
> the name space) and not only the method to be calls (getBooks) - the
> name of the
> class it belongs to.
>
> Thanks in advance and apologies if this is a bit too trivial
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein


http://blogs.deepal.org
http://deepal.org


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


Re: Service Name in SOAP

Posted by Deepal jayasinghe <de...@gmail.com>.
You can use service namespace to specify that.

http://wso2.org/library/2060
>
> Hi all,
>
> this may be trivial but I wanted to make sure the issue I have is not
> something
> a bit more tricky -
>
> I have a simple BooksAxis2 class service running on Tomcat - the
> directory
> that is located is under
>
> webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2
>
> and the generated SOAP from the retrieved WSDL is:
>
> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
> <Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
> </Envelope>
>
>
> Everything works fine - however, how can I include the name of the
> actual service class
> in the SOAP message? Not the package it belongs to (which is of course
> part of
> the name space) and not only the method to be calls (getBooks) - the
> name of the
> class it belongs to.
>
> Thanks in advance and apologies if this is a bit too trivial
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
"If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein


http://blogs.deepal.org
http://deepal.org


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


Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi all,

this may be trivial but I wanted to make sure the issue I have is not 
something
a bit more tricky -

I have a simple BooksAxis2 class service running on Tomcat - the directory
that is located is under

webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2

and the generated SOAP from the retrieved WSDL is:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
</Envelope>


Everything works fine - however, how can I include the name of the 
actual service class
in the SOAP message? Not the package it belongs to (which is of course 
part of
the name space) and not only the method to be calls (getBooks) - the 
name of the
class it belongs to.

Thanks in advance and apologies if this is a bit too trivial

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


Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi all,

this may be trivial but I wanted to make sure the issue I have is not 
something
a bit more tricky -

I have a simple BooksAxis2 class service running on Tomcat - the directory
that is located is under

webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2

and the generated SOAP from the retrieved WSDL is:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
</Envelope>


Everything works fine - however, how can I include the name of the 
actual service class
in the SOAP message? Not the package it belongs to (which is of course 
part of
the name space) and not only the method to be calls (getBooks) - the 
name of the
class it belongs to.

Thanks in advance and apologies if this is a bit too trivial

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


Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi all,

this may be trivial but I wanted to make sure the issue I have is not 
something
a bit more tricky -

I have a simple BooksAxis2 class service running on Tomcat - the directory
that is located is under

webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2

and the generated SOAP from the retrieved WSDL is:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
</Envelope>


Everything works fine - however, how can I include the name of the 
actual service class
in the SOAP message? Not the package it belongs to (which is of course 
part of
the name space) and not only the method to be calls (getBooks) - the 
name of the
class it belongs to.

Thanks in advance and apologies if this is a bit too trivial

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


Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi all,

this may be trivial but I wanted to make sure the issue I have is not 
something
a bit more tricky -

I have a simple BooksAxis2 class service running on Tomcat - the directory
that is located is under

webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2

and the generated SOAP from the retrieved WSDL is:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
</Envelope>


Everything works fine - however, how can I include the name of the 
actual service class
in the SOAP message? Not the package it belongs to (which is of course 
part of
the name space) and not only the method to be calls (getBooks) - the 
name of the
class it belongs to.

Thanks in advance and apologies if this is a bit too trivial

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


Service Name in SOAP

Posted by Demetris <de...@ece.neu.edu>.
Hi all,

this may be trivial but I wanted to make sure the issue I have is not 
something
a bit more tricky -

I have a simple BooksAxis2 class service running on Tomcat - the directory
that is located is under

webapps/axis2/WEB-INF/services/BooksAxis2/org/apache/axis2/myBooksAxis2

and the generated SOAP from the retrieved WSDL is:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body><getBooks xmlns="http://myBooksAxis2.axis2.apache.org/"/></Body>
</Envelope>


Everything works fine - however, how can I include the name of the 
actual service class
in the SOAP message? Not the package it belongs to (which is of course 
part of
the name space) and not only the method to be calls (getBooks) - the 
name of the
class it belongs to.

Thanks in advance and apologies if this is a bit too trivial

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


[jira] Commented: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Herat Acharya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875681#action_12875681 ] 

Herat Acharya commented on AXIS2-4730:
--------------------------------------

This issue is resolved in axis2-1.5.1.jar ... but with  my axis2-1.4.1.jar this issue is still there. 

> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Herat Acharya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875671#action_12875671 ] 

Herat Acharya commented on AXIS2-4730:
--------------------------------------

I managed to solve this issue.. something wrong with the wsdl file 

but after that i got this error.

Product is now licensed
FRAG
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.params.DefaultHttpParams).
log4j:WARN Please initialize the log4j system properly.
Before
Resources have changed.
Resource / has changed.
Resource /hjhjhj was added.
Resource /hjhjhj/.project was added.
Resource /hjhjhj/services was added.
Resource /hjhjhj/services/PersonService.wsdl was added.
Resource /hjhjhj/services/Person_Request.xsd was added.
Resource /hjhjhj/services/Person_Response.xsd was added.
Resource /hjhjhj/services/generictypes.xsd was added.
after
----> C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
Before codegen32
hiiii
Hiiii
12
WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
jjj PersonService
21
3
4
5
Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl'.
Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
6
7
WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
8
org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.NullPointerException
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
	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:934)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	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:253)
	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
	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:247)
	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	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:386)
	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:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NullPointerException
	at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
	at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:51)
	at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:37)
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
	... 58 more
After codegen



> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Herat Acharya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875681#action_12875681 ] 

Herat Acharya commented on AXIS2-4730:
--------------------------------------

This issue is resolved in axis2-1.5.1.jar ... but with  my axis2-1.4.1.jar this issue is still there. 

> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Herat Acharya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875671#action_12875671 ] 

Herat Acharya commented on AXIS2-4730:
--------------------------------------

I managed to solve this issue.. something wrong with the wsdl file 

but after that i got this error.

Product is now licensed
FRAG
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.params.DefaultHttpParams).
log4j:WARN Please initialize the log4j system properly.
Before
Resources have changed.
Resource / has changed.
Resource /hjhjhj was added.
Resource /hjhjhj/.project was added.
Resource /hjhjhj/services was added.
Resource /hjhjhj/services/PersonService.wsdl was added.
Resource /hjhjhj/services/Person_Request.xsd was added.
Resource /hjhjhj/services/Person_Response.xsd was added.
Resource /hjhjhj/services/generictypes.xsd was added.
after
----> C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
Before codegen32
hiiii
Hiiii
12
WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
jjj PersonService
21
3
4
5
Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl'.
Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
6
7
WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
8
org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.NullPointerException
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
	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:934)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	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:253)
	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
	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:247)
	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	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:386)
	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:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NullPointerException
	at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
	at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:51)
	at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:37)
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
	... 58 more
After codegen



> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Herat Acharya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875681#action_12875681 ] 

Herat Acharya commented on AXIS2-4730:
--------------------------------------

This issue is resolved in axis2-1.5.1.jar ... but with  my axis2-1.4.1.jar this issue is still there. 

> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Herat Acharya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875671#action_12875671 ] 

Herat Acharya commented on AXIS2-4730:
--------------------------------------

I managed to solve this issue.. something wrong with the wsdl file 

but after that i got this error.

Product is now licensed
FRAG
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.params.DefaultHttpParams).
log4j:WARN Please initialize the log4j system properly.
Before
Resources have changed.
Resource / has changed.
Resource /hjhjhj was added.
Resource /hjhjhj/.project was added.
Resource /hjhjhj/services was added.
Resource /hjhjhj/services/PersonService.wsdl was added.
Resource /hjhjhj/services/Person_Request.xsd was added.
Resource /hjhjhj/services/Person_Response.xsd was added.
Resource /hjhjhj/services/generictypes.xsd was added.
after
----> C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
Before codegen32
hiiii
Hiiii
12
WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
jjj PersonService
21
3
4
5
Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl'.
Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
6
7
WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
8
org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.NullPointerException
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
	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:934)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	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:253)
	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
	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:247)
	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	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:386)
	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:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NullPointerException
	at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
	at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:51)
	at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:37)
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
	... 58 more
After codegen



> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4730.
-------------------------------------------------

    Resolution: Fixed

resolve issue since it is fixed in current trunk.

> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4730.
-------------------------------------------------

    Resolution: Fixed

resolve issue since it is fixed in current trunk.

> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Herat Acharya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875671#action_12875671 ] 

Herat Acharya commented on AXIS2-4730:
--------------------------------------

I managed to solve this issue.. something wrong with the wsdl file 

but after that i got this error.

Product is now licensed
FRAG
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.params.DefaultHttpParams).
log4j:WARN Please initialize the log4j system properly.
Before
Resources have changed.
Resource / has changed.
Resource /hjhjhj was added.
Resource /hjhjhj/.project was added.
Resource /hjhjhj/services was added.
Resource /hjhjhj/services/PersonService.wsdl was added.
Resource /hjhjhj/services/Person_Request.xsd was added.
Resource /hjhjhj/services/Person_Response.xsd was added.
Resource /hjhjhj/services/generictypes.xsd was added.
after
----> C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
Before codegen32
hiiii
Hiiii
12
WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
jjj PersonService
21
3
4
5
Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl'.
Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
6
7
WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
8
org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.NullPointerException
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
	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:934)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	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:253)
	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
	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:247)
	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	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:386)
	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:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NullPointerException
	at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
	at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:51)
	at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:37)
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
	... 58 more
After codegen



> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4730.
-------------------------------------------------

    Resolution: Fixed

resolve issue since it is fixed in current trunk.

> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Herat Acharya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875681#action_12875681 ] 

Herat Acharya commented on AXIS2-4730:
--------------------------------------

This issue is resolved in axis2-1.5.1.jar ... but with  my axis2-1.4.1.jar this issue is still there. 

> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Herat Acharya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875681#action_12875681 ] 

Herat Acharya commented on AXIS2-4730:
--------------------------------------

This issue is resolved in axis2-1.5.1.jar ... but with  my axis2-1.4.1.jar this issue is still there. 

> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Herat Acharya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875671#action_12875671 ] 

Herat Acharya commented on AXIS2-4730:
--------------------------------------

I managed to solve this issue.. something wrong with the wsdl file 

but after that i got this error.

Product is now licensed
FRAG
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.params.DefaultHttpParams).
log4j:WARN Please initialize the log4j system properly.
Before
Resources have changed.
Resource / has changed.
Resource /hjhjhj was added.
Resource /hjhjhj/.project was added.
Resource /hjhjhj/services was added.
Resource /hjhjhj/services/PersonService.wsdl was added.
Resource /hjhjhj/services/Person_Request.xsd was added.
Resource /hjhjhj/services/Person_Response.xsd was added.
Resource /hjhjhj/services/generictypes.xsd was added.
after
----> C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
Before codegen32
hiiii
Hiiii
12
WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
jjj PersonService
21
3
4
5
Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl'.
Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/PersonService.wsdl'.
6
7
WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\hjhjhj\services\PersonService.wsdl
BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/hjhjhj/services/
8
org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.NullPointerException
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
	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:934)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	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:253)
	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
	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:247)
	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	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:386)
	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:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NullPointerException
	at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
	at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:51)
	at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:37)
	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
	... 58 more
After codegen



> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4730.
-------------------------------------------------

    Resolution: Fixed

resolve issue since it is fixed in current trunk.

> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4730) Error while running the plugin which uses axis2-1.4.1 api

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4730.
-------------------------------------------------

    Resolution: Fixed

resolve issue since it is fixed in current trunk.

> Error while running the plugin which uses axis2-1.4.1 api
> ---------------------------------------------------------
>
>                 Key: AXIS2-4730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4730
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP, eclipse Version: 3.4.2
>            Reporter: Herat Acharya
>            Priority: Blocker
>         Attachments: PersonService.wsdl
>
>
> Hi,
> I am trying to create my own plugin based on the AXIS2  Code Generator 1.3.0. Which uses axis2-1.4.1 api . I have built my plugin on similar line with the code generator. When i run my plugin i get the following error.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard$2.execute(WSDLGenWizard.java:254)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
> 	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:934)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.generateWSDL2Java(WSDLGenWizard.java:268)
> 	at com.tibco.mdm.wsdlgen.wizards.WSDLGenWizard.performFinish(WSDLGenWizard.java:143)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	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:253)
> 	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
> 	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:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
> 	at org.eclipse.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> 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)
> 	... 58 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)
> 	... 59 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element {http://www.tibco.com/cim/services/personservice/wsdl/2.0}UserName from the parent schema http://www.tibco.com/cim/services/personservice/wsdl/2.0
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:697)
> 	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.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)After codegen
> 	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.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:563)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
> 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
> 	... 64 more
> These are the following System.out.println outputs
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> BASE URI22 file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Retrieving document at 'C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl'.
> Retrieving schema at 'generictypes.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Request.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> Retrieving schema at 'Person_Response.xsd', relative to 'file:/C:/Documents and Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/PersonService.wsdl'.
> WSDL URI2: C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> url: file:C:\Documents and Settings\hacharya\Desktop\eclipse_carsten\runtime-EclipseApplication\person_webservice\services\PersonService.wsdl
> BASE URI file:/C:/Documents%20and%20Settings/hacharya/Desktop/eclipse_carsten/runtime-EclipseApplication/person_webservice/services/
> Please help me resolve this issue..

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org