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.
- 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.
![]()
- Right-click the TutorialStore-Dataobjects project and select Refresh.
- Update the generated TutorialStore noun.
- Open the TutorialStore-DataObjects/xsd/OAGIS/9.0/Overlays/MyCompany/Commerce/Resources/Nouns/TutorialStore.xsd file in a text editor.
- 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.
- 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