This component available part of SDF (Service Definition Framework). This component is useful when you have one input xml which needs to passed to two or more services.
Input XML – Service 1 – Service 2 : In this example if composite not used output of Service 1 will be passed as input to Service 2
if we need same input XML to be passed to Service 1 and Service 2 we need to use composite service. if service 1 throws exception service 2 will not be executed. if service 2 fails and throw exception entire transaction will be rollback.Meaning both service gets executed and commit occurs in database (So do all or nothing)
If any of service does drop message to Queue, this can not be rollback. This component execute the services in same order which is displayed in the configuration.
Hope this helps !!!
Notice: Trying to access array offset on value of type null in /home/activeki/blog.activekite.com/wp-content/plugins/wpforo/wpf-themes/classic/layouts/3/post.php on line 62
What would be the output xml from the composite service.?
whether it will be the output of service 1 or service 2?
Composite service will have output XML will be same as input XML. You dont have response of service1 or service2. Hope this helps !!! Thanks for asking.
Notice: Trying to access array offset on value of type null in /home/activeki/blog.activekite.com/wp-content/plugins/wpforo/wpf-themes/classic/layouts/3/post.php on line 62