Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RQMConnectionHelper.getFromServer() will get some messy code

In RQM2.0, when i use RQMConnecionHelper.getFromServer(urlLink),the urlLink is like this:https://9.186.56.53:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Demo/requirement/urn:com.ibm.rqm:requirement:2
will get messy code like this:

{Cache-Control=, Server=, Content-Type=, rqm_responseMessage=<xml><ns3><ns4>https://9.186.56.53:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Demo/requirement/urn:com.ibm.rqm:requirement:2</ns4><ns4>requirement12</ns4><ns4>des</ns4><ns5>2009-09-15T06:26:29.609Z</ns5><ns5>authoring.s1</ns5><ns4>ADMIN</ns4><ns5>ADMIN</ns5><ns3>unassigned</ns3><ns3>state</ns3><ns5>updated</ns5><ns3>2009-09-15T06:08:20.531Z</ns3><ns3><ns3><ns3><ns3>闇�姹傜被鍨�/ns3:name><ns3></ns3></ns3><ns3><ns3>鍚姩 URL</ns3><ns3></ns3></ns3><ns3><ns3>shortDescription</ns3><ns3>des</ns3></ns3><ns3><ns3>闇�姹備紭鍏堢骇</ns3><ns3>priority</ns3></ns3><ns3><ns3>澶嶅鐘舵��/ns3:name><ns3>state</ns3></ns3><ns3><ns3>婧愭爣璇�/ns3:name><ns3></ns3></ns3></ns3></ns3>
, Expires=, Date=, Transfer-Encoding=, ETag=, rqm_responseCode=200, null=}

please help me to handle this problem....

0 votes



2 answers

Permanent link
Hello,
Where are you getting the RQMConnectionHelper code from (tool, source, etc)?

If I was to guess, the connection helper is not retrieving the content with a specified encoding and is using the default encoding. The encoding should explicitly be set to "UTF-8".

Regards,
John

0 votes


Permanent link
Hello,
Where are you getting the RQMConnectionHelper code from (tool, source, etc)?

If I was to guess, the connection helper is not retrieving the content with a specified encoding and is using the default encoding. The encoding should explicitly be set to "UTF-8".

Regards,
John

thank you,i have resolve the problem, i went to reinstall a firefox with English version,so everything goes well...

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 15 '09, 3:31 a.m.

Question was seen: 5,520 times

Last updated: Sep 15 '09, 3:31 a.m.

Confirmation Cancel Confirm