You can also create a web service from the component diagram.
-
Click the Component tool in the palette and click in the diagram to create a component.
-
Click the Pointer tool or right-click to release the Component tool.
-
Double-click the component symbol to display the property sheet.
-
Select the Web Service check box in the General tab.
-
Click OK.