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

Configuring the Reader and Writer for XML and Flat File Sessions

Configuring the Reader and Writer for XML and Flat File Sessions

To create a web service session based on a mapping that contains XML or flat file sources and targets, set the reader or writer type to Web Services Provider reader or writer. To run a web service workflow with an XML or flat file reader, a client application sends a request to the Web Services Hub as a MIME attachment to the SOAP message. The Web Services Hub passes the SOAP message with the attachment to the Integration Service, which processes the attachment.
If the web service workflow is configured with an XML or flat file writer, the Integration Service generates a response and passes the response to the Web Services Hub. The Web Services Hub sends the response back to the web service client as a MIME attachment to a SOAP message.
Use the following rules and guidelines when you configure a request-response web service session with flat file or XML source or targets:
  • Set the message count to 1 in the reader properties.
  • Include one session in a workflow where you change the reader or writer type to Web Services Provider.
  • If you change the reader or writer type to Web Services Provider reader or writer in the session properties, you must create a client application using a toolkit that supports MIME attachments.

0 COMMENTS

We’d like to hear from you!