Hi all,

  This is my first post here, so i want to thanks all collaborators for your
help. I have a problem during the communication of an ODE-SU, which is
composed by a BPEL, and a CXF-SE. This CXF-SE is usually called by a CXF-BC,
and when i try to call this BC using SoapUI, it works. 

Now, i want to call this CXF-SE using an ODE-SU (with an invoke tag in the
BPEL). But the problem is here : the is an "Unknown endpoint" problem during
this call.

I paste here the code of different files.

the xbean.xml of CXF-BC :

<?xml version="1.0" encoding="UTF-8"?>
<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:corb="http://service.application.corbeilledetache.epng.phloeme.com/";
       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:CS_CorbeilleWS.wsdl"
                                          
locationURI="http://esb.ixarm.net:7051/CS_CorbeilleWS/";
                                         targetService="corb:CS_Corbeille"
                                         targetEndpoint="CS_Corbeille" />

The end of the CS_CorbeilleWS.wsdl (used in the SE and the BC):

 <!-- Service Definition -->
    <wsdl:service name="CS_Corbeille">
        <wsdl:documentation>
            
        </wsdl:documentation>
        <wsdl:port binding="impl:CS_CorbeilleSoapBinding"
name="CS_Corbeille">
            <wsdlsoap:address
location="http://esb.ixarm.net:7051/CS_CorbeilleWS/main.wsdl"/>
        </wsdl:port>
    </wsdl:service>


The xbean.xml of CXF-SE

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0";
        
xmlns:corb="http://service.application.corbeilledetache.epng.phloeme.com/";>
        
    <cxfse:endpoint service="corb:CS_Corbeille" endpoint="CS_Corbeille">
        <cxfse:pojo>
            <bean
class="com.phloeme.epng.corbeilledetache.application.service.CSCorbeilleImpl">
                <property name="cs_corbeille" ref="cS_Corbeille" /> 
            </bean>
        </cxfse:pojo>
        <cxfse:inInterceptors>
            <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
        </cxfse:inInterceptors>
        <cxfse:outInterceptors>
            <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
        </cxfse:outInterceptors>
        <cxfse:inFaultInterceptors>
            <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
        </cxfse:inFaultInterceptors>
        <cxfse:outFaultInterceptors>
            <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
        </cxfse:outFaultInterceptors>
    </cxfse:endpoint>
        
</beans>

And the deploy.xml of ODE-SU module :

<?xml version="1.0" encoding="UTF-8"?>
<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"; 
        xmlns:gc="http://www.phloeme.com/TaskManagerNotification/";
       
xmlns:corb="http://service.application.corbeilledetache.epng.phloeme.com/"; >

  <process name="gc:GestionCommandeProcess">
    <active>true</active>
    
    <provide partnerLink="GestionCommandeLocalName">
      <service name="gc:GestionCommandeService" port="gestioncommande" />
    </provide>
      
    <invoke partnerLink="CorbeilleLocalName">
      <service name="corb:CS_Corbeille" port="CS_Corbeille" />
    </invoke>
    
  </process>

</deploy>


In my opinion, the ODE-SU, is using the line of deploy.xml
port="CS_Corbeille" as an endpoint, and in theory is able to find the
endpoint="CS_Corbeille" of the CXF-SE. Am i right on this point ? 

The second hesitation i have is the hability of the ODE-SU to communicate
with the CXF-SE (maybe we must respect this schema : ODE-SU -> CXF-BC ->
CXF-SU ?


Excuse for my frenglish :) and thank you for your future response.

Happy new year :)

minzou.

-- 
View this message in context: 
http://old.nabble.com/Communication-problem-between-an-ODE-SU-and-a-CXF-SU-tp27063479p27063479.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to