I am new to Web Services and have managed to consume simple services to do simple stuff. However I am working on a project where the web service requires me to first login to the service and then change a password on the account that I logged into.
Logging in is fine, the issue comes when trying to change the password on the account. It states that I am not logged in.
The login process returns True if logged in and also a JSESSIONID which I need to pass back when I call the changePassword function. Problem is that I do not know how to add the JSESSIONID back to the call. I have been told that this needs to be passed as a header.
Can anyone explain how I would set this up as a header for the changePassword call?