Represents a web service defined in a WSDL file. The implementation is backed by a JAX-RPC framework. In general,
you should use the newer dw.ws package and WebReference2
class for doc-style SOAP web service calls. However, if your web service WSDL
is using RPC-style calls, you must use a WebReference object instead.
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.
To create an instance of a WebReference object, in a B2C Commerce Script file, reference a WSDL file in the
directory and request the service Stub
using one of the get service methods.
For example, if your WSDL file is
to create an instance of WebReference and access the Stub
var webref : WebReference = webreferences.MyWSDL;
var stub : Stub = webref.getDefaultService();
script classes representing your WSDL file are are generated by the platform and then placed in the
package. You do not need to include the
statement in your B2C Commerce Script file to use classes in the