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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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