You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2010/09/21 18:49:39 UTC

[jira] Resolved: (AXIS2-4826) JAXWS: BOM characters are embedded in the middle of a message

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

Rich Scheuerle resolved AXIS2-4826.
-----------------------------------

    Resolution: Fixed

> JAXWS: BOM characters are embedded in the middle of a message
> -------------------------------------------------------------
>
>                 Key: AXIS2-4826
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4826
>             Project: Axis2
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When the JAX-WS runtime sends a SOAP message using the "UTF-16" character encoding, a byte order mark (BOM) precedes 
> the xml portion of the message.
> In some cases, a second, stray BOM may appear in the message within the Body contents.  The BOM characters are:
>    0xFF 0xFE or 
>    0xFE 0xFF
> These extra characters are usually ignored by the receiver of the message; however, in some cases, the receiver may fail with an error or silently continue with the bad data.
> The extra BOM characters are located after the Body start tag or are present within the contents of the Body's children.
> --------------------
> Proposed Solution:
> I have written some code in the JAX-WS marshaller to detect this situation.
> A ouput stream filter is inserted to remove the BOM as it is written.

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org