Default language.

Creating the web service


  1. Open, and in AR System Navigator, double-click the Forms object to display a list of forms on a tab.
  2. In the Forms tab, right-click the Purchase Order form (see the scenario in Example-of-publishing-a-simple-flat-document).
  3. Select Create Web Service.
     The web service appears in a new tab. automatically fills in the Form Name field.
  4. In the Label field, enter Purchase Order Web Service.
  5. In the Description field, enter Web service to create and get a purchase order.
  6. In the XML Schema field, enter a path or browse to PurchaseOrder.xsd, which you created at the beginning of this section.
  7. Click Reload.
  8. In the WSDL Ports > Port > WSDL Operations panel, perform the following actions:
    1. Right-click the Set Operation panel, and click Remove.
    2. Right-click the Service Operation panel, and click Remove.
    3. Right-click the Get Operation panel for the operation called GetList, and click Remove.
  9. Click Create Operation.
  10. In the Name field for the Create Operation, replace Create with CreatePurchaseOrder.
  11. Click Get Operation.
  12. In the Name field for the Get Operation, replace Get with GetPurchaseOrder.
  13. Select File > Save, and name your web service Purchase Order Web Service.

    web_services_examples_po_webserv.gif

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*