You need to invoke GetResourceProperty on the wsnt:Topic property:

WsResourceClient client = new WsResourceClient(...);
Element[] topicXML = client.getResourceProperty(WsnConstants.TOPIC_QNAME);

//
// you can also do this, but only with Muse's client:
//
QName[] topicNames = client.getPropertyAsObject(WsnConstants.TOPIC_QNAME, 
QName.class);


Assuming this is a non-Java client, just make a GetRP request for the 
wsnt:Topic property:

<wsrf-rp:GetResourceProperty 
        xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"; 
        xmlns:wsnt="http://docs-oasis-open.org/wsn/b-2";>
   wsnt:Topic
</wsrf-rp:GetResourceProperty>



"Ramesh Gurunathan" <[EMAIL PROTECTED]> wrote on 12/08/2006 
11:28:08 AM:

> Hi,
> 
> I would like to retrieve the list of Topics that are available for
> subscription. Could anyone advice me how I can do this? Let me be more
> specific. The web services client will retrieve list of Topics from
> the server and lets the user to select the appropriate subscription.
> Can this be achieved?
> 
> Thank you for your input
> 
> Ramesh
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to