hello,

I tried to extend the Mathservice Exemple i want to register a
resource to the defaultIndexService:

my configuration file(example-aggregator-registration.xml) is:

<?xml version="1.0" encoding="UTF-8" ?>

<ServiceGroupRegistrations

xmlns="http://mds.globus.org/servicegroup/client";

xmlns:sgc="http://mds.globus.org/servicegroup/client";

xmlns:xsd="http://www.w3.org/2001/XMLSchema";

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing";

xmlns:agg="http://mds.globus.org/aggregator/types";>

<ServiceGroupRegistrationParameters>

<ServiceGroupEPR>

<wsa:Address> 
http://127.0.0.1:8080/wsrf/services/DefaultIndexService</wsa:Address>

</ServiceGroupEPR>

<RegistrantEPR>

<wsa:Address> 
http://192.168.2.102:8080/wsrf/services/examples/core/factory/MathService</wsa:Address>

<wsa:ReferenceProperties>

<wsa:MathResourceKey>20722615</wsa:MathResourceKey>

</wsa:ReferenceProperties>

</RegistrantEPR>

<RefreshIntervalSecs>600</RefreshIntervalSecs>

<Content xmlns:agg="http://mds.globus.org/aggregator/types";
xsi:type="agg:AggregatorContent">

<agg:AggregatorConfig xsi:type="agg:AggregatorConfig">

<agg:GetResourcePropertyPollType
xmlns:notex="http://www.globus.org/namespaces/examples/core/MathService_instance";>

<agg:PollIntervalMillis>40000</agg:PollIntervalMillis>

<agg:ResourcePropertyName>notex:Value</agg:ResourcePropertyName>

</agg:GetResourcePropertyPollType>

</agg:AggregatorConfig>

<agg:AggregatorData/>

</Content>

</ServiceGroupRegistrationParameters>

</ServiceGroupRegistrations>



The epr.txt is:

<ns1:MathResourceReference xsi:type="ns2:EndpointReferenceType" xmlns:ns1="
http://www.globus.org/namespaces/examples/core/MathService_instance";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:ns2="
http://schemas.xmlsoap.org/ws/2004/03/addressing";>

<ns2:Address xsi:type="ns2:AttributedURI">
http://192.168.2.102:8080/wsrf/services/examples/core/factory/MathService
</ns2:Address>

<ns2:ReferenceProperties xsi:type="ns2:ReferencePropertiesType">

<ns1:MathResourceKey>20722615</ns1:MathResourceKey>

</ns2:ReferenceProperties>

<ns2:ReferenceParameters xsi:type="ns2:ReferenceParametersType"/>

</ns1:MathResourceReference>

But when i run this command i have:

$ bin/mds-servicegroup-add -s
http://127.0.0.1:8080/wsrf/services/DefaultIndexService$GLOBUS_LOCATION/etc/globus_wsrf_mds_aggregator/example-aggregator-regis
tration.xml
Processing configuration file...
Configuration File Error: org.globus.wsrf.encoding.DeserializationException:
Des
erialziation failed [Caused by: Invalid element in
org.globus.mds.servicegroup.c
lient.ServiceGroupRegistrationParameters - RegistrantEPR]
Error: Configuration File Error: No valid entries to register
What is the problem ?
Any help is appreciated
Many thanks

Reply via email to