You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2008/11/03 20:31:54 UTC

Re: [jira] Commented: (CXF-1895) Invalid character set UTF-8; action= urn:ihe:iti:2007:RetrieveDocumentSet in request in Contet-type

The aegis provider can't handle non-UTF-8 since Aegis can't produce it (yet).

On Mon, Nov 3, 2008 at 12:06 PM, Sergey Beryozkin (JIRA)
<ji...@apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/CXF-1895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644753#action_12644753 ]
>
> Sergey Beryozkin commented on CXF-1895:
> ---------------------------------------
>
> The problem seems to be quite obvious - cxf code assumes that there're only one possible content type value parameter (charset). Fixing it should be easy - but if the action parameter needs to be preserved then it might be worth saving the ContentType info in a wrapper class, similar to a MediaType JAX-RS class. A similar CXF-specific class can be introduced.
>
> in CXF JAX-RS we have an implementation of MediaType so one option is to move its internals  into some common utility code like MediaTypeUtils.java, and have it reused between JAXWS and JAXRS runtimes
>
>> Invalid character set UTF-8; action= urn:ihe:iti:2007:RetrieveDocumentSet in request in Contet-type
>> ---------------------------------------------------------------------------------------------------
>>
>>                 Key: CXF-1895
>>                 URL: https://issues.apache.org/jira/browse/CXF-1895
>>             Project: CXF
>>          Issue Type: Bug
>>    Affects Versions: 2.1.3
>>         Environment: Linux, Ubuntu 8.04
>>            Reporter: Andrea Bozzetto
>>
>> Hi, I have a problem reading this soap Message, CXF throw  "java.io.IOException: Invalid character set UTF-8; action= urn:ihe:iti:2007:RetrieveDocumentSet in request."
>> POST /EuleroXDSRepository/repositoryb HTTP/1.1
>> Content-Type: application/soap+xml; charset=UTF-8; action="urn:ihe:iti:2007:RetrieveDocumentSet"
>> User-Agent: Axis2
>> Host: 172.30.20.161:8888
>> Transfer-Encoding: chunked
>>
>> 2f3
>> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:To>http://localhost:8888/EuleroXDSRepository/repositoryb</wsa:To><wsa:MessageID>urn:uuid:F99C8EB3F258E6DC751225718664373</wsa:MessageID><wsa:Action>urn:ihe:iti:2007:RetrieveDocumentSet</wsa:Action></soapenv:Header><soapenv:Body><RetrieveDocumentSetRequest xmlns="urn:ihe:iti:xds-b:2007" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>     <DocumentRequest>
>>         <RepositoryUniqueId>urn:4a8afe2</RepositoryUniqueId>
>>         <DocumentUniqueId>172.30.20.187262</DocumentUniqueId>
>>     </DocumentRequest>
>> </RetrieveDocumentSetRequest></soapenv:Body></soapenv:Envelope>
>> 0
>>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>