I want to suggest that NetSuite add a function to its NetSuiteService class. A private field and accompanying accessors that would get the last SOAP request the service attempted to send would be EXTREMELY helpful. As of now, I've had multiple errors I couldn't figure out on my own that NetSuite Support wasn't able to help with b/c I didn't have the SOAP request I tried to send, and they need the SOAP to be able to help at all. And as far as I can tell, if a SOAP request results in an exception being thrown, you cannot see the SOAP request in NetSuite's Integration and Automation Summary By Job GUI online. Thus, the function I'm suggesting would improve customer-support interaction and help more NetSuite users write effective applications.
Thanks in advance for considering the thoughts expressed in this post.