Adding a Web Reference to a Project
You have created a Web service and a Web method to return the documents in your MyDocuments folder. Now you need to use it within the personal portal. Visual Web Developer enables you to reference Web services you create and make available externally. You can add a Web service to your project by creating a Web reference.
To create a Web reference
Right-click the personal portal project in Solution Explorer. Select Add Web Reference.
The Add Web Reference dialog box displays. (See Figure 12-18.) There are three options to browse to: Web Services In This Solution, Web Services In This Local Machine, and Browse UDDI Servers On The Local Network.
Figure 12-18. Add Web Reference dialog box.
Click Web Services In The Solution ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access