How to: Conform Web Service Endpoints to WSDL Files

You can conform a Web service provider endpoint to a Web Services Description Language (WSDL) file. This action defines or updates an existing Web service endpoint with operations and referenced types described by the WSDL file. To create a new Web service endpoint from a WSDL file, see How to: Add Endpoints to Applications, How to: Add Endpoints to Application Systems, and How to: Add Endpoints to Members of Application Systems.

Note

Conforming an implemented endpoint might affect code by adding new operation signatures and changing existing operation signatures and type names. Though no method body code will be changed, these changes might cause method body code to no longer compile. Therefore, review your code and identify changes that might be required to fix any compiler errors.

For more information, see the following topics:

To conform a Web service endpoint to a WSDL file

  1. In Application Designer or System Designer, click a Web service endpoint.

  2. On the Diagram menu, point to Implementation, and click Conform to WSDL.

    Tip

    You can also right-click the endpoint and then click Conform to WSDL.

    The Add Web Reference dialog box appears.

  3. In the URL box, enter the WSDL file location and click Go.

    The Web service description appears.

  4. Review this description and click Add Reference.

    Operations from the WSDL file appear in the Web Service Details window. The following endpoint properties might also be updated in the Properties window:

    • Name

    • Class Name

    • WSDL Binding Name

    • WSDL Binding Namespace

    • WSDL Service Description

    • WSDL Service Name

  5. If the endpoint is already implemented, review the Web service class file and type definition files for changes.

    Note

    Nested types within datasets are not conformed.

If a Web service class implements multiple operations that match an operation described in the WSDL file, the following message appears:

Endpoint <endpoint name> has two or more operations with the same message name.

For more information, see Endpoint <endpoint name> has two or more operations with the same message name.

Security

Performing this task modifies operation signatures and adds code files for custom types referenced by those signatures. Use caution when performing this task and review the WSDL file and conformed implementation code to make sure it does not contain unfamiliar code.

See Also

Concepts

Overview of Endpoints on Applications