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

Types of Web Service Mappings

Types of Web Service Mappings

You can create a mapping to receive a message from a web service client, transform the data, and send the response back to the web service client or write it to any target PowerCenter supports. Based on the source and target definitions, the Integration Service can receive and send an attachment as part of the SOAP request.
You can also create a mapping with flat file or XML sources and targets and use it in a web service workflow. This allows you to receive message data through a SOAP call by attachment instead of by reading it from a file.
The mapping you create depends on the type of web service that you want to run:
  • Request-response web service.
    A request-response web service receives an incoming request from the web service client, transforms the data, and sends the response back to the web service client. A request-response web service uses both a web service source and a web service target.
    You can create one mapping or multiple mappings to process a request-response web service:
    • One mapping.
      Create one mapping that contains both the web service source and web service target definitions. The Integration Service receives an incoming request, transform the data, and send the response back in a single session.
    • Multiple mappings.
      Create multiple mappings to stage data before sending a response back to the web service client. You can create a workflow that contains a session for each mapping.
  • One-way web service.
    If you receive updates and notifications from a web service client, but do not need to send back a response, you can create a one-way mapping. A one-way mapping uses a web service client for the source. The Integration Service loads data to a target, often triggered by a real-time event through a web service request.
The web service source and target definitions you include in the mapping depend on the type of mapping you create.
The following table describes the web service source and target definitions you use based on the mapping type:
Mapping Type
Web Service Source
Web Service Target
Request-Response
Must have one instance of a web service source definition.
Must have one instance of a web service target definition.
Can have multiple fault views in the target definition.
One-way
Must have one instance of a web service source definition.
Contains no web service target definition.

0 COMMENTS

We’d like to hear from you!