Table of Contents

Search

  1. Preface
  2. Web Services
  3. SOAP Web Services
  4. WSDL Data Object
  5. Schema Object
  6. How to Create a SOAP Web Service
  7. Operation Mappings
  8. Parsing Web Service SOAP Messages
  9. Generating Web Service SOAP Messages
  10. Web Service Consumer Transformation
  11. REST Web Services
  12. How to Create a REST Web Service
  13. REST Web Service Consumer Transformation
  14. REST Web Service Consumer Transformation Use Cases
  15. REST and SOAP Web Service Administration
  16. Datatype Compatibility

Web Services Guide

Web Services Guide

Querying the Web Service

Querying the Web Service

You can query the web service by including a resource ID in the URL or by including a filter expression in the URL.
  1. In the Administrator tool, click the REST URL on the web service application
    General Properties
    panel.
    The Data Integration Service lists the resources in the web service.
    The following image shows the resource in the Orders_Web_Service:
    The image shows the web service URL in a web browser. The browser shows an Orders_Resource link.
  2. Click the
    Orders_Resource
    link.
    The web service returns all the output data from the resource mapping.
  3. To search for a specific customer, add the resource name and the resource ID to the end of the URL in the browser. The link is
    http://psrl817.informatica.com:8195/DataIntegrationService/RestService/Orders_Web_Service/Orders_Resource/10
    .
    The following image shows the results of a query that searches for customer number 10 in the Orders_Resource:
    The image shows the web service URL with Orders_Web_Service/Orders_Resource/10 appended to it.
  4. To search by customer name instead of by the key, include a filter condition in the URL instead of the resource ID:
    http://psrl817.informatica.com:8195/DataIntegrationService/RestService/Orders_Web_Service/Orders_Resource/?filterCondition=Customer_Name='Cust628'

0 COMMENTS

We’d like to hear from you!