Discussions
"Your connection has timed out"
What changed in version 11 or WSDL 1.3.2 that would cause a login to think it's timed out? I have worked with Web Services in version 10 and now ran my code in version 11 (using WSDL version 1.3.2). I am able to log in but the first time that I try to run a search I get an InvalidSessionFault: "Your connection has timed out". This SAME CODE worked in version 10 and WSDL 1.3.1. I am setting the header cookie before login as follows:
NetSuitePortType port = service.getNetSuitePort();
NetSuiteBindingStub stub = (NetSuiteBindingStub)port;
stub._setProperty(HTTPConstants.HEADER_COOKIE, new String[] {"ACCOUNT=" + myAccount});