• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic