You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2007/10/30 21:24:24 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 ]
Gert Vanthienen updated SM-1119:
--------------------------------
Attachment: wsdl-first-sa-3.2-SNAPSHOT.jar
I was unable to build the example provided (due to missing libraries that are not publicly available), but I think I managed to reproduce the same error with this SA.
> 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
> Attachments: multimatch-search.zip, 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.