Posts

Configure REST web service consumer transformation to send and receive data in XML format

Image
Configure REST web service consumer transformation: XML  In this example, Google Maps API has been used to demonstrate REST web service consumer functionality via Http GET method. Google Maps Directions REST API: The Google Maps Directions API is a service that calculates directions between locations. The user can search for directions for several modes of transportation, including transit, driving, walking, or cycling. Below call, will provide the steps of driving mode.  It provides output in  XML format.  https://maps.googleapis.com/maps/api/directions/ xml ?origin=Informatica+Bagmane+Tech+Park&destination=Bangalore+airport Output: The below screenshot shows the REST XML API, giving the response in XML format when accessed via a browser. REST web service consumer transformation: The steps to configure a REST web service consumer transformation in Developer tool to send and receive data in XML format using Http Get method are as ...