Friday, March 6, 2015

Siebel: Capture SOAP XML Payload (Dump) for Siebel Inbound Web Services

We can create and capture the SOAP XML Payload or dump files for the Siebel Inbound Web Services by setting the component parameter "enableserviceargtracing" to "true" for the EAI Object Manager.

This parameter can be set to "true" from the server manager by issuing the below command:

srvrmgr> change param enableserviceargtracing=true for comp eaiobjmgr_enu

The log levels for the EAI Object Manager have to be increased in order to generate the dmp files.

Setting the LogLevel = 3 will write the input arguments when an error occurs.
Setting the LogLevel = 4 will write both the input and output arguments to a file.

The Log level can be increased from the server manager by executing the below command:

srvrmgr> change evtloglvl %=4 for comp eaiobjmgr_enu

Once these 2 are set, Siebel will generate eaiobjmgr_enu_*.log and *.dmp sharing the same number making easy for us to correlate.

It creates different types of dmp files:




1.) *Transport*.dmp:  this is generated by the Transport layer.
2.) InboundDispatcher_input*.dmp: This contains the SOAP request for the Inbound Web Service.
3.) InboundDispatcher_output*.dmp: This contains the SOAP response for the Inbound Web Service.
4.) EAISiebelAdapter_input*.dmp: This contains the Integration Object instance that is sent as input to the EAI Siebel Adapter Business Service.
5.) EAISiebelAdapter_input*.dmp:This contains the Integration Object instance that is returned as output from the EAI Siebel Adapter Business Service.

Testing with Dedicated Client

To capture the dmp files, add the below entry in the client's .cfg file

[EAISubsys]
EnableServiceArgTracing = TRUE

Also, add the below environment variables in the machine and start Siebel Client or tolls to start generating the logs and dmp files too.

SIEBEL_LOG_EVENTS=ALL
SIEBEL_LOG_DIR=<directory of your choice>

123Siebel

Search 123Siebel