Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handler Query

 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Handler can be at Logical OR Protocol level.

Handler is the base interface.
LogicalHandler and SOAPHandler interface extends Handler interface.

Queries are
a. How do we define generic Protocol Handler class as everywhere SOAPHandler is defined?
b. Can we consider SOAPHandler to be a specific case of Protocol Handler ?

thanks

 
Souvik Dasgupta
Ranch Hand
Posts: 95
Eclipse IDE Java Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhay,

Although there is a interface Handler (in javax.xml.ws.handler package) which extended by both SOAPHandler and LogicalHandler, we do not usually use it directly as a 'Generic Handler' interface. Since SOAP is the only protocol available for JAX-WS standard WebServices, you can say " SOAPHandler to be a specific case of Protocol Handler"
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.
I shall make a note of this explanation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic