This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis2 Client LogicalHandler Programmatic Implementation  RSS feed

 
Chris Bicnal
Ranch Hand
Posts: 100
1
  • Mark post as helpful
  • send pies
  • 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
 
Rob Spoor
Sheriff
Posts: 21044
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!