Hello!

I need to simply deploy a SOAP service (via a cxf-bc) and enter into SOAP
method into a pojo java class via a cxf-se. Infortunately I have problems to
understand how to setup the XML tags for the cxf-bc and cxf-se.
When a deploy, I have access with an brower to the WSDL but the client SOAP
receives error has the link between BC and SE doesn't work. Why ?
Here my work :

xbean of cxf-bc :

<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";
       xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0
http://servicemix.apache.org/schema/servicemix-cxfbc-3.2.2.xsd
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

  <cxfbc:consumer wsdl="classpath:Communicator.wsdl"
                      targetEndpoint="Communicator"
                      targetService="Communicator"
                      targetInterface="Communicator"/> 

</beans>

xbean of cxf-se :

<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0";
       xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://servicemix.apache.org/cxfse/1.0
http://servicemix.apache.org/schema/servicemix-cxfse-3.2.2.xsd
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

    <cxfse:endpoint>
        <cxfse:pojo>
          <bean class="com.test.communicator.CommunicatorImpl" />
        </cxfse:pojo>
    </cxfse:endpoint>

</beans>

Normally maven generates automatically the *.java class based on the WSDL?
What mut be put as bean class in SE?
What mut be put as targetInterface in BC?
What mut be put as targetServicein BC?
What mut be put as targetEndpoint BC?






-- 
View this message in context: 
http://www.nabble.com/How-to-setup-a-couple-cxf-bc---cxf-se---tp19163632p19163632.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to