A MQ SOAP Service is a class that implements SOAPService interface and may be used to *register* its service to a MQSOAPServlet as a SOAP service and becomes part of the MQ SOAP Service frame work.
A MQ SOAP service consists of the following components:
1. Request Handler Chain. The Request handler can be registered as follows in the web.xml:
mq.soap.request.handler.#="MessageHandler class full name"
For example,
mq.soap.request.handler.1=com.sun.TestMessageListener1
mq.soap.request.handler.2=com.sun.TestMessageListener2
2. Response Handler Chain. The Response handler can be registered as follows in the web.xml:
mq.soap.response.handler.#=MessageHandler class full name.
For example,
mq.soap.response.handler.1=com.sun.TestMessageListener1
mq.soap.response.handler.2=com.sun.TestMessageListener2
3. A service() method to be over ridden by subclass.
4. Service lifecycle management methods. There are four methods defined for life cycle management - init/start/stop/close. They are used for init/start/stop/close a MQ SOAP Service instance. Sub class SHOULD implement or over ride the life cycle methods if necessary. @author chiaming yang @see SOAPService @see MessageHandler @see MessageHandlerChain
|
|