PubSub: subscribe via proxy possible?

Hi, I have an application that should act as a proxy for some front end client. Essentially when there is a request from a client with the JID say client_1@domain.com, the proxy should subscribe to a node of the PubSub service in the backend XMPP server (in this case it’s openfire). I’m using Smack PubSub extension 0.6.

I’m getting an error from the server:

<subscribe xmlns="[http://jabber.org/protocol/pubsub](http://jabber.org/protocol/pubsub)"/>
<invalid-jid xmlns="[http://jabber.org/protocol/pubsub#errors](http://jabber.org/protocol/pubsub#errors)"/>
<subscribe xmlns="[http://jabber.org/protocol/pubsub](http://jabber.org/protocol/pubsub)"/>
<invalid-jid xmlns="[http://jabber.org/protocol/pubsub#errors](http://jabber.org/protocol/pubsub#errors)"/>

Is this proxy operation possible at all? I looked at XEP-0060 Section 6.1.3.1 it seems possible.

For starters, get a Smack nightly build as that code already has several bug fixes in it. The pubsub jars are quite old and any maintenance is done in Smack itself since the code was integrated many months ago.