Handle bad client requests better
---------------------------------

                 Key: AXIS2-4891
                 URL: https://issues.apache.org/jira/browse/AXIS2-4891
             Project: Axis2
          Issue Type: New Feature
          Components: kernel
    Affects Versions: 1.4.1, 1.5, 1.5.1, 1.5.2, 1.5.3
            Reporter: Dino


We are getting a lot of parsing exceptions from clients (more rouge than legit) 
hitting our axis2 soap services incorrectly.

For example:

2010-11-21 16:17:47,309 ERROR [http-httpd-10380-162$1212637080] 
org.apache.axis2.engine.AxisEngine : javax.xml.stream.XMLStreamException: 
:3:247 expected '>' at 0xffffffff

We have no control over the processing since the AxisEngine logs the error 
directly (e.g log.error(e.getMessage(), e)).

Axis2 should provide a way to override the error handling either by using an 
interceptor or having a delegating method that can be overwritten. It can 
default to logging the error but allow developers to overwrite this behavior 
easily.

Not sure the easiest approach but look for guidance from the Axis2 dev team to 
provide a solution.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to