Dela via


How to: Refresh Web References to Web Services on Application Diagrams

In Application Designer, you can refresh a Web service reference for an implemented Web service consumer endpoint on an implemented Web service consumer application, for example, Windows, Office, or ASP.NET applications. Refreshing a Web reference updates it from the Web service URL location specified by the WSDL Location property on the consumer endpoint.

Note

When you update a Web reference from a Web service consumer endpoint, only that Web reference is updated. You can update all Web references associated with an external Web service or BizTalk Web service by refreshing that Web service, if the Web service definition has changed. For more information, see How to: Refresh External and BizTalk Web Services on Application Diagrams.

For more information, see Considerations for Refreshing Web References on Application Diagrams.

To refresh a Web reference to a Web service

  1. On the application diagram, select an implemented Web service consumer endpoint.

  2. On the Diagram menu, choose Refresh Web Service Reference.

    Tip

    You can also right-click the Web service consumer endpoint and choose Refresh Web Service Reference.

    Application Designer updates the Web reference from the Web service URL location specified by the WSDL Location property.

You can also refresh a Web reference from the project in Solution Explorer by right-clicking the Web reference in the Web References folder and choosing Update Web Reference.

See Also

Tasks

How to: Locate WSDL Files for Web Services

Other Resources

Defining ASP.NET Applications on Application Diagrams

Referencing Class Libraries from Applications on Application Diagrams

Refreshing Web Services and Web References on Application Diagrams