Communicating with the server is handled by a communication
service. The request is prepared by the service request handlers and
the specified communication service is invoked to send the request
to the server. The response that is returned by the communication
service is given back to the request handler so that it can be transformed
into a usable format.
Procedure
- Create a new extension definition of the service
requests extension point, giving the new definition a new ID.
Because your change is limited to routing an existing message to a
new communication service, the new service request declaration will
be based on the default service request definition. All of the default
IBM Sales Center service requests are declared in the plug-in manifest
file (plugin.xml) of the com.ibm.commerce.telesales.core.impl plug-in.
Examine this file to find the default declaration.
Tip: The
requestHandlerClass attribute of the
new declaration will be the base IBM Sales Center class. The commServiceId attribute
will be changed to the ID of the new communication service.
- Set the commServiceId attribute
of the extension definition to the ID of the new communication service.
- Use the system
configurator extension point to indicate that the new extension
definition will be used instead of the original definition.