This is the base class for all service stubs accessible
through a WebReference object. The Stub provides access to the WSDL operations.
Demandware recommends a low timeout to ensure responsiveness
of the site and to avoid thread exhaustion. Use the Services module
in Business Manager to set timeout values, not the methods for this class.
The Services module provides better analytics and timeout management.
The default timeout, if not set, is 15 minutes when the web service is used in a job,
and 2 minutes otherwise. If the timeout of the calling script is lower,
the script timeout is used.
// get WebReference
var webref : WebReference = webreferences.myWSDLname;
// get service stub
var stub : Stub = webref.defaultService;