-1

I have created a module for verifying the end-user via SMS and OTP. After the module verifies the end user, another API should be called automatically and the response sent to the end user. I have attached the flow. enter image description here

How can I handle this procedure in WSO2 Integration studio ??

Ian Campbell
  • 23,484
  • 14
  • 36
  • 57
Ehsan
  • 53
  • 5

1 Answers1

1

There are so many unknowns in your description. But if I understand correctly you have an endpoint for OTP and an endpoint for some business process X and then the response should be sent to the end user.

This sounds like two call mediators, endpoints, endpoint error handling, service chaining/service chaining and some unstated logic around failure scenarios using a combination of switch mediator and faultSequence depending on situation encountered. You'll also want to understand the best practices around Send vs Call mediators.

This older document "Exposing Several Services as a Single Service" I believe provides your answer, with the above concepts, of how you can achieve this type of functionality described.

Scott
  • 46
  • 5