You can preview the code of a Web service component by clicking the Preview tab in the component property sheet. It allows you to preview the code of the following items:
Web Service class and interfaces (for Java)
.ASMX file (for .NET)
Note:
You can display some of the tabs of a component property sheet by right-clicking the component symbol in the diagram and selecting the appropriate tab from the contextual menu.