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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
ColdFusion and sessions
I'm probably missing something completely obvious, but has anyone successfully used ColdFusion to make calls to the web service? I'm writing a demo app, and have tried to no avail to maintain a session. For example, all of my attempts to call the get method fail with:
com.netledger.dto.v1_3.faults.InvalidSessionFault: Your connection has timed out. Please log in again.
Actual login info in the passport object has been changed, of course.
<cfscript> cfcutil = createobject("component","cfide.components.util"); ws = CreateObject("webservice", "https://webservices.netsuite.com/wsdl/v1_3_1/netsuite.wsdl"); ws.setMaintainSession(true); ws.setTimeout(1000 * 60 * 60 * 2); passport = structNew(); passport.email = "
0