[ https://issues.apache.org/jira/browse/AXIS2-3343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rich Scheuerle resolved AXIS2-3343. ----------------------------------- Resolution: Fixed Committed Revision 595329 > JAX-WS Dispatch(Source) returns a StAXSource if JDK 6.0. StAXSource is not > acceptable in many scenarios. > --------------------------------------------------------------------------------------------------------- > > Key: AXIS2-3343 > URL: https://issues.apache.org/jira/browse/AXIS2-3343 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: jaxws > Reporter: Rich Scheuerle > Assignee: Rich Scheuerle > > History: > The JAX-WS Dispatch(Source) implementation detects if StAXSource is > available. > StAXSource is not part of JDK 4.2 or JDK 5.0. > However, StAXSource wraps a XMLStreamReader, so it seemed to be a performant > alternative to StreamSource. > Problem: > JAXB, the main consumer of a Source in JAX-WS scenarios, does not support > StAXSource. > Other users have reported quality concerns with StAXSource. > Solution: > Quick change to the code to return the same Source (non-StAXSource) for all > of the JDK versions. > This promotes consistency. > Kudos to Samuel Isokpunwu who collaborated with this solution. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]