On Mon, 08 Sep 2008 12:48:29 +0200, Dominik Tarnawczyk wrote:

> Dominik Tarnawczyk wrote:
>> Hi,
>> How to add service to registry (CltMgtRegistryResourceConversation) ? I
>> can add data stagers and jobs but when I'm trying to add whole service
>> (using registerResource method) which has EPR containing only:
>> "Address:
>> https://my.host:8080/gria-basic-app-services/services/DataService"; I'm
>> getting this error :
>> java.lang.IllegalArgumentException: Resource Type of 'Address:
>> https://https://my.host:8080//gria-basic-app-services/services/DataService
>> ' is null
>>
> I've tried to set resource type of Data Service on:
> "{http://www.it-innovation.soton.ac.uk/2004/grid/data}DataService"; using
> method:
> ConversationID.setResourceType(dataServiceEPR,
> "{http://www.it-innovation.soton.ac.uk/2004/grid/data}DataService";); It
> is working but I think it isn't a very clean solution. Is there other
> possibility of setting proper resource type to Data Service ?

Hi Dominik,

You should be able to register a service like this:

  def service = serviceFactory.createServiceProxy(wsdl)
  registry.registerMonitorableResource(service.getEndpointRef(), "monitor")


-- 
Dr Thomas Leonard
IT Innovation Centre
2 Venture Road
Southampton
Hampshire SO16 7NP

Tel: +44 0 23 8076 0834
Fax: +44 0 23 8076 0833
mailto:[EMAIL PROTECTED]
http://www.it-innovation.soton.ac.uk 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gria-general mailing list
gria-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gria-general

Reply via email to