axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4689) Integration among axis2 and osgi using xmlbeans databinding
Date Thu, 22 Apr 2010 20:50:51 GMT

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

Andreas Veithen commented on AXIS2-4689:
----------------------------------------

In order to help you with that issue, we would need a sample project that reproduces the problem.

> Integration among axis2 and osgi using xmlbeans databinding
> -----------------------------------------------------------
>
>                 Key: AXIS2-4689
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4689
>             Project: Axis2
>          Issue Type: New Feature
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: windows xp, spring dm  1.1.2, osgi 4.0 and  org.apache.axis2.osgi
1.5.1
>            Reporter: Alberto Gallego
>            Priority: Minor
>
> Hi everyone,
> i´m trying to develop web services with axis2 and osgi integration. At the begining
all went ok. The problem appears when I try to return a data type that it build using  xmlbeans
databinding.
> In trying to do it in several ways but always obtains the same mistake: 
> !ENTRY org.eclipse.osgi 4 0 2010-04-21 17:25:15.062
> !MESSAGE An unexpected runtime error has occurred.
> !STACK 0
> java.lang.NoClassDefFoundError: javax/xml/namespace/QName
>       at java.lang.Class.getDeclaredMethods0(Native Method)
>       at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
>       at java.lang.Class.getDeclaredMethods(Class.java:1763)
>       at java.beans.Introspector$1.run(Introspector.java:1280)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1278)
>       at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1144)
>       at java.beans.Introspector.getBeanInfo(Introspector.java:402)
>       at java.beans.Introspector.getBeanInfo(Introspector.java:166)
>       at java.beans.Introspector.getBeanInfo(Introspector.java:227)
>       at java.beans.Introspector.getBeanInfo(Introspector.java:215)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:545)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaforFieldsandProperties(DefaultSchemaGenerator.java:691)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:555)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaforFieldsandProperties(DefaultSchemaGenerator.java:693)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:555)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaforFieldsandProperties(DefaultSchemaGenerator.java:691)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:555)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaforFieldsandProperties(DefaultSchemaGenerator.java:693)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:555)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaForType(DefaultSchemaGenerator.java:862)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.processMethods(DefaultSchemaGenerator.java:356)
>       at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:252)
>       at org.apache.axis2.description.AxisService.createService(AxisService.java:2347)
>       at org.apache.axis2.description.AxisService.createService(AxisService.java:2304)
>       at org.apache.axis2.osgi.deployment.tracker.WSTracker.createWS(WSTracker.java:139)
>       at org.apache.axis2.osgi.deployment.tracker.WSTracker.access$000(WSTracker.java:42)
>       at org.apache.axis2.osgi.deployment.tracker.WSTracker$1.serviceChanged(WSTracker.java:71)
>       at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
>       at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:933)
>       at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
>       at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
>       at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:755)
>       at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:710)
>       at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
>       at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
>       at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:507)
>       at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:525)
>       at org.slasoi.businessManager.WS.internal.Activator.start(Activator.java:22)
>       at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
>       at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
>       at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
>       at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
>       at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
>       at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
>       at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
>       at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
>       at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
>       at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
>       at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
>   
> I tried to provided the required class by addind it to the meta inf or including the
next dependency:
>    <dependency>
>                   <groupId>org.apache.xmlbeans</groupId>
>                   <artifactId>xmlbeans-qname</artifactId>
>                   <version>2.4.0</version>                 
>           </dependency>
>  
> I don´t know if it is possible to do it in some ways or it is a feature that will be
developed.
> Thanks in advance.
> Alberto.

-- 
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


Mime
View raw message