Web Services Guide : Getting Started: Web services in a Day : Using A Custom Handler in a Web Service with Complex Data Types
Using A Custom Handler in a Web Service with Complex Data Types
This example builds off the example for exchanging complex data in a web service. It illustrates how to add a custom handler to the web service.
The web services framework was intended to be pluggable. You can create and register custom handlers to do specialized work at many points in web service request/response processing. More information can be found in the Web Services Guide in the section titled: Web Service Handlers and Message Processing.
Creating The Web Service
The steps in building the web service are
Start with creating the web service as in example for exchanging complex data in a web service;
Modify the deployment descriptor to include the handler and any new operations which trigger the handler.
Modify the interface wsdl file to include any new messages corresponding to the new operations together with their port types and bindings.
Modify the interface wsdl file to include any new schemas required.
The web service interface wsdl file used in this example is described in the introductory section.
Last modified date: 08/16/2019