Table of Contents

Search

  1. Preface
  2. Web Service Concepts
  3. Understanding the Web Services Provider
  4. Using the Web Services Hub Console
  5. Batch Web Service Operations
  6. Writing Client Applications
  7. Working with Web Service Sources and Targets
  8. Editing Web Service Sources and Targets
  9. Working with Web Service Mappings
  10. Working with Web Service Workflows
  11. Appendix A: Web Service Sample Client Applications
  12. Appendix B: Configure the Web Browser

Web Services Provider Guide

Web Services Provider Guide

Generating Client Proxy Classes in .NET

Generating Client Proxy Classes in .NET

You can create client proxy classes for the Web Services Hub in C# using the Microsoft .NET Web Services Toolkit.
To generate client proxies in C#, complete the following steps:
  1. Download the Metadata web services and Data Integration web services WSDL files from the Web Services Hub Console. Verify that the WSDLs have the correct host name and port number for the Web Services Hub in the endpoint URL. If the endpoint URL is not correct, update the address element, which is available in the definitions\service\port hierarchy in the WSDL.
  2. Use the following command to generate the client proxy classes:
    wsdl <
    WSDLFile
    >
    For example, for WSDL files named Metadata.wsdl and DataIntegration.wsdl, run the following commands:
    wsdl Metadata.wsdl wsdl DataIntegration.wsdl
    The commands generate the following proxy classes:
    • MetadataService.cs.
      Contains the interface for the Metadata web services.
    • DataIntegrationService.cs.
      Contains the interface for the Data Integration web services.

0 COMMENTS

We’d like to hear from you!