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:41:33 UTC

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

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


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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reassigned AXIS2-4826:
-------------------------------------

    Assignee: Rich Scheuerle

> 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reassigned AXIS2-4826:
-------------------------------------

    Assignee: Rich Scheuerle

> 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Resolution: Fixed

resolved by 1031753

> 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reassigned AXIS2-4826:
-------------------------------------

    Assignee: Rich Scheuerle

> 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reassigned AXIS2-4826:
-------------------------------------

    Assignee: Rich Scheuerle

> 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reopened AXIS2-4826:
-----------------------------------


The stripping code is failing for UTF-16LE and UTF-16BE messages that don't have a BOM.

I am making a fix now.

> 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reassigned AXIS2-4826:
-------------------------------------

    Assignee: Rich Scheuerle

> 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ 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