Clarity

  • 1.  Error when trying to extract Projects from Prod Server

    Posted Dec 24, 2016 10:07 AM

    Hello dears,

    I'm using SOAPUI to extract projects from two Clarity servers (Dev and Prod), it's working fine on Dev, but getting this response from the Prod, I don't know why. Can somebody help me please ?

     

     

    ---------------------REQUEST -----------

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:obj="http://www.niku.com/xog/Object">
    <soapenv:Header>
    <obj:Auth>
    <obj:Username>MyLogin</obj:Username>
    <obj:Password>MyPasword</obj:Password>
    </obj:Auth>
    </soapenv:Header>
    <soapenv:Body>
    <obj:ReadProject>
    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
    <Header version="14.3.0.298" action="read" objectType="project" externalSource="NIKU">
    <args name="include_tasks" value="true"/>
    </Header>
    <Query>
    <Filter name ="resourceID" criteria="EQUALS">myID</Filter>
    </Query>
    </NikuDataBus>
    </obj:ReadProject>
    </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>
    <SessionID xmlns="http://www.niku.com/xog">10145088__069AADAC-71AC-45B3-BB24-F97F99134836</SessionID>
    <ReadProjectResponse xmlns="http://www.niku.com/xog/Object">
    <NikuDataBus xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
    <Header externalSource="NIKU" version="14.3.0.298"/>
    <Projects/>
    <XOGOutput>
    <Object type="project"/>
    <Status state="SUCCESS"/>
    <Statistics failureRecords="0" insertedRecords="0" totalNumberOfRecords="0" 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.</Exception>
    </DeprecationInformation>
    </XOGOutput>
    </NikuDataBus>
    </ReadProjectResponse>
    </soapenv:Body>
    </soapenv:Envelope>

     

     

    Thanks



  • 2.  Re: Error when trying to extract Projects from Prod Server

    Posted Dec 24, 2016 03:40 PM

    Would GUESS that the user you are using in the auth part of the request just does not have the access in your prod system to view/read the project.

     

    Check access rights / use a different auth?



  • 3.  Re: Error when trying to extract Projects from Prod Server

    Posted Dec 24, 2016 07:00 PM

    Hi David,

     

    Maybe you are right, if so, how can I get allocated tasks ?

    Thanks in advance for your help



  • 4.  Re: Error when trying to extract Projects from Prod Server

    Posted Dec 27, 2016 09:56 AM

    I'm just saying (GUESSing really) that you might just need to grant extra rights in the application to the "user account" that you are using in the XOG call.