AnsweredAssumed Answered

Deprecation message in xog output

Question asked by msnizek on Dec 1, 2014
Latest reply on Dec 5, 2014 by msnizek

Hello,

 

we have got a problem, when we try to xog in new custom object instance we get following message with warning. I tried to find some advice here but I found nothing usefull

 

<WriteCustomObjectInstanceResponse xmlns = "http://www.niku.com/xog/Object" xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">    

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

                                               <Object type = "customObjectInstance"/>      

                                               <Status elapsedTime = "0.32 seconds" state = "SUCCESS"/>      

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

                                               <Records/>      

                                               <DeprecationInformation>        

                                                               <Severity>WARNING</Severity>        

                                                               <Description>DEPRECATION MESSAGE</Description>        

                                                               <Exception type = "java.lang.Exception">The action and objectType attributes in the Header have been deprecated, and the listed value of 'customobjectinstance' conflicts with the requested objectType 'customObjectInstance'.</Exception>      

                                               </DeprecationInformation>    

                               </XOGOutput>  

                </WriteCustomObjectInstanceResponse>

 

The instance is created, but in our interface we need no warnings. Can you please help me with this?

 

Here is Input message:

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

                                               <Header action = "write" externalSource = "NIKU" objectType = "customObjectInstance" version = "13.3.0.286">

                                                               <args name = "overrideAutoNumbering" value = "false"/>

                                               </Header>

                                               <customObjectInstances objectCode = "c_timesheetdata">  

                                                               <instance instanceCode = "-1" objectCode = "c_timesheetdata">    

                                                                              <CustomInformation>      

                                                                                              <ColumnValue name = "partition_code">NIKU.ROOT</ColumnValue>      

                                                                                              <ColumnValue name = "name">jmeno</ColumnValue>      

                                                                                              <ColumnValue name = "code">-1</ColumnValue>      

                                                                                              <ColumnValue name = "page_layout">odf.c_timesheetdataFrame</ColumnValue>      

                                                                                              <ColumnValue name = "c_tsh_irn">121212/2013</ColumnValue>      

                                                                                              <ColumnValue name = "c_tsh_tsk_id">120</ColumnValue>       

                                                                                              <ColumnValue name = "c_tsh_date">2014-10-06T00:00:00</ColumnValue>      

                                                                                              <ColumnValue name = "c_tsh_status">0</ColumnValue>      

                                                                                              <ColumnValue name = "c_tsh_wbs">12021011</ColumnValue>      

                                                                                              <ColumnValue name = "c_tsh_pin">1010</ColumnValue>      

                                                                                              <ColumnValue name = "c_tsh_hours">1.25</ColumnValue>      

                                                                                              <ColumnValue name = "c_tsh_type">1</ColumnValue>    

                                                                              </CustomInformation>  

                                                               </instance>

                                               </customObjectInstances>

                               </NikuDataBus>

 

Regards,

Martin

Outcomes