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

Importing a Web Service Source or Target Definition from a WSDL

Importing a Web Service Source or Target Definition from a WSDL

Follow the same steps to import a web service source or target definition from a WSDL. Since the source and target definitions represent different elements in the WSDL, the source definition created by the Designer differs from the target definition.
You can import a web service source or target from a WSDL that you can access locally or through a URL. You can import definitions from a WSDL with RPC/SOAP Encoded or Document/Literal encoding style.
When the Designer imports a web service target definition, it names the definition based on the operation and the target type, such as output or target. If you rename the definition after the import, you can verify the target type on the Metadata Extensions tab.
To import a web service source or target definition from a WSDL:
  1. To import a source definition, in the Source Analyzer, click Sources > Web Service Provider > Import From WSDL. To import a target definition, in the Target Designer, click Targets > Web Service Provider > Import From WSDL.
  2. Click Advanced Options.
    The XML Views Creation and Naming Options window appears.
  3. Specify the default length for fields with undefined lengths and select how to generate the names of the XML columns.
  4. Choose to import from a local file or a URL.
    If you import from a URL, type a URL or select a URL from the Address list and click Open.
    If you import from a local file, select a WSDL file in a local folder and click Open.
  5. Select the operation defined in the WSDL for which you want to create the source or target definition.
    If you import from a WSDL that contains errors, the Web Services Wizard (Step 1) window cannot correctly display the list of services, bindings, ports, or operations defined in the WSDL. The window displays an empty or partial WSDL definition tree. For example, if the WSDL contains an error in a type definition, the window displays an empty WSDL definition tree.
  6. Click Next.
    The Web Services Definition Creation Options dialog box appears.
  7. Select the import mode.
    The import mode determines the type of XML views to generate. You can generate XML views as entity relationships or as hierarchical relationships. The default import mode is entity relationship.
  8. To create a source or target definition without any views or ports defined, select Do not generate XML views.
    If you do not generate the XML views, the Designer creates an empty source or target definition. The source or target definition contains no views or ports. You must use the WSDL workspace to manually add the views and ports for the source or target definition.
  9. Select whether to add message and header ports to the source or target definition.
    For more information, see Message ID.
  10. To generate source and target definitions in the same import process, select both the Create Source and Create Target options.
    The Designer creates the source and target definitions based on the selected options.
  11. Click Finish.
    The web service source or target definition appears in the workspace.

0 COMMENTS

We’d like to hear from you!