Chapter 12 Working with Web Services


Creating a Web operation

A Web operation is a child object of a Web service. It can only be created from a Web service in the Browser or from a Web service property sheet.

You cannot create a Web operation from the List of Web Operations in the Model menu.

WARNING! 

Caution
Check that your PDM is targeted with Sybase AS Anywhere 9 or IBM DB2 UDB 8.x Common Server.
Some properties are specific to the target DBMS.

The following procedure is set with IBM DB2, but it also applies to ASA 9.

Steps To create a Web operation from the Browser:

  1. Right-click a Web service in the Browser and select New→Web Operation in the contextual menu.

    The Web operation property sheet appears.
  2. Type a name and a code for the Web operation.
  3. <Only with IBM DB2> Select a type for the Web operation in the Operation Type dropdown listbox.
  4. Click the Implementation tab to display the Implementation page.
  5. Type a SQL statement for the Web operation. You can use the tools from the Insert Script toolbar.
  6. Click OK.

    The new Web operation appears in the Browser under the selected Web service.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.