Creating the web service
- OpenDeveloper Studio, and in AR System Navigator, double-click the Forms object to display a list of forms on a tab.
- In the Forms tab, right-click the Purchase Order form (see the scenario in Example-of-publishing-a-simple-flat-document).
- Select Create Web Service.
The web service appears in a new tab. Action Request Systemautomatically fills in the Form Name field. - In the Label field, enter Purchase Order Web Service.
- In the Description field, enter Web service to create and get a purchase order.
- In the XML Schema field, enter a path or browse to PurchaseOrder.xsd, which you created at the beginning of this section.
- Click Reload.
- In the WSDL Ports > Port > WSDL Operations panel, perform the following actions:
- Right-click the Set Operation panel, and click Remove.
- Right-click the Service Operation panel, and click Remove.
- Right-click the Get Operation panel for the operation called GetList, and click Remove.
- Click Create Operation.
- In the Name field for the Create Operation, replace Create with CreatePurchaseOrder.
- Click Get Operation.
- In the Name field for the Get Operation, replace Get with GetPurchaseOrder.
- Select File > Save, and name your web service Purchase Order Web Service.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*