Reshat Sabiq <crts <at> argushealth.com> writes:
> Also, JAXB 2's JAXB 1 support is deprecated, and apparently largely
> disabled in 2.1.2. I've seen their docs saying use JAXB 1 directly instead.
>
I tried running w/ externally-generated JAXB 1 classes, but getting an
exception. If it tells you something, please let me know:
[4/9/07 16:48:22:692 CDT] 00000033 XFireServlet E TRAS0014I: The
following exception was logged
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.codehaus.xfire.spring.ServiceBean'
defined in class path resource [META-INF/xfire/services.xml]:
Initialization of bean failed; nested exception is
org.codehaus.xfire.XFireRuntimeException: error getting qname of
jaxb type. Nested exception is java.lang.NullPointerException:
null org.codehaus.xfire.XFireRuntimeException: error getting
qname of jaxb type. Nested exception is
java.lang.NullPointerException: null
java.lang.NullPointerException at
org.codehaus.xfire.jaxb.JaxbIntrospector.introspect
(JaxbIntrospector.java:30)
at org.codehaus.xfire.jaxb.JaxbType.
<init>
(JaxbType.java:27) at
org.codehaus.xfire.jaxb.JaxbTypeCreator.createJaxbType
(JaxbTypeCreator.java:64)
at
org.codehaus.xfire.jaxb.JaxbTypeCreator.createType
(JaxbTypeCreator.java:49)
at
org.codehaus.xfire.aegis.AegisBindingProvider.getSuggestedName
(AegisBindingProvider.java:248)
at
org.codehaus.xfire.service.binding.DefaultServiceConfiguration.
getOutParameterName(DefaultServiceConfiguration.java:174)
at
org.codehaus.xfire.service.binding.ObjectServiceFactory.
getOutParameterName(ObjectServiceFactory.java:1059)
at
org.codehaus.xfire.service.binding.ObjectServiceFactory.
addOperation(ObjectServiceFactory.java:817)
at
org.codehaus.xfire.service.binding.ObjectServiceFactory.
initializeOperations(ObjectServiceFactory.java:742)
at
org.codehaus.xfire.service.binding.ObjectServiceFactory.
create(ObjectServiceFactory.java:426)
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email