POVerify.java Sample

This topic inludes the source code for the POVerify.java Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebServices/localControls/tags/

Sample Source Code


01 package localControls.tags; 
02 
03 import com.bea.control.Control;
04 
05 /**
06  * This is the public interface for the POVerify control.
07  * The control's logic is implemented in POVerifyImpl.
08  */
09 public interface POVerify extends Control
10 
11     /**
12      * As with web services built with WebLogic Workshop, a control method exposed to clients is annotated with a common:operation tag. The addPurchaseOrder method does most of the work in this control. It is the only method exposed to clients.
13      * @common:operation
14      */
15     boolean addPurchaseOrder(java.lang.String poNumberString, int customerID, int itemNumber, int quantity);
16