Skip to Content.
Sympa Menu

perfsonar-dev - Problem parsing XML LS Message

Subject: perfsonar development work

List archive

Problem parsing XML LS Message


Chronological Thread 
  • From: "Ivo K. Koga" <>
  • To:
  • Subject: Problem parsing XML LS Message
  • Date: Tue, 6 Feb 2007 10:26:05 -0300
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=GfObJAwsGaFig3GVbxJoIogO77crjrQllMOzz1kgzQxcyohM9v/Kj8bq8jgoqjv4djJPgEcg/wURw5X8XxypaXEjaoj51gtJJ6N09K1j5ZxwLazHnKjifDOfOPa8hcgK3REHZYdmCkkb0SczMYlCWeJc6Iwpi304wvSrMx0opck=

Hi all,

I was trying to access the LS deployed at the sites in the following address:
http://wiki.perfsonar.net/jra1-wiki/index.php/Lookup_Services

I am facing a problem when I try to request those deployed LS when parsing the response message returned.

When I accessed the LS deployed at:http://selena.acad.bg:8070/axis/services/LookupService


I received the following response:

    <psservice:datum xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/ ">&lt;psservice:service xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/" id="localhost.d202414:1109284515e:15c1"&gt;
    &lt;psservice:serviceName&gt;Java RRD MA&lt;/psservice:serviceName&gt;
    &lt;psservice:accessPoint&gt;http://selena.acad.bg:8080/axis/services/MeasurementArchiveService&lt;/psservice:accessPoint&gt;
    &lt;psservice:serviceType&gt;RRD MA&lt;/psservice:serviceType&gt;
    &lt;psservice:serviceDescription&gt;Java RRD MA, perfSONAR project&lt;/psservice:serviceDescription&gt;
&lt;/psservice:service&gt;</psservice:datum>
        <psservice:datum xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/">&lt;psservice:service xmlns:psservice=" http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/" id="localhost.d202414:1109284515e:1ad0"&gt;
    &lt;psservice:serviceName&gt;Java MA&lt;/psservice:serviceName&gt;
    &lt;psservice:accessPoint&gt;http://perfmonc.cesnet.cz:8080/axis/services/MeasurementArchiveService&lt;/psservice:accessPoint&gt;
    &lt;psservice:serviceType&gt;MA&lt;/psservice:serviceType&gt;
    &lt;psservice:serviceDescription&gt;Java RRD MA, perfSONAR project&lt;/psservice:serviceDescription&gt;
&lt;/psservice:service&gt;</psservice:datum>


I think it's a character encoding problem, but did not found how to solve it once some tags comes correct and other comes inside &lt; and &gt; strings.

Regards,

Ivo K. Koga

--
Msc. Candidate in Computer Networks at Universidade Salvador/BA/Brazil
Measurement WG - RNP/Brazil


Archive powered by MHonArc 2.6.16.

Top of Page