Freeman, 

I have downloaded smx 3.3.1 from the link and deployed , i got the same
error 
stack trace as follows 

15:56:00,532 | ERROR | Timer-3    | CxfBcComponent           |
on.xbean.AbstractXBeanDeployer  102 |
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.servicemix.cxfbc.CxfBcConsumer#0' defined in file
[C:\apache-servicemix-3.3.1\data\smx\service-assemblies\sa-contract\version_1\sus\servicemix-cxf-bc\bc-contract\xbean.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.InvalidPropertyException: Invalid property
'useSOAPEnvelope' of bean class [org.apache.servicemix.cxfbc.CxfBcConsumer]:
No property 'useSOAPEnvelope' found
15:56:08,199 | INFO  | Timer-3    | DeploymentService        |
bi.framework.DeploymentService  695 | UnDeployed ServiceUnit dm-contract
from Component: servicemix-bean
15:56:08,855 | INFO  | Timer-3    | DeploymentService        |
bi.framework.DeploymentService  695 | UnDeployed ServiceUnit pojo-contract
from Component: servicemix-bean
15:56:09,152 | INFO  | Timer-3    | DeploymentService        |
bi.framework.DeploymentService  695 | UnDeployed ServiceUnit eip-contract
from Component: servicemix-eip
15:56:09,667 | ERROR | Timer-3    | AutoDeploymentService    |
ramework.AutoDeploymentService  368 | Failed to update Service Assembly:
sa-contract
java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>
<jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message";
version="1.0">
<jbi-task-result>
<frmwk-task-result>
<frmwk-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
</task-result-details>
</frmwk-task-result-details>
</frmwk-task-result>
<component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
        <component-name>servicemix-cxf-bc</component-name>
        <component-task-result-details>
                <task-result-details>
                        <task-id>deploy</task-id>
                        <task-result>FAILED</task-result>
                        <message-type>ERROR</message-type>
                        <task-status-msg>
<msg-loc-info>
<loc-token/>
<loc-message>Could not deploy xbean service unit</loc-message>
</msg-loc-info>
</task-status-msg>
                        <exception-info>
                                <nesting-level>1</nesting-level>
                                <msg-loc-info>
                                        <loc-token/>
                                        <loc-message>Error creating bean with 
name
'org.apache.servicemix.cxfbc.CxfBcConsumer#0' defined in file
[C:\apache-servicemix-3.3.1\data\smx\service-assemblies\sa-contract\version_1\sus\servicemix-cxf-bc\bc-contract\xbean.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.InvalidPropertyException: Invalid property
'useSOAPEnvelope' of bean class [org.apache.servicemix.cxfbc.CxfBcConsumer]:
No property 'useSOAPEnvelope' found</loc-message>
                                
<stack-trace><![CDATA[org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.servicemix.cxfbc.CxfBcConsumer#0'
defined in file
[C:\apache-servicemix-3.3.1\data\smx\service-assemblies\sa-contract\version_1\sus\servicemix-cxf-bc\bc-contract\xbean.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.InvalidPropertyException: Invalid property
'useSOAPEnvelope' of bean class [org.apache.servicemix.cxfbc.CxfBcConsumer]:
No property 'useSOAPEnvelope' found
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:86)
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
        at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:520)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:354)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:257)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:668)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:63)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:632)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: org.springframework.beans.InvalidPropertyException: Invalid
property 'useSOAPEnvelope' of bean class
[org.apache.servicemix.cxfbc.CxfBcConsumer]: No property 'useSOAPEnvelope'
found
        at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:382)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1288)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1249)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
        ... 22 more


xbean as follows 

  <cxfbc:consumer wsdl="classpath:contract.wsdl"

        busCfg="schemaValidation.xml" 
             service="eka:createContractService"
             targetService="eka:contractBeanRouter"
             useJBIWrapper="false" 
             useSOAPEnvelope = "false"/>

Thanks, 

Brijesh N K

 


Freeman Fang wrote:
> 
> Yes. 3.2.4 and 3.3.1 not get released.
> You need try with the 3.2.4 snapshot, you can check out code from [1], 
> and build the kit yourself.
> Or you can download 3.3.1 snapshot kit from [2]
> 
> [1]http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/
> [2]http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/apache-servicemix/3.3.1-SNAPSHOT/apache-servicemix-3.3.1-20090102.085331-4.zip
> Freeman
> brijesh wrote:
>> Freeman, 
>>
>> I am using 3.2.3 version of servicemix , but i am not able to get the
>> link
>> to download smx version 3.2.4,  you mentioned , can please send the link
>> if
>> you have ,
>>  
>> I was searching in this link, http://cwiki.apache.org/SM/download.html 
>> but  said version is not avaialble , from 3.2.3 directly Servicemix 3.3 ,
>> no
>> 3.2.4 version? any idea ? 
>>
>>
>> thanks 
>> Brijesh N K
>>
>>
>> Freeman Fang wrote:
>>   
>>> Hi,
>>>
>>> Add useJBIWrapper="false" and useSOAPEnvelope="false" both for your cxf 
>>> bc consumer.
>>> You need use 3.2.4-SNAPSHOT or 3.3.1-SNAPSHOT to get this feature
>>> Freeman
>>>
>>> brijesh wrote:
>>>     
>>>> hello, 
>>>>
>>>> Is there a way to use useSOAPEnvelope = "false" with xbean of cxf-bc, 
>>>> I need to get xml message(without soap wrapper) which I am passing
>>>> through a
>>>> cxf-bc , 
>>>> is there a way to do that, 
>>>>
>>>> I am aware that I can configre cxf-se and extract xml message, passed
>>>> through cxf-bc, but I need to get the xml message in smx-bean of
>>>> onMessageEvent. 
>>>>
>>>>
>>>> thanks 
>>>> Brijesh N K     
>>>>   
>>>>       
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/useSOAPEnvelope-in-xbean-cxf-bc-tp21346797p21349410.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to