Hi again.

I hadn't realised the Ode Component was a Service Engine. I thought it
could be able to send messages outside the NMR, but there'll be no
problem in sending them to cxf-bc and let this one call the WS.

What is now worrying me is the fact of sending attachments across ODE.
I'm trying to do a test case for it, and I think the only way to make
it work will be using MTOM but I'm not sure it will work. Do you know
if anyone has investigated this already? What most worries me is that
(i think) in ServiceMix the only way to receive messages with MTOM
enabled is through the cxf endpoints, so I will not be able to create
a NM with an attachment in a bean component and send it directly to
ODE won't I?

Thanks a lot for your reply.

Sebastian Gomez.

On Thu, Jun 19, 2008 at 5:56 PM, Alex Boisvert <[EMAIL PROTECTED]> wrote:
> Hi Sebastian,
>
> On Tue, Jun 17, 2008 at 2:57 PM, Sebastian Gomez <[EMAIL PROTECTED]> wrote:
>
>> Thanks for the quick answer. I've been having a look at the source
>> code and I haven't found where Ode distinguishes between sending a
>> message to a SOAP endpoint or a JBI endpoint. I'm not even sure if the
>> ODE JBI component can send messages to SOAP endpoints or only to JBI,
>> but I'll try to figure that out tomorrow (I understand ODE is able to
>> send messages to a non-jbi Web Service, but my assumption is that
>> maybe this is only possible if it is not deployed in the JBI
>> container). I'd really appreciate if you helped me out with those two
>> things, because I've been looking everywhere for the answer but I
>> haven't found anything.
>
>
> Ode only send/receives to/from JBI endpoints.   If you want to invoke a web
> service that uses SOAP, you need to use a JBI binding component (e.g.
> ServiceMix SOAP/HTTP component).   The HelloWorld2 sample process in the JBI
> distribution illustrates this.
>
>
>> About "using" a custom adapter, does that mean there exists one
>> already? And in the case of "writing" the adapter, where would the
>> best place to put it be? As an out interceptor maybe?
>
>
> We have 3 messages mappers already:  JbiWsdl11, DocLit and ServiceMix
>
> You can find them here:
> http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/jbi/src/main/java/org/apache/ode/jbi/msgmap/
>
> alex
>

Reply via email to