The story continue ....

Now, i'm pretty sure that the communication between the ODE-SE and the
CXF-SE is ok. I reduce my BPEL just to call a simple function.

When i call this function using soapUI, all works and the JMS message is the
following :

<?xml version="1.0" encoding="UTF-8"?>
<jbi:message xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"; 
xmlns:msg="http://service.application.corbeilledetache.epng.phloeme.com/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
name="getTaskModelsRequest" type="msg:getTaskModelsRequest" version="1.0">
                   <jbi:part>
                         <ser:getTaskModels
xmlns:ser="http://service.application.corbeilledetache.epng.phloeme.com/"/>
                   </jbi:part>
</jbi:message>

But, when i try to call this function using a BPEL invoke tag, the JMS
message is the following :

<?xml version="1.0" encoding="UTF-8"?>
        <getTaskModels
xmlns="http://service.application.corbeilledetache.epng.phloeme.com/";>
        </getTaskModels>

And i have in return this message

<ns1:JBIFault xmlns:ns1="http://cxf.apache.org/bindings/jbi";><fault
/></ns1:JBIFault>

Here his the BPEL copy and invoke part :


<bpel:assign>
                
                 
        <bpel:copy>
                <bpel:from>
                     <bpel:literal>
                    </bpel:literal>
                </bpel:from>
               
<bpel:to>$cdt-corbeillebean-getTaskModelsRequest.parameters</bpel:to>
            </bpel:copy>
 
                                          
                </bpel:assign>

                
                        <bpel:invoke 
                                name="getTaskModels" 
                                partnerLink="CorbeilleLocalName" 
                                portType="cdt:CS_CorbeillePortType" 
                                operation="getTaskModels"
                                
inputVariable="cdt-corbeillebean-getTaskModelsRequest"
                                
outputVariable="cdt-corbeillebean-getTaskModelsResponse" />     


getTaskModels function doesn't require any args. That's why bpel:litteral
tag is empty.

I try several solutions, for example copy the entire working payload
(soapUI) into the bpel:literal tag, but during the invoke, all the payload
is wrapped into a getTaskModels tag. Here is the wrapped payload.

<?xml version="1.0" encoding="UTF-8"?><getTaskModels
xmlns="http://service.application.corbeilledetache.epng.phloeme.com/";
name="getTaskModelsRequest" type="msg:getTaskModelsRequest"
version="1.0"><jbi:part
xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper";><ser:getTaskModels
xmlns:ser="http://service.application.corbeilledetache.epng.phloeme.com/"/></jbi:part></getTaskModels>


Maybe there is an option we need to set in the BPEL ... i don't know. If
anybody has a suggestion ...


Thanks :)

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

Reply via email to