hello,

i have been trying to register to the DefaultIndexService one of my
services, doint it inside my java code.

it seems to work (if i make a general query after that with the expression
"/" my service appears in the solution given), but when it is registering
the container prints this error:


2008-07-17 01:27:22,930 ERROR impl.QueryAggregatorSource
[Timer-6,pollGet:122] Exception Getting Resource Property from
http://192.0.0.4:8080/wsrf/services/ResourceBrokerService:
org.oasis.wsrf.properties.ResourceUnknownFaultType caused by [0:
org.oasis.wsrf.faults.BaseFaultType]



the registration file is quite simple:

<?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";>

<ServiceGroupEPR>
   <wsa:Address>http://localhost:8080/wsrf/services/DefaultIndexService
</wsa:Address>
</ServiceGroupEPR>


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

   <!-- Specifies an EPR of the RFT factory service to be registered.
        Change the hostname (and port) to point to the correct
        location. -->
    <RegistrantEPR
           xmlns:agg="http://mds.globus.org/aggregator/types";
           xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing";>
           <wsa:Address>
              http://localhost:8080/wsrf/services/ResourceBrokerService
           </wsa:Address>
    </RegistrantEPR>

   <!-- Specifies that the registration will be renewed every 600
        seconds (= 10 minutes) -->
    <RefreshIntervalSecs>600</RefreshIntervalSecs>


   <!-- <Content> specifies registration specific information -->
    <Content
            xmlns:agg="http://mds.globus.org/aggregator/types";
            xmlns:tns="
http://www.globus.org/namespaces/wsrf/ResourceBrokerService";
            xsi:type="agg:AggregatorContent">
           <agg:AggregatorConfig xsi:type="agg:AggregatorConfig">

              <agg:GetResourcePropertyPollType
                    xmlns:tns="
http://www.globus.org/namespaces/wsrf/ResourceBrokerService";>
            <!-- Specifies that the index should refresh information
                 every 60000 milliseconds (once per minute) -->
                 <agg:PollIntervalMillis>6000</agg:PollIntervalMillis>

            <!-- specifies that all Resource Properties should be
                 collected from the RFT factory -->

<agg:ResourcePropertyName>tns:Value</agg:ResourcePropertyName>
              </agg:GetResourcePropertyPollType>
           </agg:AggregatorConfig>
           <agg:AggregatorData/>
    </Content>

</ServiceGroupRegistrationParameters>

</ServiceGroupRegistrations>






I need help with this.
Thanks in advance.

Reply via email to