Liquid XML Data Binder
Liquid XML Data Binder (C++, Java, VB6) / Examples / Music Store / Example Usage / Request / Visual Basic 6 Sample : Music Store
In This Topic
    Visual Basic 6 Sample : Music Store
    In This Topic
    Schema Summary
    This sample shows how a to use the generated code to implement a simple request response (client/server) application.

    Schema Details
    The Request represents a search request for an album (like the interfaces exposed by Amazon or Play).
    The response represents the result of the search, in this case either a set of results or an error. If results are returned then this may contain 0-n products (a product being an album), each album has one or more tracks, and a track has a title and length.


    Sample Description
    The sample demonstrates how to Create a request document, get the underlying XML. Decode the request, and build a response. Then decode and display the response. In short both side of a very simple client server application.

    Sample XML File

     MusicStore_Sample_Response.xml

    Sample Code
     Read Sample

    XSD Source Files
     MusicStore.xsd
     Schema Diagrams

    Generated Files
     AlbumType.cls
     AlbumTypeCol.cls
     ClassFactory.cls
     EnumConversions.cls
     Enumerations.cls
     Error_.cls
     General.bas
     PriceFilter.cls
     Result.cls
     SearchRequest.cls
     SearchResponse.cls
     TrackType.cls
     TrackTypeCol.cls

    Main Menu Samples List