You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2007/02/08 20:48:06 UTC
[jira] Assigned: (AXIS2-2145) JAX-WS Intermittent JAXB Marshalling
errors
[ 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