INT004 - Department Inquiry Bindings
To begin, you will learn a few JSM specific concepts related to XML files and bindings. Writing or obtaining the XML would usually be the first step in your application. The XML is required by the XML Binding Wizard to map the bindings.
Usually there will be two XML files involved when writing the client and server side of an application. In this course, they will be referred to, as the request and response XML:
Using an XML file as input, the XML Binding Wizard can create a binding to map the XML to your LANSA fields. JSM uses the jar files to map the information in the XML file and map it into the RDMLX function. The binding is different depending on the direction of the XML, for example, whether it is being sent, or received. A SET is usually associated with an outbound binding, a GET with an inbound binding.
For the server to be able to receive the request, it will require an inbound binding of the request XML. The server will also require an outbound binding to generate the response XML. Assuming that the request and response XML are different (as they are in these exercises), you will create:
This table summarizes the relationship between the input XML, the jar files and JSM command which are used for this exercise: