Loading
Home » Archive

Articles Archive for April 2009

Debugging Techniques, Scripting »

[27 Apr 2009 | Comments Off | ]

Right Click on My Computer
Goto Properties -> Advanced -> Environment Variables
Goto System Variables. Click New. Add below values
Variable Name : SIEBEL_LOG_EVENTS
Variable Value: can be (1,2,3,4,ALL). Highest value is “ALL”

Goto System Variables again. Click New. Add below values
Variable Name : SIEBEL_LOG_DIR
Variable Value: Directory where you wants logs like (c:LocalLogdir)

Configuration, Import Objects »

[27 Apr 2009 | Comments Off | ]

Import Objects are configured in Siebel for End Users for loading small quantity of data to any Siebel Entity. You can load data from flat files to Siebel using a simple Import Wizard. Below is a case study for the same.
Some check-points before starting the development –
1. Import Objects should only be defined on the BCs which are Primary BCs of the BO.
2. Import Objects will be active for a list applet only.
3. We cannot configure Imports for Child BCs in a BO.
4. “Import” menu item is present on …

Debugging Techniques, Scripting »

[24 Apr 2009 | 7 Comments | ]

How to do Browser Script Tracing in Siebel
For tracing the browser script, you can follow the below procedure –
1. In Application Browser script, create new script with MethodName “trace_log”.
function trace_log(as_text)
{
try
{
var MyWindow = window.open(”,’DEBUG’,’toolbar=no,location=no,’ + ‘directories=no,status=no,menubar=no,’ + ‘scrollbars=yes,resizable=yes,’ + ‘width=400,height=300,left=20,top=20′);
MyWindow.document.write(as_text + “<BR><BR>”);
}//try
catch(e)
{
alert(“an error occurred in log ” + e.message + “n” + e.toString());}//catch
finally
{
MyWindow = null; }//finally
}//endfunc
2. Application Browser Script declarations write –
top.log = trace_log.
3. Now you can call top.log(“text”) function from any Browser Script(Application, Applet, BusComp, Business Service) , it will write logs to a pop-up …

Debugging Techniques, Scripting »

[24 Apr 2009 | 5 Comments | ]

During the development or testing phase of Siebel Application we may encounter errors in Siebel Dedicated or Tools. So how do we find out the source of error or where to raise log levels to get detailed log file.
Siebel provides some debugging techniques , just follow the below links for details
• Enable Client Side Tracing Scripts
• Siebel Environment Variables
• Spooling
• Siebel Debugger – Break Points

EAI, Web Services »

[22 Apr 2009 | 29 Comments | ]

1. Create a new record and give the business service name as the name of Proxy Business Service: CurrencyConvertorSoap, pick its method.
2. In the middle Input applet, click Load From File button to browse the Inputs file [WebService-Inputs.xml] which we created in the above process. This will load input Siebel message. Navigate inside the mvg at Child Type and give the From and To Currency names like USD and INR
Inputs – From and To Conversion Currencies.jpg
IMPORTANT:
Now you need to modify this message a bit, Click the Child Type mvg …

EAI, Web Services »

[22 Apr 2009 | 12 Comments | ]

It’s tough, but will do it simply…
Invoking Outbound Web Service
You can invoke the proxy Business Service from anywhere in application, and that will in turn call the Outbound Web Service and bring the response in the Siebel Message based on the Output Integration Object : ConversionRateResponse
1. Lets Create Request Message which is needed to Invoke the Web Service.
Navigate to Business Service Simulator, Create a new record in the top list applet and give the business service as: PRM ANI Utility Service and method as CreateEmptyPropSet.
Or Alternatively: Import this file using …

EAI, Web Services »

[22 Apr 2009 | 6 Comments | ]
How to design Siebel Outbound Web Services

It’s complicated, but lets simplify it …..
We need to configure Outbound Web Services in Siebel for invoking any third party Web Service and get data in the form of response message, on passing the required inputs to the external Web Service.
Requirement:
Siebel needs to get the latest Currency Conversion Rates, example INR vs USD.
Solution:
We will use a third party Web Service to do this conversion and get the converted currency rate in Siebel.
WSDL: http://www.webservicex.net/CurrencyConvertor.asmx?wsdl

Implementation: Its simple, just follow the below steps in order….
1. Import the given WSDL file …

EAI, Web Services »

[21 Apr 2009 | Comments Off | ]

This blog will keep focus on Siebel Web Services development. With the complex Siebel UI, people prefer to use Siebel as backend, and expose the Siebel functionalty using Web Services. Web Services are easy to configure but hard to test. Thats the challage one has to face after development. Siebel provides wizards for Web Service creation.
First lets simplify the confusion of Outbound and Inbound Web Services. So, lets see what it looks if we see from Siebel end. If Siebel invokes some third party application to query data or update/insert …