O'Reilly logo

Developing Enterprise Web Services: An Architect's Guide by James Webber - Ph.D., Sandeep Chatterjee - Ph.D.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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="http://www.w3.org/2002/02/wscl10" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required