CloudStreams 10.5 | webMethods CloudStreams | webMethods CloudStreams Development | CloudStreams Governance Project | Virtual Services (REST) | Transform Step (Outbound, REST Virtual Service)
 
Transform Step (Outbound, REST Virtual Service)
Add this step if you need to invoke an XSLT transformation file to transform the native service's response messages into the format required by the consumer applications, before CloudStreams returns the responses to the consumer applications. For more information about when to use the Transform step, see Transform Step (REST Virtual Service).
To add the Transform step (outbound):
1. Click the virtual service name in the CloudStreams Governance view.
2. Right-click Out Sequence and click Transform.
The Transform step is added under the Out Sequence step. You cannot change the order of the steps.
3. Click Transform and complete the following fields in the Properties view.
Name
You can optionally change the step name to any other name. There are no naming convention restrictions.
XSLT Service
The XSLT file to transform the response message before it is returned to the consuming application. Click Browse to select a file from your file system and click Save.
The XSL file uploaded by the user should not contain the XML declaration in it (xml version="1.0" encoding="UTF-8"). This is because when the virtual service is deployed to CloudStreams, CloudStreams embeds the XSL file in the virtual service definition (VSD), and since the VSD itself is in XML format, there cannot be an XML declaration line in the middle of it. This can lead to unexpected deployment issues which can be avoided by making sure the XSL file does not contain the declaration line.
Note:
If you make changes to the XSLT file in the future, you must re-deploy the virtual service.
Related Topics
New Virtual Service Wizard (REST)
REST Resources Wizard
General Properties (REST Virtual Service)
Advanced Properties View (REST Virtual Service)
Entry Step (REST Virtual Service)
Transform Step (REST Virtual Service)
Invoke IS Service Step (Inbound, REST Virtual Service)
Routing Rule Step (Straight Through Routing, REST Virtual Service)
Routing Rule Step (Context-Based Routing, REST Virtual Service)
Routing Rule Step (Content-Based Routing, REST Virtual Service)
Routing Rule Step (Load Balancing Routing, REST Virtual Service)
Transform Step (Outbound, REST Virtual Service)
Invoke IS Service Step (Outbound, REST Virtual Service)
Error Messaging Step (REST Virtual Service)