If I understand the question, you can access RMD contents from your code
using something similar to:

        ...

        // get property collection for this resource
        WsResource resource = getWsResource();
        ResourcePropertyCollection props = resource.getPropertyCollection();

        // get the resource metadata descriptor
        MetadataDescriptor metadata = props.getMetadata();

        // if there's a TopicExpression property
        if (metadata.hasProperty(WsnConstants.TOPIC_EXPRESSION_QNAME)) {
            // loop over all topic expression values
            Iterator i = metadata.getStaticValues(
                    WsnConstants.TOPIC_EXPRESSION_QNAME).iterator();

        ...


> Hi,
> Is there any way to get the RMD contents like the way we have for
> retrieving WSDL?
> If I have a few properties and in that  one or two is for Metrics, then
> how can I get those properties alone that are for metrics?
>
> Please help me out get this done.
>
> Regards,
> Hariharan L Narayanan
> System Software Engineer
> India Software Labs
> IBM India (P) Ltd
> Ph:(080) 41055498



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to