on 02-25-2017 5:51 AM
I was wondering if one of the HCI experts could tell me if there is a way to trace and show the payload of iFlow messages via the Web UI?
I know you can do this in Eclipse, but it would be nice to be able to do it via the Web UI too.
Thanks,
Simon
Hello Simon,
Trace option is not ye available in WEBUI.As an alternative you can use below script to log the payload as attachment wherever you want like before map or after map.
import com.sap.gateway.ip.core.customdev.util.Message;
import java.util.HashMap;
def Message processData(Message message) {
def body = message.getBody(java.lang.String) as String;
def messageLog = messageLogFactory.getMessageLog(message);
if(messageLog != null)
{
messageLog.addAttachmentAsString("PayloadBeforeMap, body, "text/xml");
}
return message;
}
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.