<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: SpiraTeam SOAP API and ASP Authenticating problem (Thread)</title><description>&#xD;
Hi,&#xD;
&#xD;
    I'm facing problem with SpiraTeam SOAP API.     For a first few times, ImportExportClient is authenticating, but after few actions made with Incidents, I'm getting error:         " The session was not authenticated, please call the Connection_Authenticate() method first ".      This topic was solved for a few times on this forum, but for every time, solution was to enable cookies support on binding and I did this on the beggining.     This is my binding config:                                                                                    And here is my reading function:       	  private st.RemoteProject[] getProjects()            {                    bool result = client.Connection_Authenticate(conn.getSpiraUser(), conn.getSpiraPassword());          		 if(result)     		 {                     		  st.RemoteProject[] projects = client.Project_Retrieve();        			  return projects;      		 }                         else return null;            }       Like I said, for first few function calls it works, but sometimes it suddenly stops working and I can't access SpiraTeam via API. </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spirateam/issues-questions/1480.aspx</link><item><guid isPermaLink="false">threadId=1480</guid><author>Patryk Gudalewicz (patryk.gudalewicz@soflab.pl)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">spirateam</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> api</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> soap</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> csharp</category><title>SpiraTeam SOAP API and ASP Authenticating problem</title><description>&#xD;
Hi,&#xD;
&#xD;
    I'm facing problem with SpiraTeam SOAP API.     For a first few times, ImportExportClient is authenticating, but after few actions made with Incidents, I'm getting error:         " The session was not authenticated, please call the Connection_Authenticate() method first ".      This topic was solved for a few times on this forum, but for every time, solution was to enable cookies support on binding and I did this on the beggining.     This is my binding config:                                                                                    And here is my reading function:       	  private st.RemoteProject[] getProjects()            {                    bool result = client.Connection_Authenticate(conn.getSpiraUser(), conn.getSpiraPassword());          		 if(result)     		 {                     		  st.RemoteProject[] projects = client.Project_Retrieve();        			  return projects;      		 }                         else return null;            }       Like I said, for first few function calls it works, but sometimes it suddenly stops working and I can't access SpiraTeam via API. </description><pubDate>Wed, 22 Jun 2016 14:31:46 -0400</pubDate><a10:updated>2016-06-22T18:40:47-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/1480.aspx</link></item><item><guid isPermaLink="false">messageId=2667</guid><author>David J (adam.sandman+support@inflectra.com)</author><title>&#xD;
Hi Patryk  Could you please log a support ticket for this?  There&#xD;
 could be many causes, from usi</title><description>&#xD;
Hi Patryk  Could you please log a support ticket for this?  There&#xD;
 could be many causes, from using an IIS webfarm without sending the &#xD;
ASP.NET Session ID or a load balancer with no session ID handling, etc.  Regards Adam&#xD;
&#xD;
</description><pubDate>Wed, 22 Jun 2016 18:40:47 -0400</pubDate><a10:updated>2016-06-22T18:40:47-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/1480.aspx#reply2667</link></item></channel></rss>