• Post Reply Bookmark Topic Watch Topic
  • New Topic

Handler Chain not working for JBoss 5.1 but fine for JBoss 6.0  RSS feed

 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to shift back to JBoss 5.1 from JBoss 6.0, as it is client requirement,

I have made a Web Service Client and Embedded Handler Chain for getting Request and Response data as it is to be inserted in Database.

Handler Chain is working fine for JBoss 6.0 but it is not working at all for JBoss 5.1. It is also not showing any error too. Using JRE 6

Following is code, please show some directions, what i should do or what should not:

Client Class:


ChainHandle.xml

<handler-chains xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee">
<handler-chain>
<handler>
<handler-name>WebServiceResponseHandler</handler-name>
<handler-class>eMavenInbound.WebServiceResponseHandler</handler-class>
</handler>
</handler-chain>
</handler-chains>

SOAP HANDLER CLASS:





 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whewwwwwwwww

I have done following which helped to resolved this and Handler Chain worked n JBoss 5.1. My problem looks solved, but is this method appropriate?

Removed Handler Annotation from the service wich extends Jax WS Service class and use folloing at calling end

 
Vijitha Kumara
Bartender
Posts: 3973
24
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There might be differences the way it handles it in two major versions (due to many reasons). You may check the appropriate documentation.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!