getSessionID
getSessionID()
The
getSessionID
method returns session ID.
Return value
The
getSessionID
method returns a string.
Example
The following example shows a message you can display at the end or beginning of your error handling to indicate to which session any errors pertain.
System.out.println("This response pertains to sessionId:"+response.getSessionID());
Copyright IBM Corporation 2013. All Rights Reserved.