The Bar Scenario Conversation

At this point we are ready to tackle an entire WSCL interface. Accordingly, the bar conversation is presented in full in Figure 5-18.

We've already covered all of WSCL, so the interface shown in Figure 5-18 doesn't hold any significant surprises. However, there are a number of elements whose function is interesting, particularly those Interaction elements that have multiple possible OutboundXMLMessages and the corresponding Transition elements which possess a SourceInteractionCondition. Take for example the billing aspect of the conversation, which involves the following interactions:

Figure 5-18. The complete WSCL bar conversation.
 <?xml version="1.0" encoding="UTF-8"?> <wscl:Conversation xmlns:wscl="" ...

Get Developing Enterprise Web Services: An Architect's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.