axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinath Perera (JIRA)" <>
Subject [jira] Assigned: (AXIS2-110) Inability to handle faults before creating message context
Date Mon, 01 Aug 2005 04:19:36 GMT
     [ ]

Srinath Perera reassigned AXIS2-110:

    Assign To: Eran Chinthaka

> Inability to handle faults before creating message context
> ----------------------------------------------------------
>          Key: AXIS2-110
>          URL:
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement
>   Components: core
>     Reporter: Eran Chinthaka
>     Assignee: Eran Chinthaka

> When engine receives a SOAP message it gets the stream, creates a StAXSOAPModelBuilder,
creates a message context and put the created envelop (out of the builder) in to the message
> The constructor in the StAXSOAPModelBuilder has a code to parse the header part of the
received SOAP message. 
> Problem, if an error encountered in this constructor code (for example, two headet blocks
found, envelope namespace wrong),  there will be an exception thrown from the builder with
correct information. But the error handling code, has no information about the version of
the SOAP message received. 
> Engine currently sends a SOAP 1.1 message, irrespective of the version of the incoming
faulty message.
> My suggestion is to get the SOAP version initialy from the content type information from
the transport and create a message context with that. Then even there is a fault in builder
creation, fault handling section has enough information to process it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message