How to: Update a Project Web Reference

Note

This topic pertains to a legacy technology. XML Web services and XML Web service clients should now be created using Windows Communication Foundation.

If your application contains a Web reference to an XML Web service that has been recently modified on the server, you might need to update the reference in your project. For example, you might need to update a Web reference when new methods are added to an existing XML Web service. In that case, you need to generate a new proxy for the Web service so you can access the new method; this happens automatically when you update the Web reference.

To update a project Web reference

  1. In Solution Explorer, open your project's App_WebReferences folder and click the node for the Web reference you want to update.

  2. Right-click the reference and click Update Web Reference.

    The new files for the XML Web service are downloaded to your project. Information for the XML Web service is updated within your project.

See Also

Tasks

How to: Rename a Project Web Reference

How to: Add and Remove Web References

Concepts

ASP.NET Authorization

Web Pages and Projects

Web Servers in Visual Web Developer

Using Visual Web Developer as a Non-Administrative User

Reference

Add Web Reference Dialog Box

Other Resources

Referencing Namespaces and Components