Hi Jaime,
in fact your question is very wide.
You have several ways to do it :
- you can use a pure JBI packaging into SMX4. In this case, you can use
a servicemix-bean based SU (in consumer mode/scheduler) to query the
LDAP and send a message to a servicemix-cxf-bc based SU (in provider
mode). You build your SA and deploy it directly in SMX4 (by copying it
in the deploy directory or using mvn jbi:mvn:... provisioning).
- another solution is to use component from an OSGi point of view using
the EndpointExporter. In that case, you can merge your xbean in a single
XML file and add the EndpointExporter bean to deploy. In that case, you
can package your business logic in an OSGi bundle, registering a service
that you can use.
Regards
JB
Jaime Hablutzel Egoavil wrote:
ok, now I can see new concepts:
CXF-BC: Where can I find an example of this for servicemix 4?
Can you please example that about servicemix-bean to interact with LDAP,
is a way to avoid servicemix interceptors?
And yes, I heard bout servicemix-ldap to work with ldap, should I
install it as an osgi bundle?
Thank you.
On Mon, Oct 26, 2009 at 2:14 PM, Jean-Baptiste Onofré <[email protected]
<mailto:[email protected]>> wrote:
Why don't using CXF-BC in provider mode ?
CXF-BC in provider mode acts as a WebService client.
You can use the provider from a servicemix-bean to interact with
your LDAP.
FYI, a servicemix-ldap component already exists. I'm still working
on it but it's already usable.
Regards
JB
Jaime Hablutzel Egoavil wrote:
Hi, I'm testing servicemix 4 for a week until now and I can't
get working a
cxf web service inside servicemix, that queries another external
web service
inside its implementation and connects to ldap using DirContext
(its fails
because of an intercepting stuff inside servicemix).
Can someone give me an example of I cxf web service inside
servicemix, with
a ws client inside of it? And, an example of an application
connecting to
ldap from inside of one cxf web service?
Thank you very much.
--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected] <mailto:[email protected]>
PGP : 17D4F086
--
Jaime Hablutzel
(tildes omitidas intencionalmente) 9 8964 0369