Tutorials > Program model > Web services > Customize Web 2.0 and Web services to support customization of the OrderItem noun using the UserData field
Test the customization
This section is about testing the customization.
Procedure
- Open the internet browser and go to http://localhost/webapp/wcs/stores/servlet/Madisons2/index.jsp
- Click Tableware > Wine Glasses.
- Add both the Villagois Wineglass and the Hawthorne Wineglass to the shopping cart.
- Click Shopping Cart.
- Fill in the engraving information and then click the Save button for each item,
- Refresh the Web browser to check the retrieved engraving information from the database.
- Check database table to ensure that engraving information was saved
- Open another browser and go to http://localhost/webapp/wcs/admin/servlet/db.jsp
- Type the following SQL statement:
SELECT * FROM pattrvalue WHERE OrderItems_id IS NOT NULL;
- Check the table for the order items and make sure that the values have persisted to the PATTRVALUE table.