cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-2103) Some attributes marshalled through JAXBSource have wrong names
Date Mon, 13 Apr 2009 20:03:14 GMT

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

Daniel Kulp resolved CXF-2103.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1
                   2.1.5
         Assignee: Daniel Kulp

> Some attributes marshalled through JAXBSource have wrong names
> --------------------------------------------------------------
>
>                 Key: CXF-2103
>                 URL: https://issues.apache.org/jira/browse/CXF-2103
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.4
>            Reporter: Valerio Angelini
>            Assignee: Daniel Kulp
>             Fix For: 2.1.5, 2.2.1
>
>         Attachments: cxf-JAXBSource-bug.zip
>
>
> Hello,
> I'm using CXF through the JAX-WS Provider interface. I set the parametric parameter of
the interface to javax.xml.transform.Source.
> The XML results of marshalling a DOMSource or a JAXBSource are different, look for example
at the first attribute of the "formatResponse" element (the DOMSource one is correct):
> --- DOMSource ---
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>    <SOAP-ENV:Header/>
>    <SOAP-ENV:Body>
>       <formatResponse attribute="attr1" xmlns="http://www.cxftest.org">
>          <formattedName>test</formattedName>
>       </formatResponse>
>    </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> ------------------------------------------------------------------------------------------------------------
> --- JAXBSource ---
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>    <SOAP-ENV:Header/>
>    <SOAP-ENV:Body>
>       <formatResponse formatResponse="attr1" xmlns="http://www.cxftest.org">
>          <formattedName>test</formattedName>
>       </formatResponse>
>    </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> ------------------------------------------------------------------------------------------------------------
> you can find attached a test case.
> Regards
> Valerio Angelini

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message