Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A hypothetical business scenario, which illustrates the Http Binding example, is that of a Department of Public Works Project Monitoring System that needs to check the budget availability for a work item before proceeding with the actual implementation. This example starts at the isBudgetAvailable class of the Department of Public Works Project Monitoring System when it post posts a request on url URL http://localhost:8912. Included in this request is the budget allocation id ID of the corresponding work item. The Http HTTP Server which listens to on this url URL receives the request. It then forwards the request to the Saaj Binding Component as this component is capable of communicating to a UrlEndpoint which in this case is the Budget Checking System. The Budget Checking system checks if funding is still sufficient for the implementation of the work item and formulate formulates the appropriate response. It then sends the response back to Saaj Binding Component which in turn sends it back to Http HTTP receiver. The Http HTTP receiver then sends the message to the url http://localhost:8912 which in turn is picked up by the isBudgetAvailable class. Response is printed on the console.

...