W3C home > Mailing lists > Public > public-rif-dev@w3.org > February 2011

Re: defining external functions

From: Adil Hasan <adilhasan2@gmail.com>
Date: Fri, 04 Feb 2011 10:45:36 +0000
Message-ID: <4D4BD8D0.9020603@gmail.com>
To: Sandro Hawke <sandro@w3.org>
CC: public-rif-dev@w3.org
Hello Sandro,
Sorry for the delay I was travelling. What I want to do is to be able to 
describe an event-condition-action rule
such as if a file is less than 1GB copy it to the cache storage 
resource. What I have done is to write this in RIF presentation syntax
and then realised that I needed to define the file and the storage 
resource. I used plain XML to do that. So I had a prefix for the file
object definitions and then I realised that I needed to define the copy 
function. So, someone suggested to me that I could abstractly
describe it in WSDL and then I just used that in the RIF document.

If you would be willing to point me in the right direction I'd be very 
grateful. I hope that the result of this would be a little rule that 
shows how to go from RIF to a real enforcible rule that can help some 
people. I'm quite willing to send to you what I have and you can 
criticise it and point out where I am going wrong etc (I fear I'm not 
the smartest person around). I guess we could do that outside of the 
list and then hopefully post to the list the condensed summary.

Many thanks for your response.
Hope all is well,
adil

On 01/02/11 12:57, Sandro Hawke wrote:
> On Mon, 2011-01-24 at 17:30 +0000, Adil Hasan wrote:
>> Hello,
>> Does anyone have any guidance on how to define external
>> functions/services that are used in an RIF document? I make use of a
>> CopyData
>> function that takes 3 arguments and someone suggest to me to use WSDL.
>> Do you think that would work?
>> many thanks for your help,
>> adil
> It looks like no one else has replied yet, so let me ask: can you spell
> out in a little more detail what you're trying to do?  In particular, is
> this all inside your own system, or are you trying to have some
> interoperability with other systems?
>
>      -- Sandro
>
>
Received on Friday, 4 February 2011 10:46:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 4 February 2011 10:46:13 GMT