Take a look at the soap-binding demo ;)
There are two service units: the http binding and the service.
You should be able to replace the SimpleService by your existing class.
Guillaume Nodet
Jaime Fernández wrote:
So I can expose anything registered in the ESB over SOAP. But, I don't
want to code a new class (pojo) but to expose a legacy class via a
binding component (perhaps). I think that's the real sense of an ESB,
where you can expose any legacy component: Java, CORBA, JMS, ... with
binding components and only with declarative configuration (without
programming). Is that possible?
Thanks
On 2/22/06, *Guillaume Nodet* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Take a look at the soap-binding example in the servicemix 3.0-SNAPSHOT
distribution.
It exposes a simple pojo over SOAP+HTTP.
This example uses standard jbi deployments, but it can be
refactored to
use only a single
servicemix.xml configuration file, without any packaging.
Cheers,
Guillaume Nodet
Jaime Fernández wrote:
> I'd like to provide some methods of a java class as a web
service via
> servicemix ESB. Is it possible to do it without any additional
layer
> or programming, but only with a configuration file?. I know how
to do
> it with SOAP processors like apache axis, but I don't know how can I
> do it without programming a JBI component.
> Thanks