Generating a Sample XML Document

You use the XML Template utility to create a sample XML document. The sample XML document is based on the value object of the business service method that is calling an external web service. This XML document provides a model for creating the XML payload in the JD Edwards EnterpriseOne business function. The XML document represents the structure of the data that is sent from the business function. The XML Template utility is provided in JDeveloper, and you access the utility by selecting a value object Java file in the JDeveloper Application Navigator pane.

To invoke the XML Template utility that generates a sample XML document:

  1. Start JDeveloper from OMW.

  2. In the JDeveloper navigator pane, right-click the value object of the business service method that you want to call.

  3. Select Generate XML Document Template from the context menu.

    The XML Template utility creates a new XML file in the same directory as the value object. The XML file has the same name as the value object, with an extension of XML instead of Java.

  4. Click the refresh icon in the JDeveloper navigator pane.

  5. Open the sample XML document by double-clicking the new XML file.