In this step, you reuse the Java Emitter Template (JET)
to modify the base code for your Get TutorialStore component and introduce
the support for Process. Your existing Get TutorialStore service logic
remains unchanged.
Procedure
- Start
WebSphere Commerce Developer.
- Open the Java EE perspective.
- Modify the application definition file to update the base
code for the TutorialStore component and enable the Process pattern.
- Go to the WebSphereCommerceServerExtensionsLogic project
and expand the ServiceModuleDefinition directory.
- Right-click the SOITutorialStore.xml file;
then click Open.
- Update the XML file to enable the Process pattern option.
Search for the TutorialStore noun. Set the value of the
process
attribute
to true.<_pattern:noun name="TutorialStore" get="true" process="true" change="false" sync="false"/>
- Save the file.
- Right-click the SOITutorialStore.xml file;
then click
The pattern is applied.
The message
Successful Execution is displayed.
Note: In
some TutorialStore service projects, there are compilation errors.
These errors are corrected later in the tutorial and can safely be
ignored.