Andy,

You can integrate an existing webservice in the ESB using either the servicemix-http or servicemix-cxf-bc component. For more documentation on these two options, have a look at http://servicemix.apache.org/servicemix-http.html and http://servicemix.apache.org/servicemix-cxf-bc.html. You will have to create a SU for one of these components and define a provider endpoint for your existing webservice.

How did you plan to do the integration between your web service and ServiceMix? One option would be to use the Client API (http://servicemix.apache.org/client-api.html) and send an InOut MessageExchange to the provider endpoint you defined previously -- you will automatically get the response from the webservice as the 'out' message in the exchange.
Regards,

Gert

andyamsterdam2003 wrote:
Hi,

I need to call an external web service via ServiceMix and get the response
back to the application for further processing.  I have the WSDL and would
like advice on the best way forward from here (or the most standard for
ServiceMix).  So basically it's like this:

Request:

(1)  <my web app>  --->  **ServiceMix ESB**  --> <my service> --|-->
<EXTERNAL WS>


Response:

(2) <EXTERNAL WS> --> <my service> --> **ServiceMix ESB** --> <my web app>

There seem to be a number of different ways to achieve this and i'm a little
confused as to which is the right way and which files need configuring (or
classes that I need to write) in order to achieve it.

I would appreciate advice on this.

Thank you.

Reply via email to