Index Changes
This is version 4. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Creating the Abstract Message Definition

In the absence of a predefined representation of the metadata describing the data format, you must manually create the Abstract Message Definition and apply the Custom Encoder. To begin this process, you must create an XSD and apply the Custom Encoder, as follows:

To Apply the Custom Encoder to an XSD

1 In your project, right—click to access the project context menu and add a new XML Schema.

You will need to develop the XSD node structure to match the parsing of the serialized message stream being processed. This process is described in the topics following this one. 2 In the resulting XSD, right—click to access its context menu and select Encoder > Apply Custom Encoder.

3 Once the Encoder has been applied, a special encoding node will automatically be added as a child node of an annotation node.

4 By right-clicking the encoding node and selecting Properties, you can edit the encoding rules for the individual elements.

5 After applying the Encoder, the context menu changes as shown in the following illustration. Reapplying the Encoder resets the parameters for all nodes to their default values. The node structure you have created will be preserved.

Previous | Next

Return to Designing Custom Encoders Home

Return to GlassFish ESB Documentation Home

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This particular version was published on 10-Dec-08 13:42 PM, -0800 by NormS