Siebel EAI > Saving incoming and outgoing XML files
Enable and Disable XML logging We might need to get the actual XML files that are received and sent by Siebel. EAI object manager logs do not contain these. Even if we set the Event Log level of all events in EAI to 5, we still would not get any XML files.
By default, Siebel does not store these files. We have to enable storing these files. We can do this both by using Siebel Thick Client or the Siebel Server. Siebel Thick client will save these files only when it is running, while the server will store all XML files as long as saving XML files are enabled.
First go to siebsvr folder e.g /path_to_siebelserver_where_eai_is_enabled/siebel/8.1/siebsrvr Type . ./siebenv.sh Go to the bin folder i.e. e.g. /path_to_siebelserver_where_eai_is_enabled/siebel/8.1/siebsrvr/bin And then start srvrmgr ./srvrmgr -g i.p.:2320 -u userid -p password -e enterprise_server
note that port 2320 is the default siebel server port. This may be different if you have changed the installation.
- Set the parameter change param enableserviceargtracing=true for comp EAIObjMgr_enu server SRVRNAME - to check whether it has been set list advanced param enableserviceargtracing for comp EAIObjMgr_enu server SRVRNAME
- to increase the appropriate log level change evtloglvl WebSvcPerf=5 for comp EAIObjMgr_enu server SRVRNAME change evtloglvl WebSvcOutboundArgTrc=5 for comp EAIObjMgr_enu server SRVRNAME change evtloglvl WebSvcOutbound=5 for comp EAIObjMgr_enu server SRVRNAME change evtloglvl WebSvcLoad=5 for comp EAIObjMgr_enu server SRVRNAME change evtloglvl WebSvcInboundArgTrc=5 for comp EAIObjMgr_enu server SRVRNAME change evtloglvl WebSvcInbound=5 for comp EAIObjMgr_enu server SRVRNAME change evtloglvl WebSvcDesign=5 for comp EAIObjMgr_enu server SRVRNAME
You might want to do this for each server that has EAI enabled. The XML files will be saved as .dmp files in the siebsrvr/log folder
With Thick Client
For the dedicated client, add the following entries to your client's .cfg file: [EAISubsys] EnableServiceArgTracing = TRUE Then start your Siebel Client or Siebel Tools client with the environment variables SIEBEL_LOG_EVENTS=ALL and SIEBEL_LOG_DIR=<folder>.
You can right click on the shortcut to Siebel dedicated client and find out the path to the .cfg file.
Outbound Requests
The method described above will save all incoming XML files and Siebel's response to EAI requests. Siebel usually sends out an XML file that says that everything was OK and this is the answer to the incoming query/update.
If there are outbound XML services from Siebel to other Applications, we need to save outbound XML files differently. e.g. for component eComms_enu and Server ENT_SRVR_NAME, the commands will be like this from Server Manager
change param enableserviceargtracing=true for comp eComms_enu server ENT_SRVR_NAME
change evtloglvl EAIDispatch=4 for comp eComms_enu change evtloglvl WebSvc%=4 for comp eComms_enu change evtloglvl EAISiebAdpt=4 for comp eComms_enu
|