You can use an http endpoint as a provider (http://incubator.apache.org/servicemix/servicemix-http.html). The provider http endpoint allows you to transform/wrap an incoming jbi message to a soap message and send it as the soap request to the target WS.

Also, you can use a jsr181 proxy (http://incubator.apache.org/servicemix/servicemix-jsr181.html), so you can invoke the web service as a pojo. You must target an http provider endpoint so that the jbi message created by the jsr181 proxy will be wrapped in a soap message.

Here's a neat example of invoking an external service using jsr181 proxies and http endpoints. (http://incubator.apache.org/servicemix/orchestration-with-jsr181.html)

Hope this helps.

Erik Allais wrote:
hi,
i must make a service provider that consume WS on an external Application
(SugarCRM)

the illustration:


ESB<===>[WS: Service provider]------>consume WS------->[Application:
SugarCRM]
                                                              <------return
result-----------


my service provider inside servicemix must use a SOAP client to invoke the
WS of my external application
There is a component which can do that or i must use a SOAP client like
XFire or Axis?

note : All the WS i must invoke (sugarCRM) need complex type parameter

Why this implementation??
Because i need to make an abstract layer over the WS of my application
(bufferised some process for example)

thanks,

Erik





Reply via email to