Hi Bruno,
I
appreciate the response...
As I understand
from what you say... if I want to use resource properties I am required to
create and add resource properties to the ResourcePropertySet.
And there
is no way to actually create a preset of resource properties that will be
automatically added to the resources?
Asaf
Lahav
VP R&D,
Prima Grid LTD.
Cellular:
972-54-4717955
Phone:
972-3-6540255
Fax:
972-3-6540254
-----Original
Message-----
From: Bruno Harbulot [mailto:Bruno.Harbulot
manchester.ac.uk]
Sent: Tuesday, May 09, 2006 7:12 PM
To: wsrf-user
ws.apache.org
Subject: Re: Custom resource properties
Sorry, I've
just realised that the resource properties document may do
what you
want. I'm just not sure if you mean custom resource properties
to be
those you want to access via GetResourcePropertyDocument.
Bruno.
Bruno
Harbulot wrote:
> Hi,
>
> It's not really clear what you mean by "custom" resource
properties.
> Aren't they all "custom"?
>
> I think that, according to the specs, properties may or may
not exist
> for a particular resource at a given point in time. This is
probably why
> they're not in the WSDL file (and why there is no extension
for them).
> One way to find out which properties are valid is to
implement
> QueryResourceProperties and to use it from the client (with "*").
> I also think one of the aims of WSRF is not to depend on an
> object-oriented approach. WSDL doesn't define 'methods' but
'operations'
> (within port types or the soon-to-come "interfaces"
in WSDL 2.0).
> Listing the object fields might be too close to a Java
class model
> (including reflection), although I can see the use for
knowing which
> properties a resource has got (and in this case, QueryResourceProperties
> seems to be fine).
>
> Regards,
>
> Bruno.
>
>
> Asaf Lahav wrote:
>
>> What is the best way to generate custom resource
properties?
>>
>> Is there a way to define custom resource properties in
the service
>> WSDL file like it's done with Methods?
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wsrf-user-unsubscribe
ws.apache.org
> For additional commands, e-mail: wsrf-user-help
ws.apache.org
>
---------------------------------------------------------------------
To
unsubscribe, e-mail: wsrf-user-unsubscribe
ws.apache.org
For
additional commands, e-mail: wsrf-user-help
ws.apache.org