perfsonar-dev - Problem parsing XML LS Message
Subject: perfsonar development work
List archive
- 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/ "><psservice:service xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/" id="localhost.d202414:1109284515e:15c1">
<psservice:serviceName>Java RRD MA</psservice:serviceName>
<psservice:accessPoint>http://selena.acad.bg:8080/axis/services/MeasurementArchiveService</psservice:accessPoint>
<psservice:serviceType>RRD MA</psservice:serviceType>
<psservice:serviceDescription>Java RRD MA, perfSONAR project</psservice:serviceDescription>
</psservice:service></psservice:datum>
<psservice:datum xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/"><psservice:service xmlns:psservice=" http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/" id="localhost.d202414:1109284515e:1ad0">
<psservice:serviceName>Java MA</psservice:serviceName>
<psservice:accessPoint>http://perfmonc.cesnet.cz:8080/axis/services/MeasurementArchiveService</psservice:accessPoint>
<psservice:serviceType>MA</psservice:serviceType>
<psservice:serviceDescription>Java RRD MA, perfSONAR project</psservice:serviceDescription>
</psservice:service></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 < and > strings.
Regards,
Ivo K. Koga
--
Msc. Candidate in Computer Networks at Universidade Salvador/BA/Brazil
Measurement WG - RNP/Brazil
- Problem parsing XML LS Message, Ivo K. Koga, 02/06/2007
- Re: [pS-dev] Problem parsing XML LS Message, Maciej Glowiak, 02/06/2007
Archive powered by MHonArc 2.6.16.