Hi Team, We post 70 CustomerPayments to a Netsuite...
# suitetalkapi
c
Hi Team, We post 70 CustomerPayments to a Netsuite through SOAP and get the error: "The request channel timed out attempting to send after 000100. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout." We use the addList operation to post CustomerPayments. Is it expected to get this error message? What is the best way to handle this scenario?
e
Let NS do the heavy lifting by sending JSON data to a RESTlet that can be saved to the file cabinet and then using the file id as a parameter kick off the process via a Map/Reduce script that loads the file, grabs the content and then post the customer payments.
c
Hi @Eric B Thanks for the response. Sorry I didn’t mentioned It on above. We are using SOAP webservices addList operation.
I found one article which sets the timeout to the class but It is only applied to old WSDL files which was using NetsuiteService as a class name but for new WSDL versions the class name is changed to NetSuitePortTypeClient. I’m not sure how to set the timeout for NetSuitePortTypeClient class. Any ideas?
For older version the syntax is something like below: _service = new NetSuiteService(); _service.timeout = 100*60*60*1000;