I'm suddenly experiencing the following error after connecting to the Economic service using Java:
Economic.Api.Exceptions.AuthenticationException(E02250): Not logged in - could not resolve authenticationContext (id=695a8ae1-9c9a-4c3f-851a-b2a27afc719a)
The code I have used, for a number of years now, is as follows:
EconomicWebServiceLocator locator = new EconomicWebServiceLocator();
EconomicWebServiceSoap session = locator.getEconomicWebServiceSoap();
String ses = session.connect(<Agreement>, <User>, <Password>);
CashBookHandle cashBookHandle = session.cashBook_FindByNumber(7); // Error occurs at this line
A similar thing happened last year, and it seemed to be linked to some changes that the API team had made. See this link:
I'd be grateful to hear from any others who are having the same problem, and from the API team as to whether any recent changes could have caused the problem. I first noticed the problem on 31st July.
As I said, I've been using the code successfully for a number of years, so I suspect there may have been a change to the API that has caused the problem.