on 01-27-2013 3:25 PM
Hi all,
I have a sync Proxy-> SOAP scenario on our PI 7.0 which needs to be logged. I know about the parameter LOGGING_SYNC, but I would like to log only this particular scenario.
In the SAP documentation, it mentions that we can enable logging by adding a header node:
http://help.sap.com/saphelp_nw04/helpdata/en/d6/49543b1e49bc1fe10000000a114084/frameset.htm
Activates logging explicitly.
Deactivates logging explicitly.
But I can't see how I can add this to the SOAP header in my proxy code. I've also checked this blog and the interface methods and there's no add field method to use. And I can't think of any other way to add it, kindly let me know if there is.
Is there any way to achieve selective logging for a particular sync interface?
Thank you for your input.
Kind Regards,
S. Gökhan Topçu
Hello Gokhan,
Maybe you could setting the Log Level in LPCONFIG would help e.g from Errors Only to Full Log. I have also searched the IF_WSPROTOCOL_XI_HEADER, but could only find the GET_HEADER_FIELD method. Aside from that, calling your proxy using LPCONFIG would require you to adjust your code.
There is a sample code provided by William in this blog
http://scn.sap.com/docs/DOC-3797
Regards,,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Thanks for your reply. Creating a logical port and settings its log level seems promising, but I couldn't get it to work. If I choose type "Exchange Infrastructure" for the port, there're no logging settings since it uses the config in SXMB_ADM. And when I choose "Web Service Infrastructure", set the PI integration engine pipeline URL as the endpoint URL, and set logging to full, I get a CX_AI_SYSTEM_EXCEPTION with message PART UNKNOWN (NULL). I'm not sure how I can get this to work.
Regarding William's document, I have to use XI-HTTP adapters for my scenario and it's intended for newer systems with WS adapter. I'm stuck on PI 7.0 and SAP NW 7.0 SP14.
Kindly let me know if you have an idea about how to get the LPCONFIG configuration to work, many thanks.
Regards,
Gökhan
Hello,
Maybe this document can help
You can try using an HTTP Destination (G) and point that to your XI SOAP Sender e.g
http://host:port/XISOAPAdapter/MessageServlet?channel=p:s:c
the newer one is /MessageServlet?ximessage=true sends the message to the Adapter Engine, but this is not applicable in your case.
Hope this helps,
Mark
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.