When i try to configure a pre-existing pubsub node that I created, I get an error response from the server which says :
<error type="modify" code="400" >
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
Here is the XML I use to configure the node :
<iq type="set" from="client100@cisco-dc.com/ubuntu" to="pubsub.cisco-dc.com" id="create1">
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<configure node='/home/cisco-dc.com/client100'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE' type='hidden'>
<value>http://jabber.org/protocol/pubsub#node_config</value>
</field>
<field var='pubsub#access_model'><value>open</value></field>
</x>
</configure>
</pubsub>
</iq>
I dont know what I am doing wrong. Any help would be grateful
Thanks
Arpan