ItemsDB_XMLBean Sample

A database control and web service client that demonstrate how to return XMLBean types from the database, and pass these types to a web service.

Concepts Demonstrated by this Sample

Location of Sample Files

This sample is located in the database/xmlbean folder of the WebServices project in the SamplesApp sample application. In the file system the locations are:

BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebServices\database\xmlbean\Items_XMLBean.jcx
BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebServices\database\xmlbean\Items_XMLBeanClient.jws

To Run the Sample

To run this web service:

  1. Start WebLogic Server in the Workshop domain.
  2. Launch the service either by opening it in WebLogic Workshop and selecting the Start operation or by entering http://localhost:7001/WebServices/database/xmlBean/Items_XMLBeanClient.jws?.EXPLORE=.TEST in the address bar of your browser. If WebLogic Server is running in the appropriate domain on this machine and you have deployed the SamplesApp sample application, you may click here to run the sample.
  3. Navigate to the Test Form tab of Test View, if necessary.
  4. Invoking the web service methods calls corresponding methods on the database control.
  5. Select log entries in the Message Log to see the message traffic involved in each interaction.

Related Topics

Returning XMLBeans from a Database Control

CustomerDB_XMLBean Sample