soa - WSO2 good practice with many service calls in a sequence -


I am working on a fixed sequence which requires the following:

 < Code> If XML is available with XML data, call Getty Data Service to get GetNew data service, get ID and update it in property call with Statatus data service parameter ID and calling process processing process order, X MEL passes the data, if the return success call is the outer SetStatus service with SUCCESS, otherwise call the external SetStatus service as well as caller updatestatus data service again with no parameter ID and processing otherwise  

To do this, I have created the following sequence:

  Payload - To create GetNew request callout - To call GetNew data service property - To save the ID from the affected new message filter - Verify if ID property exists - Clone payload - SSING request callout to create an UpdateStatus PROCE - Call UpdateStatus xslt - Send GetNew to processor from XML - Processorder Endpoint Out Property - Save the response to the processor order response payloads - Setstatus Request Callout - An UpdateState to Create a Call To create processed request callout -------------------------------------------- -------------------------------------------------- -------------------------------------------------- ------- I like to know if this is a good practice or if I 

thank you in advance.

By breaking several scenes in a design decision. Generally the sequence is more like a square. If there is a special task in a particular sequence, then it will be united and reusable in other components. Better breaks based on logical work done through sequence.

The use of callout or the sender of the arbitrator depends on the user you are trying to obtain, making the call asynchronous, send the moderator correctly, is different from the callout, so the callout arbitrator makes a blocked call. It is useful, but if you need to answer the service to move forward from the sequence. You can find more information about these mediators at the following link.

For proxy services and sequences, you can define fault sequences to handle fault scenarios. For more on error handling you can follow.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -