[ 
https://issues.apache.org/jira/browse/AXIS2C-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Lazarski resolved AXIS2C-1662.
-------------------------------------
    Fix Version/s: 2.0.0
                       (was: 1.7.0)
       Resolution: Fixed

    When receiving chunked SOAP responses (especially SOAP faults), the
    logging module may attempt to serialize the envelope before it has
    been fully parsed. This results in incomplete fault details being
    logged.
    
    Add a loop to call axiom_soap_builder_next() until the envelope is
    completely parsed (axiom_node_is_complete returns true). This ensures
    all fault detail information is available before logging.
    
    Also improve log message formatting with newlines for readability.
   

> mod_log may corrupt the node list (on a chunked fault)
> ------------------------------------------------------
>
>                 Key: AXIS2C-1662
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1662
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>         Environment: Linux
>            Reporter: Andreas Vollmy
>            Priority: Major
>              Labels: patch
>             Fix For: 2.0.0
>
>         Attachments: patch-logging.patch
>
>
> I activated the logging-module to log all In- and Outputs. 
> Normaly this seems to work perfectly, but when a JEE-System gives me back a 
> fault (actually the result is a chunked stream), I loose the detail 
> information.
> After a while I found out, that the logging module is reading in all not yet 
> read nodes. In case of a fault, this may lead to it reading in the whole 
> stream without creating the internal node list.
> Attached patch forces the reading of all remaining nodes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to