ShowTable of Contents
The XML data retrieved from a back-end server is frequently not in the format needed by your WEF application. Sometimes the structure of the data needs to be changed; sometimes the data itself needs to be changed. This sample shows how to use transform builders to change both the structure and the values of the XML data.
Introduction
To run this sample in Web Experience Factory Designer, you will need to
download the attached project ZIP file
, and import it into a WEF project. Once imported, the project should look like this:
Project Explorer
The project has both a provider model and a consumer model. This is a best practice for WEF projects that access data from a back-end server. The provider model contains all of the builders associated with accessing the back-end data, including a Service Definition builder that exposes the service to the consumer model. The consumer model contains all of the builders associated with the user interface, including a Service Consumer builder that is associated with the service from the provider model. The builders we're interested in for this sample are in the provider model.
REST Service Call builder
Web Experience Factory Forum feed
REST Service Call builder results before transforming
Transform builders
split creation date into date and time and revise author values
chaining
Transform Map
Transform Modify
Service Operation - Action to Call
REST Service Call builder results after transforming