You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "maomaode (JIRA)" <ji...@apache.org> on 2007/12/19 10:00:47 UTC
[jira] Created: (CXF-1313) MTOM client side can not unmarshal the
returned Holder
MTOM client side can not unmarshal the returned Holder<Source>
--------------------------------------------------------------
Key: CXF-1313
URL: https://issues.apache.org/jira/browse/CXF-1313
Project: CXF
Issue Type: Sub-task
Components: JAX-WS Runtime
Affects Versions: 2.1
Reporter: maomaode
Assignee: maomaode
Fix For: 2.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-1313) MTOM client side can not unmarshal the
returned Holder
Posted by "maomaode (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
maomaode resolved CXF-1313.
---------------------------
Resolution: Fixed
After deep investigation, I found it's nothing to do the the StreamSource, the reason actually is the Handlers in the chain consume the AttachementDataSource, and then the InputStream is just gone.
We have to cache it somehow
> MTOM client side can not unmarshal the returned Holder<Source>
> --------------------------------------------------------------
>
> Key: CXF-1313
> URL: https://issues.apache.org/jira/browse/CXF-1313
> Project: CXF
> Issue Type: Sub-task
> Components: JAX-WS Runtime
> Affects Versions: 2.1
> Reporter: maomaode
> Assignee: maomaode
> Fix For: 2.1
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1313) MTOM client side can not unmarshal the
returned Holder
Posted by "maomaode (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553591 ]
maomaode commented on CXF-1313:
-------------------------------
Well, actually I found we did unmarshal correctly, however we can not get the InputStream from the StreamSource, what we can get is the Reader.
The problem is caused by the com.sun.xml.bind.v2.util.DataSourceSource , it check the charset before return the InputStream, we seems always put the ContentType as UTF-8 as a default charset
In order to fix this, we have to unset the charset, in mtom enabled case
> MTOM client side can not unmarshal the returned Holder<Source>
> --------------------------------------------------------------
>
> Key: CXF-1313
> URL: https://issues.apache.org/jira/browse/CXF-1313
> Project: CXF
> Issue Type: Sub-task
> Components: JAX-WS Runtime
> Affects Versions: 2.1
> Reporter: maomaode
> Assignee: maomaode
> Fix For: 2.1
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1313) MTOM client side can not unmarshal the
returned Holder
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CXF-1313:
-----------------------------
Affects Version/s: 2.0.3
Fix Version/s: (was: 2.1)
2.0.4
> MTOM client side can not unmarshal the returned Holder<Source>
> --------------------------------------------------------------
>
> Key: CXF-1313
> URL: https://issues.apache.org/jira/browse/CXF-1313
> Project: CXF
> Issue Type: Sub-task
> Components: JAX-WS Runtime
> Affects Versions: 2.0.3, 2.1
> Reporter: maomaode
> Assignee: maomaode
> Fix For: 2.0.4
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.