What is Siebel EAI XSLT Service Business Service?
- Suppose sometime we have the data in XML file but we want to present it in different ways depending on its contents.
- Or we need to read data of a email template from a file and email needs to be with colors, tables and more HTML look.
- Or when our email data is coming from different BCs or calculations in a Business Service, or Property Sets, and we are not able to use Siebel Communication Templates for sending emails.
In nutshell, when we want to generate nicely formatted data in HTML which can dynamically changed based on a XML file, we can make use of XSLT Transformation.
Reader, please suggest if you know any other way we can make use of Siebel XSLT Transformations.
XSLT Transformation Implementation:
The inputs/outputs arguments to business service – EAI XSLT Service –
Inputs:
XML file having data or any property set containing the XML data
XSL file or any property set containing XSL data which decides the Style and Logic to format the XML data. XSL data acts as Style Sheets (just like CSS files).
Output:
It will be UTF-16 or String output. See the last screen shot, you can see the output in Watch Window.
Before designing the workflow for XSLT Conversion, if you want to learn XSLT conversions using XSL and XML to HTML, visit http://www.w3schools.com/xsl/
You can use the below XML and XSL data to test in Siebel –
XML:
<?xml version="1.0" encoding="UTF-16"?> <catalog> <cd><title>Empire Burlesque</title> <artist>fest</artist></cd> <cd1><title>Hide your heart</title><artist>Test </artist></cd1> </catalog>
XSL:
<?xml version="1.0" encoding="UTF-16"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html><body><h2>My CD Collection</h2><table border="1"><tr bgcolor="#9acd32"> <th>Title</th><th>Artist</th></tr><tr><td><xsl:value-of select="catalog/cd/title"/> </td><td><xsl:value-of select="catalog/cd/artist" /></td></tr></table></body> </html></xsl:template> </xsl:stylesheet>
NOTE: MAKE SURE TO PUT THE FULL XML/XSL MESSAGE IN WORKFLOW IN A SINLE LINE.
Key Checkpoints:
1. Below tag should always be there in XSL file –
<xsl:stylesheet version=”1.0″ xmlns:xsl=”http://www.w3.org/1999/XSL/Transform“>
2. Input XML and XSL data to EAI XSLT Service should be in UTF-16 format. If it is not, then make use of Transcode Service business service to convert UTF-8 data to String/UTF-16 data format.
Below are set of Screen Shots which will help creating a Workflow for XSLT transformation –
1.
2.
3.
4.
You can also test XSL and XML conversion to generate HTML output using below weblink –
http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&xsltfile=cdcatalog_ex2













The best information i have found exactly here. Keep going Thank you
Absolutly helpful.. Concept wouldn’t have been much clearer than this. Thanks.
Thanks for your feedback..do register to the blog using above Register field, keep blogging and reading!!!
Simple and Perfect Explanation
Leave your response!
Chat with Admin
Comment, Talk, Share
Applet Business Service Simulator Commandline Configuration Database Dedicated Client EAI EAI Queuing Emails Import Object Integration Objects Monitor Agent Oracle Products Outbound Communication Manager Outbound Web Services Screen Menu Icons Scripting Siebel Siebel Bookshelf Siebel Debugging Siebeldev.exe Siebel Download Siebel Integration Siebel Licence Keys Siebel Menus Siebel PPTs Siebel Screen Icons Siebel Session Siebel Setup Siebel Sif Siebel Slides Siebel Task UI Siebel Web Services SoapUI SR Broker S_ESCL_LOG S_ESCL_REQ S_ESCL_STATE Testing Web Services Tips and Tricks User Properties Workflow Workflow Action Agent Workflow Policies XSLT
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Archives
Friend Blogs
If you like the Site..want to Contribute to Site Support
Looking for Trainings
If you are looking for other types of training, check out the training-classes.com directory of workplace skills training seminars
Most Commented
Recent Comments