In my application, a client sends a SOAP request through a JSP page to the Mule ESB and ESB routes it to a Weather Service. I want to send the response from the service to the client through ESB: how can I structure the flow to achieve this? Where will the response land in Mule ESB in first place?
<Flow>
Step1:inbound endpoint>
Step 2:<component>
Step 3:<outbound endpoint>
Step4:<component>
Step 5:<outbound endpoint>
<Flow>
Is this flow correct? Is this enough to pass the reponse to the client?
I have some questions on this:
- From the outbound endpoint: can I send the response directly to the client without routing to the component?
- Do I need to call the same component class again to pass the response?
Code snippets or samples regarding this will be a great help.
Please give your suggestions.