Hi, I'm trying to use the SOAP services for pulling out data with C#.
I keep getting an AuthenticationException, I'm just not sure how to set up the connection state properly.
The tutorial has an example with an EconomicWebServiceLocator and a setMaintainSession(), but the Locator class doesn't exist as far as I can tell, it's not part of the WSDL.
I've tried a bunch of things, my best guess so far has been something like this which seems somewhat logical to me:
var proxy = new EconomicWebServiceSoapClient();
var response = proxy.Connect(agreementNumber: ..., userName: ..., password: ...);
var handles = proxy.Order_FindByDateInterval(DateTime.Now.AddYears(-20), DateTime.Now);
Connect() does return a token in the response, but after that I still get an AuthenticationException on the next Order_FindByDateInterval().
Is Connect() not enough here, or is this somehow a privilege issue on the server side?
When using the API it seems to work okay though but no luck with the SOAP service, so I figure it must be an issue with the connection state itself.