Tutorial: Creating a WebSphere Commerce service module > < Previous | Next >

 

Define the TutorialStore noun

This section refers to defining the TutorialStore noun.To develop the TutorialStore noun, add the foundation schemas to the TutorialStore-DataObjects project and update the generated TutorialStore.xsd.

  1. The foundation data objects are provided in the WebServiceRouter project under workspace_dir\WebServiceRouter\WebContent\component-services:

    • Copy \xsd to TutorialStore-DataObjects\xsd.

    • Copy \ecore to TutorialStore-DataObjects\ecore.

  2. Right-click the TutorialStore-Dataobjects project and select Refresh.

  3. Update the generated TutorialStore noun.

    1. Open the TutorialStore-DataObjects/xsd/OAGIS/9.0/Overlays/MyCompany/Commerce/Resources/Nouns/TutorialStore.xsd file in a text editor.

    2. Replace the generated content with the contents of the following download: TutorialStore.xsd.

      open the download in a text editor (not an internet browser) to copy the contents.

  4. Verify the environment.

    • Right-click TutorialStore.xsd and select Run Validation.

    • Close the Progress Information dialog.

    • Select the Problems view and verify that there are no errors in validating the TutorialStore noun.Tip: There may be many build errors in the project at this point, but you can ignore errors that aren't regarding validating the noun

< Previous | Next >