AnsweredAssumed Answered

Getting bad response when trying to read Allocations with my application, even SOAPUI request is failing

Question asked by Esdras on Dec 15, 2016
Latest reply on Dec 28, 2016 by Esdras

Getting bad response when trying to read Allocations with my application, even SOAPUI request is failing:

 

---------------------SOAP Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:obj="http://www.niku.com/xog/Object">

<soapenv:Header>

<obj:Auth>

<obj:SessionID>9877364__0CB199FB-E5F6-467F-B3AE-E37FBE94BCCC</obj:SessionID>

</obj:Auth>

</soapenv:Header>

<soapenv:Body>

<obj:ReadGlallocation>

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

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

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

</Header>

<Query>   

<Filter name="resourceID" criteria="EQUALS">MyResID</Filter>

</Query>

</NikuDataBus>

</obj:ReadGlallocation>

</soapenv:Body>

</soapenv:Envelope> 

 

 

------------------RESPONSE:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <soapenv:Header/>

  <soapenv:Body>

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

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

        <Object type="glallocation"/>

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

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

        <ErrorInformation>

          <Severity>FATAL</Severity>

          <Description>Unsupported version 7.5</Description>

          <Exception>Unsupported version 7.5. Please check object type: glallocation and action type: read.  Check if the version in the xml file is set to be 8.0 or higher and make sure xml file is valid against the schema of version 8.0</Exception>

        </ErrorInformation>

        <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 'project' conflicts with the requested objectType 'glallocation'.</Exception>

        </DeprecationInformation>

      </XOGOutput>

    </ReadGlallocationResponse>

  </soapenv:Body>

</soapenv:Envelope>

 

 

 

Can somebody help me to fix this issue ?

 

Thanks for your help

Outcomes