on 04-26-2007 6:04 PM
Hello All,
As per the documentation it is possible to turn on logging for synchronous calls even though logging_synch is set to 0 in sxmb_adm. Did any one had luck in doing this???
http://help.sap.com/saphelp_nw04/helpdata/en/d6/49543b1e49bc1fe10000000a114084/frameset.htm
+ Set logging in the message header. This means that this message is logged even if logging is deactivated explicitly in the configuration. The logging information is part of the message header:
¡ <SAP:Logging>1</SAP:Logging>
Activates logging explicitly.
¡ <SAP:Logging>0</SAP:Logging>
Deactivates logging explicitly.+
Thanks,
Naveen
Hi,
don't know if this is what you mean but one of the ways:
/people/michal.krawczyk2/blog/2007/04/30/xipi-personalized-logging-tracing
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Michal,
We did try error analysis. But setting logging for a user doesn't seem to work as for synchronous soap calls. adapter engine connects to the server using XIAFUSER. So unfortunelty setting logging for this user is like setting logging_sych in sxmb_adm.
In your case since you were using the test HTMl page, which was directly posting to the integration engine, having ur id in error analysis worked.
Cheers,
Naveen
Gentlemen,
I figured out a way to do logging. The documentation was correct, we need to insert <SAP:Logging> directly into the message header. Following is the correct format of specifying the soap header.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<b> <soapenv:Header>
<sap:Diagnostic soapenv:mustUnderstand="1"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:sap="http://sap.com/xi/XI/Message/30"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<sap:TraceLevel>Fatal</sap:TraceLevel>
<sap:Logging>On</sap:Logging>
</sap:Diagnostic>
</soapenv:Header></b>
<soapenv:Body>
...........................................................
</soapenv:Body>
</soapenv:Envelope>
Cheers,
Naveen
Hi - Naveens post on the solution is quite old (2007) and I was wondering if anything has happened/changed later? We are running PI 7.11 and are now facing the issue that we would like to be able to turn on logging for synchronous soap interfaces in some situatons. Will we still have to set it in the soap header? Will we have to ask our external partners to set this when calling our service or could we do it ourselves during the flow?
Also is there a way to monitor syncronous soap messages when using integrated scenario in AAE??
Hi Naveen,
Do let us know if you find the answer to your own question.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.