[jbossws-issues] [JBoss JIRA] Updated: (JBWS-3277) Unexpected bytes are serialized in MTOM attachment when the mime type is text/xml

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Thu May 5 02:24:18 EDT 2011


     [ https://issues.jboss.org/browse/JBWS-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3277:
----------------------------------

    Fix Version/s: jbossws-native-4.0.0.Beta1
                       (was: jbossws-native-4.0)


> Unexpected bytes are serialized in MTOM attachment when the mime type is text/xml
> ---------------------------------------------------------------------------------
>
>                 Key: JBWS-3277
>                 URL: https://issues.jboss.org/browse/JBWS-3277
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions: jbossws-native-3.4.1
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: jbossws-native-4.0.0.Beta1
>
>
> Send the DOMRequest with text/xml mime type content,
> public class MTOMRequest
> {
>    private String id;
>    @XmlMimeType("text/xml")
>    protected Source content;
>    
>    public Source getContent() {
>        return content;
>    }
> Server throws TransformerException :
> 1:32:46,033 ERROR [STDERR] javax.xml.transform.TransformerException:
>                            org.xml.sax.SAXParseException: Content is not allowed in trailing section.
> 21:32:46,033 ERROR [STDERR] at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
>  
>  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossws-issues mailing list