AnsweredAssumed Answered

need get xog result of my process to LOG

Question asked by Peter_B. on Apr 9, 2013
Latest reply on Aug 14, 2013 by Owen_R
Hi,

I need to get xog result which is created by process to log file. I'm currently getting it into the log but now whole xog. I'm no t sure if it's because of some limitation of maximum size of xog which can be add into log or i'm missing something?

In the end of process i'm using this:

<core:if test="${noProjectsToBeProcessed eq false}">
<soap:invoke endpoint="${ClarityServerUrl}/niku/xog" var="XOGResult">
<soap:message>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xog="http://www.niku.com/xog">
<soapenv:Body>
<xog:Login xmlns:xog="http://www.niku.com/xog">
<xog:Username>${XOGusername}</xog:Username>
<xog:Password>${XOGpassword}</xog:Password>
</xog:Login>
<gel:include select="$xogRoot"/>
</soapenv:Body>
</soapenv:Envelope>
</soap:message>
</soap:invoke>

<!-- Logs -->
<core:if test="${ShowMessages eq 'Yes'}">
<!-- Log XOG message -->
<gel:log>
<gel:expr select="$xogRoot"/>
</gel:log>
<!-- Log XOG response -->
<gel:log>
<gel:expr select="$XOGResult"/>
</gel:log>
</core:if>
</core:if>


Many thanks for any hints,
Peter

Outcomes