Yes, it's a servicemix-bean based SU.
The method I need to call are in the same CXF-SU (via an interface I have
from a WSDL).
I can define an operation propery ?
Why can't I remain in pure java? like this:
public void onMessageExchange(MessageExchange exchange)
throws MessagingException {
// transform message to my logic :
// extract my params from the xml message, then call the proxied service :
m_proxy.callMyMethod(param1, param2, param3)..
// m_proxy is an interface from the CXF-SE I want to call
}
I tried that from CXF-SE to CXF-SE and I works very fine. Why can't I have
the same from a servicemix bean-su?
Jean-Baptiste Onofré wrote:
>
> Sorry, I haven't understood your needs.
>
> When you said Bean-SU, it's a servicemix-bean based SU, isn't it ?
>
> Correct me if I'm wrong :
> 1/ you want to make some kind of content routing: depending of a
> condition in your bean, you need to call different methods. These
> methods are in the same CXF-SU or in several CXF-SU ?
> 2/ I guess that in the generated WSDL in the CXF-SU, you have one
> operation/port per method. Have you tried to define the message
> operation property in your bean ?
>
> Regards
> JB
>
> jcamus wrote:
>> No sorry, maybe I was not clear enough.
>> In fact I want in my java pojo class (defined into the Bean-SU) to call
>> different methods
>> exposed by the CXF-SE proxy. I already tried the interface call from a
>> given
>> cxf-se pojo to another cxf-se it works fine via the cxfse:proxy . But
>> infortunately it seems not possible from a Bean-SU.
>>
>> So again my question Is SMX-4 solving this problem?
>>
>> Regards.
>
>
--
View this message in context:
http://www.nabble.com/Error-when-defining-a-cxf-se-proxy-into-a-smx-bean-su-tp25474087p25475695.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.