AnsweredAssumed Answered

What is the difference between XOG client and XOG from GEL?

Question asked by Yaman_Yazgan on Jan 10, 2017
Latest reply on Jan 10, 2017 by Dave_3.0

Hi all,


I am trying to write a GEL script that fills a custom subobject of project. I have no problem with the GEL. It loops, generates Xog bodies and sends it. but the response is a little bit strange. You may see the generated xogbody that I have serialized from GEL. The response is also given below. 


The strange thing is; when I am getting the error below with GEL, everything works fine when I use this xog body with xog client without any change. What is the difference and how can XOG in this from GEL?




XOG Body


<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_customObjectInstance.xsd">
<Header action="write" externalSource="NIKU" objectType="customObjectInstance" version="8.0"/>
<customObjectInstances objectCode="z_project_document">
<instance instanceCode="" objectCode="z_project_document">
<ColumnValue name="code">PD-005018001-003</ColumnValue>
<ColumnValue name="name">PD-005018001-003</ColumnValue>
<ColumnValue name="odf_parent_id">5018001</ColumnValue>
<ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
<ColumnValue name="z_project_status">z_capacity_planning</ColumnValue>
<ColumnValue name="z_document_type">z_bus_req_doc</ColumnValue>





<?xml version="1.0" encoding="UTF-8"?>

-<soapenv:Envelope xmlns:xsi="" xmlns:soapenv="">

-<XOGOutput xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/status.xsd">

<Status state="FAILURE" elapsedTime="0.0 seconds"/>

<Statistics updatedRecords="0" totalNumberOfRecords="0" insertedRecords="0" failureRecords="0"/>


<Description>Exception while processing client request</Description>

<Exception type="com.niku.xog.XOGException">main node not found Users</Exception>