Hello: My application needs to store information about my WS-Resources in the Index Service. The first part, the storing, is OK with the output in the attached file if we ask for a query to the IndexService. On the other hand when I try to retrieve the resources I need, I have a problem: I don't know how to query the IndexService to get the EPR. I'm programming in Java, and I can easily recover the ResourceProperties, but not the EPR. My main objective is to get the EPR in an EndpointReferenceType class.
Can anybody help me? Regards Carlos _________________________________________________________________ ¿Quieres los emoticonos y guiños más divertidos? Descárgate Internet Explorer 7, y consigue contenidos exclusivos cada semana. ¡Gratis! http://www.vivelive.com/IEAK7
<ns1:Entry> <ns1:ServiceGroupEntryEPR> <ns2:Address>https://10.0.104.3:8443/wsrf/services/DefaultIndexServiceEntry</ns2:Address> <ns3:ReferenceProperties xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/03/addressing"> <ns4:ServiceGroupEntryKey> <ns5:GroupKey>26128396</ns5:GroupKey> <ns6:EntryKey xmlns:ns6="http://mds.globus.org/aggregator/types">20481149</ns6:EntryKey> </ns4:ServiceGroupEntryKey> </ns3:ReferenceProperties> <ns7:ReferenceParameters xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/03/addressing"/> </ns1:ServiceGroupEntryEPR> <ns1:MemberServiceEPR> <ns8:Address xmlns:ns8="http://schemas.xmlsoap.org/ws/2004/03/addressing">https://10.0.104.3:8443/wsrf/services/examples/Benchmark6Service</ns8:Address> <ns9:ReferenceProperties xmlns:ns9="http://schemas.xmlsoap.org/ws/2004/03/addressing"> <ns1:Benchmark6ResourceKey xmlns:ns1="http://gsic.tel.uva.es/namespaces/examples/Benchmark6Service">f6094a30-653c-11dd-b7e1-cebcce41816b</ns1:Benchmark6ResourceKey> </ns9:ReferenceProperties> <ns10:ReferenceParameters xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/03/addressing"/> </ns1:MemberServiceEPR> <ns1:Content xsi:type="ns11:AggregatorContent" xmlns:ns11="http://mds.globus.org/aggregator/types"> <ns11:AggregatorConfig> <ns11:GetMultipleResourcePropertiesPollType> <!-- bs: Benchmark6Service --> <!-- Specifies that the index should refresh information every 20000 milliseconds (once every 20 seconds) --> <ns11:PollIntervalMillis>20000</ns11:PollIntervalMillis> <!-- specifies the resource property that should be aggregated --> <ns11:ResourcePropertyNames>bs:User</ns11:ResourcePropertyNames> <ns11:ResourcePropertyNames>bs:Benchmark</ns11:ResourcePropertyNames> <ns11:ResourcePropertyNames>bs:Host</ns11:ResourcePropertyNames> <ns11:ResourcePropertyNames>bs:Path</ns11:ResourcePropertyNames> <ns11:ResourcePropertyNames>bs:Cpu</ns11:ResourcePropertyNames> <ns11:ResourcePropertyNames>bs:Memory</ns11:ResourcePropertyNames> </ns11:GetMultipleResourcePropertiesPollType> </ns11:AggregatorConfig> <ns11:AggregatorData> <ns1:User xmlns:ns1="http://gsic.tel.uva.es/namespaces/examples/Benchmark6Service">U1ESP</ns1:User> <ns2:Benchmark xmlns:ns2="http://gsic.tel.uva.es/namespaces/examples/Benchmark6Service">B1ESP</ns2:Benchmark> <ns3:Host xmlns:ns3="http://gsic.tel.uva.es/namespaces/examples/Benchmark6Service">esparta.tel.uva.es</ns3:Host> <ns4:Path xmlns:ns4="http://gsic.tel.uva.es/namespaces/examples/Benchmark6Service">P1ESP</ns4:Path> <ns5:Cpu xmlns:ns5="http://gsic.tel.uva.es/namespaces/examples/Benchmark6Service">cpu_esparta</ns5:Cpu> <ns6:Memory xmlns:ns6="http://gsic.tel.uva.es/namespaces/examples/Benchmark6Service">memory_esparta</ns6:Memory> </ns11:AggregatorData> </ns1:Content> </ns1:Entry>
