AnsweredAssumed Answered

XOG with CA Process Automation Manager

Question asked by pier-olivier.tremblay Champion on Sep 22, 2016
Latest reply on Sep 27, 2016 by pier-olivier.tremblay

Hi folks, i've built a .net application to create contacts and resources via XOG with success and right now i'm trying to create a Project via XOG from CA Process Automation.

 

First step, login. Goes well. Get a SID looking like : 5695052__FEB6F157-5DA9-4128-BAF7-0E961F7DA846

 

Second step, read project. 

 

<tns:ReadProject xmlns:tns="http://www.niku.com/xog/Object">
  <tns:ReadProject>
     <!--xsd:Any Type Here-->
  </tns:ReadProject>
  <tns:Auth>
     <tns:SessionID>SessionID__</tns:SessionID>
     <tns:TenantID>TenantID__</tns:TenantID>
     <tns:Username>Username__</tns:Username>
     <tns:Password>Password__</tns:Password>
  </tns:Auth>
</tns:ReadProject>

Replace SessionID__ with 5695052__FEB6F157-5DA9-4128-BAF7-0E961F7DA846.

 

XOG returns : 

<XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd">
      <Status elapsedTime="0.0 seconds" state="FAILURE"/>
      <Statistics failureRecords="0" insertedRecords="0" totalNumberOfRecords="0" updatedRecords="0"/>
      <ErrorInformation>
        <Severity>FATAL</Severity>
        <Description>No active session.  Please login or provide a valid session identifier.</Description>
        <Exception/>
      </ErrorInformation>
    </XOGOutput>

 

What am I doing wrong?

 

Thanks

Outcomes