You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/10/07 09:54:52 UTC

[jira] Updated: (SM-1119) Encoding problem in text returned by HTTP-SU

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

Guillaume Nodet updated SM-1119:
--------------------------------

    Fix Version/s: servicemix-http-2008.01

> Encoding problem in text returned by HTTP-SU
> --------------------------------------------
>
>                 Key: SM-1119
>                 URL: https://issues.apache.org/activemq/browse/SM-1119
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-core, servicemix-http, servicemix-jsr181
>    Affects Versions: 3.1, 3.1.1, 3.1.2
>         Environment: This issue can be reproduced on Windows XP Pro and Red Hat Linux.
>            Reporter: Philip Webster
>             Fix For: 3.2.1, 3.3, servicemix-http-2008.01
>
>         Attachments: multimatch-search.zip, multimatch-search2.zip, SM-1119.patch, wsdl-first-sa-3.2-SNAPSHOT.jar
>
>
> It looks as though there is an encoding problem at the point after the results are returned from the JSR181 service unit.
> The issue can be reproduced on 3.1, 3.1.1, 3.1.2 and the October 25th snapshot of 3.2
> As discussed on this thread:
> http://www.nabble.com/Encoding-problem-in-text-returned-by-HTTP-SU-tf4676140s12049r3.html
> The attached service usints and service assembly can be used to reproduce the issue. 
> Use the following input against http://localhost:8492/MultiMatchSearch/
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sear="http://eir.multimatch.org/search">
>    <soapenv:Header/>
>    <soapenv:Body>
>       <sear:doSearchRequest>
>          <query>
>             <searchTriples>
>                <searchTerms>Charles Perrault</searchTerms>
>                <searchFields>Title</searchFields>
>                <searchOperators>~</searchOperators>
>             </searchTriples>
>             <queryLanguage>SPANISH</queryLanguage>
>             <resultLanguages>ENGLISH</resultLanguages>
>             <metadataSchema>nonCached</metadataSchema>
>             <fields>metadata</fields>
>             <contentTypesRequested>
>                <contentType>TEXT</contentType>
>                <startResults>0</startResults>
>                <numberOfResults>1</numberOfResults>
>             </contentTypesRequested>
>          </query>
>          <returnFullObjects>false</returnFullObjects>
>       </sear:doSearchRequest>
>    </soapenv:Body>
> </soapenv:Envelope>
> The result is:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>    <soapenv:Body>
>       <ns2:doSearchResponse xmlns:ns2="http://eir.multimatch.org/search">
>          <results>
>             <textResults>
>                <identifier>urn://org.multimatch/search/result/1193668323010</identifier>
>                <Title>Meñiquín Charles Perrault ; traducción de Teodoro Baró</Title>
>                <sourceUrl>http://www.google.com/</sourceUrl>
>             </textResults>
>          </results>
>       </ns2:doSearchResponse>
>    </soapenv:Body>
> </soapenv:Envelope>
> The result should be:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>    <soapenv:Body>
>       <ns2:doSearchResponse xmlns:ns2="http://eir.multimatch.org/search">
>          <results>
>             <textResults>
>                <identifier>urn://org.multimatch/search/result/1193668323010</identifier>
>                <Title>Meñiquín Charles Perrault ; traducción de Teodoro Baró</Title>
>                <sourceUrl>http://www.google.com/</sourceUrl>
>             </textResults>
>          </results>
>       </ns2:doSearchResponse>
>    </soapenv:Body>
> </soapenv:Envelope>

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