AnsweredAssumed Answered

XOG - Custom Task Data

Question asked by Andrew_Campbell on Sep 26, 2013
Latest reply on Sep 26, 2013 by another_martink
Hi All,

Im trying to XOG out Task Custom Data however I get a timeout error when using the below arguments. If I just use custom it only brings back the custom project information, and just tasks only the Task info not the custom component of the tasks.

<args name="include_tasks" value="true"/>
<args name="include_custom" value="true"/>

I am sending a SOAP request through our Enterprise software and when the request is set as below it works fine. However including custom I get timeouts, but if I run it through https://<servername>/niku/nu#action:xog.client (albeit without the additional SOAP envelope information) it works fine.

So my question is, is there a way to just pull out custom Task data or does someone have a similar example that has worked for them?


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"



xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"



xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Header><Auth xmlns="http://www.niku.com/xog/Object">



<SessionID>{&SESSIONID}</SessionID>


</Auth></soap:Header>

<soap:Body>


<ReadProject xmlns="http://www.niku.com/xog/Object">


<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/xog_read.xsd" xmlns="">






<Header version="7.5" action="read" objectType="project" externalSource="NIKU">


<args name="include_tasks" value="true"/>


<args name="include_resources" value="true"/>
<args name="include_custom" value="false"/>


<args name="include_dependencies" value="false"/>
<args name="include_baselines" value="false"/>
<args name="include_allocations" value="true"/>
<args name="include_actuals" value="false"/>
<args name="include_estimates" value="false"/>



</Header>
<Query>
<Filter name="projectID" criteria="EQUALS">{&RESOURCEID}</Filter>







</Query>





</NikuDataBus>




</ReadProject>



</soap:Body>
</soap:Envelope>

Outcomes