Freeman, the following is xbean.xml
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance" xmlns:eka="http://ekaplus.com/contract" xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0 http://servicemix.apache.org/schema/servicemix-cxfbc-3.2.3.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> <cxfbc:consumer wsdl="classpath:contract.wsdl" service="eka:createContractBC" endpoint="eka:createContractEP" targetService="eka:createContractDataMapperBean"/> </beans> Should change service="eka:createContractBC" to service="eka:contractSOAP" , I have namespace prefix also, will it matters? should I give the namespace as wsdl in xbean.xml also?? regards Brijesh N K Freeman Fang wrote: > > Hi, > > Your sevice name in your wsdl is contractSOAP, so you need set he > serviceName for your cxf bc consumer configuration accordingly. > Freeman > brijesh wrote: >> hello, >> >> I have create a cxf-bc, while I am deploying I am getting following error >> >> org.apache.cxf.service.factory.ServiceConstructionException: Could not >> find >> definition for service {http://ekaplus.com/contract}createContractBC. >> >> full stack as folows >> >> <stack-trace><