perfsonar-dev - LSResponse's have > and < instead of '>' and '<'
Subject: perfsonar development work
List archive
- From: "Jeff W. Boote" <>
- To: "" <>
- Subject: LSResponse's have > and < instead of '>' and '<'
- Date: Fri, 08 Sep 2006 17:29:30 -0600
I finally have the LS working on RHEL 4 with a full rpm installation of jpackage.org java packages working. (including axis)
The only things I did not use rpm/up2date to install was eXist and perfsonar itself. I will have this written up and put on the wiki sometime in the next couple of weeks. (I plan on working with GaTech to do it.)
In any case, the responses from the 'test' scripts have malformed XML. For some reason '>' and '<' are replaced with the escape codes. Has anyone seen this? Is this something I have misconfigured in tomcat?
Thanks,
jeff
<?xml version='1.0' encoding='UTF-8'?> <!-- Purpose: Deregister information that was previously registered with the LS --> <nmwg:message type="LSDeregisterRequest" id="msg1" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"> <nmwg:metadata id="meta1"> <nmwg:key> <nmwg:parameters id="keys"> <nmwg:parameter name="lsKey">http://reed.man.poznan.pl:8080/axis/services/MA</nmwg:parameter> </nmwg:parameters> </nmwg:key> </nmwg:metadata> <nmwg:data/> </nmwg:message>
<?xml version="1.0" encoding="UTF-8"?> <nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="localhost.localdomain.-388a3205:10d8fba60c2:-7fdf" type="LSDeregisterResponse"> <nmwg:metadata id="resultCodeMetadata_0"> <nmwg:eventType>result.success</nmwg:eventType> </nmwg:metadata> <nmwg:data id="resultCodeData_0" metadataIdRef="resultCodeMetadata_0"> <nmwg:datum value="Removed [2] metadata and [2] data blocks for key [http://reed.man.poznan.pl:8080/axis/services/MA]" /> </nmwg:data> </nmwg:message>
<?xml version='1.0' encoding='UTF-8'?> <!-- Purpose: Keepalive message is LSRegisterRequest LS Registration (joining) request is sending your service info as well as your metadata that you wish to advertise into to the ls. --> <nmwg:message type="LSKeepaliveRequest" id="msg1" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"> <nmwg:metadata id="key_to_keepalive"> <nmwg:key> <nmwg:parameters id="keys"> <nmwg:parameter name="lsKey">http://reed.man.poznan.pl:8080/axis/services/MA</nmwg:parameter> </nmwg:parameters> </nmwg:key> </nmwg:metadata> <nmwg:data/> </nmwg:message>
<?xml version="1.0" encoding="UTF-8"?> <nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="localhost.localdomain.-388a3205:10d8fba60c2:-7fe3"> <nmwg:metadata id="resultCodeMetadata_0"> <nmwg:eventType>result.success</nmwg:eventType> </nmwg:metadata> <nmwg:data id="resultCodeData_0" metadataIdRef="resultCodeMetadata_0"> <nmwg:datum value="Keepalive - Time updated" /> </nmwg:data> </nmwg:message>
<?xml version='1.0' encoding='UTF-8'?> <!-- Purpose: LS Query Request, someone is looking for a service so they will send a metadata that contains an xpath expression as a subject. After executing this on the server side we should get some sort of response. --> <nmwg:message type="LSQueryRequest" id="msg1" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" xmlns:xquery="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/xquery/1.0/"> <nmwg:metadata id="meta1"> <xquery:subject id="sub1"> declare namespace nmwg="http://ggf.org/ns/nmwg/base/2.0/"; declare namespace perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"; declare namespace psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/"; declare namespace xquery="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/xquery/1.0/"; for $metadata in /nmwg:store/nmwg:metadata let $metadata_id := $metadata/@id let $data := /nmwg:store/nmwg:data[@metadataIdRef=$metadata_id] where $metadata//psservice:serviceType="MA" return <lookup-storage-from-query> {$metadata} {$data} </lookup-storage-from-query> </xquery:subject> <nmwg:eventType>service.lookup.xquery</nmwg:eventType> </nmwg:metadata> <nmwg:data/> </nmwg:message>
<?xml version="1.0" encoding="UTF-8"?> <nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="localhost.localdomain.-388a3205:10d8fba60c2:-7fe7" type="LSQueryResponse"> <nmwg:metadata id="LSQueryResponseMetadata_0" /> <nmwg:data id="LSQueryResponseData_0" metadataIdRef="LSQueryResponseMetadata_0"> <psservice:datum xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/"><lookup-storage-from-query> <nmwg:metadata xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="http://reed.man.poznan.pl:8080/axis/services/MA"> <perfsonar:subject xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/" id="commonParameters"> <psservice:service xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/" id="serviceParameters"> <psservice:serviceName>My_test_MA</psservice:serviceName> <psservice:accessPoint>http://reed.man.poznan.pl:8080/axis/services/MA</psservice:accessPoint> <psservice:serviceType>MA</psservice:serviceType> <psservice:serviceDescription>This is my testing MA</psservice:serviceDescription> </psservice:service> </perfsonar:subject> </nmwg:metadata> <nmwg:data xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="http://reed.man.poznan.pl:8080/axis/services/MA/1157757560124/0" metadataIdRef="http://reed.man.poznan.pl:8080/axis/services/MA"> <nmwg:metadata id="meta1"> <perfsonar:subject xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/" id="subj1"> <nmwgt:interface xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"> <nmwgt:hostName>atlang-hstnng.abilene.ucaid.edu</nmwgt:hostName> <nmwgt:ifName>unknown</nmwgt:ifName> <nmwgt:ifDescription>hstn:oc192(p2p)::show:intracloud</nmwgt:ifDescription> <nmwgt:ifAddress type="ipv4">198.32.8.34</nmwgt:ifAddress> <nmwgt:direction>in</nmwgt:direction> <nmwgt:capacity>10000000000</nmwgt:capacity> </nmwgt:interface> </perfsonar:subject> <nmwg:eventType>utilization</nmwg:eventType> </nmwg:metadata> </nmwg:data> <nmwg:data xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="http://reed.man.poznan.pl:8080/axis/services/MA/1157757560124/1" metadataIdRef="http://reed.man.poznan.pl:8080/axis/services/MA"> <nmwg:metadata id="meta2"> <perfsonar:subject xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/" id="subj1"> <nmwgt:interface xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"> <nmwgt:hostName>atlang22-hstnng.abilene.ucaid.edu</nmwgt:hostName> <nmwgt:ifName>unknown</nmwgt:ifName> <nmwgt:ifDescription>hstn:oc192(p2p)::show:intracloud</nmwgt:ifDescription> <nmwgt:ifAddress type="ipv4">198.32.8.34</nmwgt:ifAddress> <nmwgt:direction>in</nmwgt:direction> <nmwgt:capacity>10000000000</nmwgt:capacity> </nmwgt:interface> </perfsonar:subject> <nmwg:eventType>utilization</nmwg:eventType> </nmwg:metadata> </nmwg:data> </lookup-storage-from-query></psservice:datum> </nmwg:data> </nmwg:message>
<?xml version='1.0' encoding='UTF-8'?> <!-- Purpose: Register service and capability information with an LS --> <nmwg:message type="LSRegisterRequest" id="msg1" xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/" xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/" xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"> <nmwg:metadata id="serviceLookupInfo"> <perfsonar:subject id="commonParameters" xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"> <psservice:service id="serviceParameters" xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/"> <psservice:serviceName>My_test_MA</psservice:serviceName> <psservice:accessPoint>http://reed.man.poznan.pl:8080/axis/services/MA</psservice:accessPoint> <psservice:serviceType>MA</psservice:serviceType> <psservice:serviceDescription>This is my testing MA</psservice:serviceDescription> </psservice:service> </perfsonar:subject> </nmwg:metadata> <nmwg:data id="data0" metadataIdRef="serviceLookupInfo"> <nmwg:metadata id="meta1"> <perfsonar:subject id="subj1" xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"> <nmwgt:interface xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"> <nmwgt:hostName>atlang-hstnng.abilene.ucaid.edu</nmwgt:hostName> <nmwgt:ifName>unknown</nmwgt:ifName> <nmwgt:ifDescription>hstn:oc192(p2p)::show:intracloud</nmwgt:ifDescription> <nmwgt:ifAddress type="ipv4">198.32.8.34</nmwgt:ifAddress> <nmwgt:direction>in</nmwgt:direction> <nmwgt:capacity>10000000000</nmwgt:capacity> </nmwgt:interface> </perfsonar:subject> <nmwg:eventType>utilization</nmwg:eventType> </nmwg:metadata> </nmwg:data> <nmwg:data id="data1" metadataIdRef="serviceLookupInfo"> <nmwg:metadata id="meta2"> <perfsonar:subject id="subj1" xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"> <nmwgt:interface xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"> <nmwgt:hostName>atlang22-hstnng.abilene.ucaid.edu</nmwgt:hostName> <nmwgt:ifName>unknown</nmwgt:ifName> <nmwgt:ifDescription>hstn:oc192(p2p)::show:intracloud</nmwgt:ifDescription> <nmwgt:ifAddress type="ipv4">198.32.8.34</nmwgt:ifAddress> <nmwgt:direction>in</nmwgt:direction> <nmwgt:capacity>10000000000</nmwgt:capacity> </nmwgt:interface> </perfsonar:subject> <nmwg:eventType>utilization</nmwg:eventType> </nmwg:metadata> </nmwg:data> </nmwg:message>
<?xml version="1.0" encoding="UTF-8"?> <nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="localhost.localdomain.-388a3205:10d8fba60c2:-7fec" type="LSRegisterResponse"> <nmwg:metadata id="resultCodeMetadata_0"> <nmwg:eventType>result.success</nmwg:eventType> <nmwg:key id="localhost.localdomain.-388a3205:10d8fba60c2:-7feb"> <nmwg:parameters id="localhost.localdomain.-388a3205:10d8fba60c2:-7fea"> <nmwg:parameter name="lsKey" value="http://reed.man.poznan.pl:8080/axis/services/MA" /> </nmwg:parameters> </nmwg:key> </nmwg:metadata> <nmwg:data id="resultCodeData_0" metadataIdRef="resultCodeMetadata_0"> <nmwg:datum value="Data has been registered with key [http://reed.man.poznan.pl:8080/axis/services/MA]" /> </nmwg:data> </nmwg:message>
- LSResponse's have > and < instead of '>' and '<', Jeff W. Boote, 09/08/2006
- Re: [pS-dev] LSResponse's have > and < instead of '>' and '<', Jason Zurawski, 09/08/2006
- Re: [pS-dev] LSResponse's have > and < instead of '>' and '<', Maciej Glowiak, 09/11/2006
- Re: [pS-dev] LSResponse's have > and < instead of '>' and '<', Jeff W. Boote, 09/11/2006
- Re: [pS-dev] LSResponse's have > and < instead of '>' and '<', Maciej Glowiak, 09/11/2006
- Re: [pS-dev] LSResponse's have > and < instead of '>' and '<', Jason Zurawski, 09/08/2006
Archive powered by MHonArc 2.6.16.