How to create a VBC without Script - XML Gateway

This article is a continuation of the Impossible Solutions Poll Results post.

If you have been following this blog, it probably dosnt need any further introduction.

This solution has been contributed by Michael Feng, a respected colleague, who dosnt know the meaning of impossible and is an all round nice guy.

[ Michael's solution ]

Key Points:

  • Using XML Gateway Business Service to serve the VBC
  • Using Business Integration Manager (Server Request) as Transport Protocol
  • Create your own workflow to deal with the logic


  • VBC trigger XML Gateway: Init(), Query(), etc
    XML Gateway generates xml files corresponding to the command. Eg. It generates xml file

    <buscomp id="1">Contact</buscomp>

  • Matching Init() command
  • XML Gateway triggers Business Integration Manager to invoke SendReceive() method

  • Business Integration Manager sends the xml files generated by XML Gateway to Workflow

  • Workflow gets the xml file and passes it to external application like MQ Series, MSMQ, HTTP Web Application or processes it inside the Siebel

  • Workflow gets the result xml file from external application or Siebel Application and passes it back to Business Integration Manager (BIM)

  • BIM receives the result xml file and passes back to XML Gateway to populate the VBC

Points of configuration:

  • Create a BC of Class CSSBCVExtern

  • Configure the above BC with following user properties
    Service Name: XML Gateway
    Service Parameters: Transport=EAI Business Integration Manager (Server
    Request);ProcessName=<Name of WF>;

  • Create a process property as type of binary/string. Set the default to <Value>. It will hold the xml file generated by XML Gateway

  • Create a process property as type of binary and named <Value>. It will pass back to BIM and XML Gateway to populate the VBC

  • Analyse the xml file generated by XML Gateway to determine what action to be taken. (Query, Insert…)

  • Use XSLT to transform the result xml file to the format XML Gateway needs to populate the VBC

Sample Workflow Design

Workflow Process Properties

StepTypeMethodBusiness Service
SaveIncomingXMLBusiness ServiceSendEAI File Transport
Input ArgumentTypeValueProperty name
<Value>Process PropertyIncomingXML

StepTypeMethodBusiness Service
Analyse Incoming XMLBusiness ServiceEchoWorkflow Utilities
Output ArgumentTypeValueProperty name

StepTypeMethodBusiness Service
Is Init Request?Decision Point
Is InitCondition(CheckPoint Greater Than('0'))
Not InitDefault

StepTypeMethodBusiness Service
Get Init XML ResponseBusiness ServiceReceiveEAI File Transport
Input ArgumentTypeValueProperty name
Output ArgumentTypeValueArgument name
<Value>Output Argument<Value>

StepTypeMethodBusiness Service
Analyse Incoming Query XMLBusiness ServiceEchoWorkflow Utilities
Output ArgumentTypeValueProperty name
CheckPointExpressionInStr([&IncomingXML], "query-req")

StepTypeMethodBusiness Service
Is Query Request?Decision Point
Is QueryCondition(CheckPoint Greater Than('0'))
Not QueryDefault

StepTypeMethodBusiness Service
Get Query XML ResponseBusiness ServiceReceiveEAI File Transport
Input ArgumentTypeValueProperty name
Output ArgumentTypeValueArgument name
<Value>Output Argument<Value>


<?xml version="1.0" encoding="UTF-8" ?>
<value field="Title">Mr.</value>
<value field="First Name">Sara</value>
<value field="Last Name">Chan</value>


<?xml version="1.0" encoding="UTF-8"?>
<support field="Last Name"/>
<support field="First Name"/>
<support field="Title"/>

This solution provides a proof of concept for you to build upon, and therefore dosnt include the steps needed to send/recieve or transform your XMLs and there are more elegant ways of querying your XML for a string, but that is left for the reader to play with.

Working with Transports, XML and VBCs are probably one of the most difficult areas of Siebel to work with, but Michael has provided us with a nice foundation for any of us to take this further, and all without writing a line of code.


  1. Hi, is there any server configuration required for calling Business Integration Manager Service?
    Secondly can you explain what do you mean by XSLT to transform the result xml file to the format XML ?

  2. Not from memory, as long as you have a siebel server it will work. You need to use EAI XSLT Service to transform your XML to your desired format.

  3. Since BIM is involved Can we test this in local?

  4. hi, i have been working recently with a very challenging client request. the client wanted a view with 3 virtual applets which were to be populated with a single call to an external WS which would return a gerarchical propertyset. we've managed to achieve this by declaring a property set on the application and with a lot of customization. is there another way to achieve something similar?

  5. @Anon BIM can only be tested on the server.

  6. @beso Without knowing what your complexities are, its hard to offer specific advice.

    But generally you could reduce the complexity, by implementing an integration framework that abstracts all your integration routines and handles the caching of your integration calls.


Comments are open to all, please make it constructive.