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 Axis

Generating Client Proxy Classes in Axis

You can generate client proxy classes in Java using the Axis Web Services Toolkit. To use the toolkit, include the axis.jar file in the CLASSPATH environment variable.
To generate client proxy classes in Java, 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:
    java org.apache.axis.wsdl.WSDL2Java --NStoPkg http://www.informatica.com/wsh=ProxyClasses -W <
    WSDLFile
    >
    The -W option turns off support for wrapped document literal services.
    For example, for WSDL files named Metadata.wsdl and DataIntegration.wsdl, run the following commands:
    java org.apache.axis.wsdl.WSDL2Java --NStoPkg http://www.informatica.com/wsh=ProxyClasses -W Metadata.wsdl java org.apache.axis.wsdl.WSDL2Java --NStoPkg http://www.informatica.com/wsh=ProxyClasses -W DataIntegration.wsdl
    These commands generate the client proxy classes in the ProxyClasses package. The commands generate the following proxy classes:
    • MetadataInterface.java.
      Contains the interface for the Metadata web services.
    • DataIntegrationInterface.java.
      Contains the interface for the Data Integration web services.

0 COMMENTS

We’d like to hear from you!