How to add a feature to JID?

Hi,

We are trying to communicate with a server which has implemented a custom feature and we need to subscribe to the same for any input JID. If my application is acting like a client to it and want to subscribe to this feature, is there any way to achieve the same?

Thanks,

Jaya Krishna