Goetzmann Bertrand wrote:
Thank you Guillaume,
Is it not possible to think of this as an entry point on the bus : an external
client invoking a service on the bus and then invokes another service or
triggers some process ?
(I know that exposing a POJO as a web service is possible with Apache Axis).
The real way to do that would be to use two endpoints : a soap binding
endpoint which would route request to a service engine endpoint.
Your pojo would the service engine and it could be used by other
services on the bus.
This conducts me to a more general question (I'm new to ServiceMix) : a client
API exists to call services in the JBI container in the save JVM, is there a
API to do the same but remotely, from an external Java client ?
There is one, but you must switch to the jms flow to use it. Look for
org.servicemix.client.RemoteClient.
Else the jbi compliant way is to use a binding endpoint like http or jms.
Guillaume Nodet
Thank you again.
-----Message d'origine-----
De : Guillaume Nodet [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 6 janvier 2006 10:50
À : [email protected]
Objet : Re: [servicemix-user] XFire-binding example missing ?
This example has been removed from the distribution because it was not really
relevant.
The service was exposed using xfire, but directly to the outside world, and not
really on the jbi bus.
You can still find it here:
http://svn.servicemix.codehaus.org/trunk/assembly/src/sandbox/xfire-binding/
Cheers,
Guillaume Nodet
Goetzmann Bertrand wrote:
Hello again,
Is someone have a simple example using ServiceMix and XFire : the idea
is to expose a POJO on the bus as a web service.
The ServiceMix's web site indicate a XFire-binding example but this
example is missing at least in ServiceMix 2.0.
Thank you.
Bertrand Goetzmann.
----------------------------------------------------------------------
-- *De :* Goetzmann Bertrand [mailto:[EMAIL PROTECTED]
*Envoyé :* mercredi 4 janvier 2006 12:07 *À :*
[email protected] *Objet :* [servicemix-user] XFire-binding
example missing ?
Hello,
I'm using ServiceMix 2.0.2 et it seems that the XFIRE-binding example
is missing (the Service Web page speaks about this example).
I would like find an example of a POJO exposed on the Bus as a web
service, and invoked it with an external client.
Thank for your help.
Bertrand Goetzmann