Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-55

Usecase XFireOutBindingTest fails

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Mac with Power Dog Linux OS, and jdk IBMJava2-ppc-141

    Description

      INFO: Creating shared instance of singleton bean 'xfire.serviceFactory'
      Sep 5, 2005 8:53:00 PM org.springframework.beans.factory.support.AbstractBeanFactory getBean
      INFO: Creating shared instance of singleton bean 'xfire.servletController'
      org.codehaus.xfire.XFireRuntimeException: Couldn't write stream.. Nested exception is org.codehaus.xfire.XFireRuntimeException: Couldn't create type for property messages on class org.servicemix.examples.MessageList: Cannot create mapping for java.util.List, unspecified component type
      org.codehaus.xfire.XFireRuntimeException: Couldn't create type for property messages on class org.servicemix.examples.MessageList: Cannot create mapping for java.util.List, unspecified component type
      at org.codehaus.xfire.aegis.type.AbstractTypeCreator.createCollectionQName(AbstractTypeCreator.java:169)
      at org.codehaus.xfire.aegis.type.AbstractTypeCreator.createCollectionType(AbstractTypeCreator.java:124)
      at org.codehaus.xfire.aegis.type.XMLTypeCreator.createCollectionType(XMLTypeCreator.java:92)
      at org.codehaus.xfire.aegis.type.AbstractTypeCreator.createTypeForClass(AbstractTypeCreator.java:71)
      at org.codehaus.xfire.aegis.type.AbstractTypeCreator.createType(AbstractTypeCreator.java:219)
      at org.codehaus.xfire.aegis.type.basic.BeanTypeInfo.getType(BeanTypeInfo.java:117)
      at org.codehaus.xfire.aegis.type.basic.BeanType.getType(BeanType.java:268)
      at org.codehaus.xfire.aegis.type.basic.BeanType.writeObject(BeanType.java:176)
      at org.codehaus.xfire.aegis.AegisBindingProvider.writeParameter(AegisBindingProvider.java:156)
      at org.codehaus.xfire.service.binding.MessageBinding.writeMessage(MessageBinding.java:82)
      at org.codehaus.xfire.soap.SoapSerializer.writeMessage(SoapSerializer.java:77)
      at org.codehaus.xfire.transport.local.LocalChannel$1.run(LocalChannel.java:106)
      at java.lang.Thread.run(Thread.java:568)
      Sep 5, 2005 8:53:04 PM org.springframework.context.support.AbstractApplicationContext close
      INFO: Closing application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=1508627025]
      Sep 5, 2005 8:53:04 PM org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
      INFO: Destroying singletons in factory

      {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfireReceiverService,client,messageServiceFactory,OneWayService,jbi,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController]; root of BeanFactory hierarchy}

      ------------- ---------------- ---------------
      Testcase: testSendingAndReceivingMessagesUsingSpring(org.servicemix.components.xfire.XFireOutBindingTest): FAILED
      expected number of messages when received: [] expected:<1> but was:<0>
      junit.framework.AssertionFailedError: expected number of messages when received: [] expected:<1> but was:<0>
      at org.servicemix.examples.MessageList.assertMessagesReceived(MessageList.java:114)
      at org.servicemix.components.xfire.XFireOutBindingTest.testSendingAndReceivingMessagesUsingSpring(XFireOutBindingTest.java:25)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)

      Attachments

        Activity

          People

            Unassigned Unassigned
            foconer Frederick G. Oconer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: