SiebelGuide.com/siebelblogs

Siebel Blogs, News, Events, Tips and Tricks
Filed under Tips&Tricks, All, Configuration

The purpose of this blog is to describe the use of Transcode Business service and how to use it while working with Siebel Workflow process.

I was developing a Siebel workflow process and as usual I was developing on my local. The purpose of my Siebel workflow process was get an XML message as a string data and log the incoming XML into a table and then process the XML to insert an Opportunity using Siebel EAI Adapter. Below is what the workflow process looked like.

I tested this on my local client using Siebel Tools and it worked perfectly fine. But when I checked in and started to test using the Siebel Business Service Simulator it started to behave strangely. The XML input message to the workflow was being logged into the table but the step XML to PropSet (EAI XML Converter) did not like the input message. The input <value> was assigned to a property set which had the data type set as String. And was throwing errors like

Fatal Error in XML Parser at line 1, column 2: Expected an element name
XML conversion error, creating a dump file containing source XML document

After much research I realized that the EAI XML Converter didn’t like the string and expected an input in Binary encoded format. But if I change the input property set to binary it wouldn’t log the input XML into the table as that expected in String format. So I needed something that could convert the data into one way or the other. This is where Transcode Business Service came into picture. So I introduced a Business service “Transcode Service” with method “Convert “ as another step in the Workflow process just before the XML Converter and final workflow process looked like in the below snapshot.



The input arguments for Transcode Business Service were <value>, ConversionMode and TargetEncoding. The method used was “Convert”. These were set as in the snapshot below

This Transcode business service converted the input argument IncomingXML from String to UTF-8 binary coded format for the use of EAI XML Converter.

Hope this blog helps out people who are performing similar steps and using EAI XML Converter. Leave a comment.

Related posts(Auto Generated):

  1. How to Test Siebel Workflows?
  2. How to Pass XML Message embeded in another XML
  3. eScripting Best Practices - Part1
  4. Invoke Workflow Using Runtime Event in Siebel
  5. Unlock a Project

Posted by Sridhar on Tuesday, August 12th, 2008


Page copy protected against web site content infringement by Copyscape
You can follow any responses to this entry through the magic of "RSS 2.0" and leave a trackback from your own site.

18 Responses to “Use of Transcode Business Service in Siebel”

Post A Comment

Recent Posts 

Recent Comments:

  • Gloria: Thank you for sharing your knowledge!
  • Sridhar: Hi Satya, Please share your documents using “Participate” link on the right hand side. Many thanks...
  • satya vardhan: hi ramya this is vardhan i am in obiee developer i am not undrstanding ur query can u repeat once again...
  • satya vardhan: hi sri obiee this is reporting tool if u want more details send me ur mailid. i can forword some documents...
  • Ramya: Hi, Can u pls tell me how to get the difference between two date fields by ignoring weekends (i.e satday, sunday if...