Hello,
I have created a JIRA SOAP client which works fine. It connects with my JIRA instance, creates, updates, gets data as required. After 30 minutes, the session times out and my SOAP client object is of no use.
I have printed the data to check if JIRASOAPService object and Authentication token is available after 30 minutes and it is available.
JiraSoapService jiraSoapService = jiraSoapServiceLocator.getJirasoapserviceV2("jira url"); String token = getJiraSoapService().login(userName, password);
Both the objects exist and has same value after 30 minutes but it throws an exception
AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out. faultActor: faultNode: faultDetail: {}com.atlassian.jira.rpc.exception.RemoteAuthenticationException:null {http://xml.apache.org/axis/}hostname:test.domain.com
Now, I clearly know that the session has timed out.
Could we set the session expire time for a specific user account? If not, how do we handle this situation? I need the same SOAPService object to work for a very long time.
Community moderators have prevented the ability to post new answers.
Hello, what kind of authentication do you using?
https://confluence.atlassian.com/display/JIRA/Changing+the+default+session+timeout
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.