axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <>
Subject [jira] Assigned: (AXIS2-2145) JAX-WS Intermittent JAXB Marshalling errors
Date Thu, 08 Feb 2007 19:48:06 GMT


Rich Scheuerle reassigned AXIS2-2145:

    Assignee: Rich Scheuerle

> JAX-WS Intermittent JAXB Marshalling errors
> -------------------------------------------
>                 Key: AXIS2-2145
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Rich Scheuerle
>         Assigned To: Rich Scheuerle
> The JAXB Marshaller code is generating bad xml in intermittent situations.
> Specifically, an xmlns:xmlns is being written in the root element of the JAXB emission.
> Stack Dump = org.apache.axis2.AxisFault: The namespace
prefix "xmlns" must not be declared.; nested exception is: 
> The namespace
prefix "xmlns" must not be declared.
> 	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(
> Solution Proposal:
> Current code:
>     JAXB Marshaller ---->  Woodstox XMLStreamWriter
> New code:
>     JAXB Marshaller -----> XMLStreamWriterFilter ----> Woodstox XMLStreamWriter
> This filter will detect the erroneous xmlns:xmlns and swallow it (with logs).
> We can use the logged information to open a formal defect against JAXB.
> P.S.  This filter is only installed specifically for JAXB marshalling in the JAXWS code.
 It is not a general purpose filter.

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:
For additional commands, e-mail:

View raw message