Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
"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});
0