axis-java-dev mailing list archives

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

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

Rich Scheuerle reassigned AXIS2-2145:
-------------------------------------

    Assignee: Rich Scheuerle

> JAX-WS Intermittent JAXB Marshalling errors
> -------------------------------------------
>
>                 Key: AXIS2-2145
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2145
>             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: javax.xml.stream.XMLStreamException: The namespace
prefix "xmlns" must not be declared.; nested exception is: 
> 	org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: The namespace
prefix "xmlns" must not be declared.
> 	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message