AnsweredAssumed Answered

Call Clarity PPM 'ReadProject' SOAP operator from PAM

Question asked by camja06 Employee on Dec 17, 2014
Latest reply on Feb 23, 2015 by camja06

Hi all,

 

I'm working to extract a few fields of Project data from Clarity PPM into CA SDM using PAM.  Having trouble with the the 'ReadProject' operation - clearly the XML I'm passing is incorrect, although the essentials are OK as I can run the operation successfully through SoapUI (which places the 'Auth' into the SOAP header).

 

This is what is currently in the 'Inline Text' of my PAM operator - and I am substituting a Process.SessionID retrieved from the Login operator into the SessionID__ macro in the 'Auth' block:

 

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

  <tns:ReadProject>

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

  

   <Header version='13.3.0.0286' externalSource='NIKU'>

  <args name="order_by_1" value="name"/>

  <args name="order_by_2" value="ProjectID"/>

 

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

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

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

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

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

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

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

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

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

   </Header>

  

   <Query>

  <Filter name="active" criteria="EQUALS">true</Filter>

   </Query>

</NikuDataBus>

  </tns:ReadProject>

 

  <tns:Auth>

<tns:SessionID>SessionID__</tns:SessionID>

  </tns:Auth>

</tns:ReadProject>

 

When I run this in PAM I get this error:

"No active session.  Please login or provide a valid session identifier."

 

Hoping someone can point out where I've gone wrong!

Regards,

James

Outcomes