• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Axis2 Client LogicalHandler Programmatic Implementation

 
Ranch Hand
Posts: 100
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to implement a LogicalHandler in my Axis2 client with the goal of filtering out some problematic characters (originating from a mainframe) present in the message payload which are causing an issue with Axis2 parsing the XML into a SOAPMessage.

I have created the LogicalHandler and have annotated the generated service class with @HandlerChain(file="../../axis2/handlers/handler.xml") referencing the following;




...the path is correct but when I fire the web service my handler isn't invoked.

What am I doing wrong?

Bic
 
Sheriff
Posts: 22649
126
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The path is probably incorrect. It may need to be relative to the root of your project (e.g. axis2/handlers/handler.xml), or it may need to be absolute (e.g. /axis2/handlers/handler.xm). I haven't worked with SOAP that much to tell you which one it probably is.
 
If you're gonna buy things, buy this thing and I get a fat kickback:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic