cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6946) Part ServiceException defined as element {http://exception.service.disney.com/}ServiceException which is not in the schema.
Date Tue, 28 Mar 2017 17:10:41 GMT

     [ https://issues.apache.org/jira/browse/CXF-6946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-6946.
------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s: Invalid

Cannot reproduce (no test case provided) and it's logged against an ancient and long since
unsupported version of CXF.

> Part ServiceException defined as element {http://exception.service.disney.com/}ServiceException
which is not in the schema.
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-6946
>                 URL: https://issues.apache.org/jira/browse/CXF-6946
>             Project: CXF
>          Issue Type: Bug
>         Environment: CXF 2.1.3
>            Reporter: Dinesh
>             Fix For: Invalid
>
>
> Intermittently getting error at runtime while calling webservice. Here is the ful exception
trace
> -------------------------------------------------------------------------------------------
> Caused by: javax.faces.FacesException: Cant instantiate class: com.wdw.pms.web.controller.housekeeping.H2UIController..
Error creating bean with name 'HousekeepingAdminService' defined in class path resource [required-service-ioc-web.xml]:
Cannot resolve reference to bean 'HousekeepingAdminTarget' while setting bean property 'target';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'HousekeepingAdminTarget' defined in class path resource [required-service-ioc-web.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public java.lang.Object com.wdw.pms.web.facade.PMSServiceAdapter.getService()]
threw exception; nested exception is org.apache.cxf.wsdl11.WSDLRuntimeException: Part ServiceException
defined as element {http://exception.service.disney.com/}ServiceException which is not in
the schema.
> 	at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:282)
> 	at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:527)
> 	... 108 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'HousekeepingAdminService' defined in class path resource [required-service-ioc-web.xml]:
Cannot resolve reference to bean 'HousekeepingAdminTarget' while setting bean property 'target';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'HousekeepingAdminTarget' defined in class path resource [required-service-ioc-web.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public java.lang.Object com.wdw.pms.web.facade.PMSServiceAdapter.getService()]
threw exception; nested exception is org.apache.cxf.wsdl11.WSDLRuntimeException: Part ServiceException
defined as element {http://exception.service.disney.com/}ServiceException which is not in
the schema.
> 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
> 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:270)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
> 	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
> 	at com.disney.service.ioc.ServiceFactory.getService(ServiceFactory.java:77)
> 	at com.wdw.pms.web.facade.housekeeping.AdminServiceFacade.getService(AdminServiceFacade.java:58)
> 	at com.wdw.pms.web.facade.housekeeping.AdminServiceFacade.retrieveCurrentDate(AdminServiceFacade.java:572)
> 	at com.wdw.pms.web.controller.housekeeping.H2UIController.intialize(H2UIController.java:275)
> 	at com.wdw.pms.web.controller.housekeeping.H2UIController.<init>(H2UIController.java:198)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> 	at java.lang.Class.newInstance(Class.java:379)
> 	at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:277)
> 	... 109 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'HousekeepingAdminTarget' defined in class path resource [required-service-ioc-web.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public java.lang.Object com.wdw.pms.web.facade.PMSServiceAdapter.getService()]
threw exception; nested exception is org.apache.cxf.wsdl11.WSDLRuntimeException: Part ServiceException
defined as element {http://exception.service.disney.com/}ServiceException which is not in
the schema.
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:448)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:270)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
> 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
> 	... 127 more
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method
[public java.lang.Object com.wdw.pms.web.facade.PMSServiceAdapter.getService()] threw exception;
nested exception is org.apache.cxf.wsdl11.WSDLRuntimeException: Part ServiceException defined
as element {http://exception.service.disney.com/}ServiceException which is not in the schema.
> 	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:130)
> 	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:332)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:782)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:709)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)
> 	... 130 more
> Caused by: org.apache.cxf.wsdl11.WSDLRuntimeException: Part ServiceException defined
as element {http://exception.service.disney.com/}ServiceException which is not in the schema.
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:717)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:513)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:480)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:255)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:161)
> 	at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:117)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:312)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:408)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:189)
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:164)
> 	at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:408)
> 	at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:292)
> 	at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:287)
> 	at javax.xml.ws.Service.getPort(Service.java:188)
> 	at com.disney.service.adapters.ws.WebServiceLocator.locateService(WebServiceLocator.java:129)
> 	at com.disney.service.adapters.AbstractServiceAdapter._getService(AbstractServiceAdapter.java:44)
> 	at com.wdw.pms.web.facade.PMSServiceAdapter.getService(PMSServiceAdapter.java:23)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:118)
> 	... 134 more



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message