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 tilte 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.java
 AlbumTypeCol.java
 ClassFactory.java
 Error.java
 PriceFilter.java
 Result.java
 SearchRequest.java
 SearchResponse.java
 TrackType.java
 TrackTypeCol.java

Main Menu Samples List