Posts

Showing posts with the label Conditional Branch in OSB

Conditional Branch in OSB

Image
Conditional Branch :-  It is used to route the incoming requests to different business services based on different conditions like equal to (=), not equal to (!=), less than (<), less than equal to(<=), greater than(>), greater than or equal to(>=). If no any conditions satisfied then by default branch is executed. Scenario:- Create a OSB service which will accept employee details, whose salary is greater than 30,000 he is eligible for Loan, whose salary is less than or equal to 30,000 he is not eligible for loan. Solution:- Create a project name it as ConditionalBR (as per your choice you can give it)  create a schema as per the requirement and name it as per your choice      Right click on project name--->New--->Xsd Schema (give the schema name as per your choice)   <?xml version="1.0" encoding="windows-1252" ?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.example.org"         ...