not able to create node with configuration in ejabberd

When i try to create a node with configuration values and send it to ejabberd , i am getting following error

No response from server.:
at org.jivesoftware.smackx.pubsub.packet.SyncPacketSend.getReply(SyncPacketSend.java:50)
at org.jivesoftware.smackx.pubsub.packet.SyncPacketSend.getReply(SyncPacketSend.java:61)
at org.jivesoftware.smackx.pubsub.PubSubManager.sendPubsubPacket(PubSubManager.java:324)
at org.jivesoftware.smackx.pubsub.PubSubManager.sendPubsubPacket(PubSubManager.java:318)
at org.jivesoftware.smackx.pubsub.PubSubManager.createNode(PubSubManager.java:134)
at com.bcl.NodeManager.createNode(NodeManager.java:226)
at com.bcl.NodeManager.access$0(NodeManager.java:201)
at com.bcl.NodeManager$1.run(NodeManager.java:90)
at java.lang.Thread.run(Thread.java:1019)

this is how i send create stanza to ejabberd server , am i missing configuration over here or doing something wrong ?

<body ack='4420457072474222' rid='4420457072474224' sid='722a9c032bbb70f3fbcc4990499f21c5bc9c3ca4' xmlns='http://jabber.org/protocol/httpbind'>
<iq id="06Jh9-2" type="set">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<create node='pick'/>
<configure>
<x xmlns="jabber:x:data" type="submit">
<field var="pubsub#access_model" type="list-single">
<value>open</value>
</field>
<field var="pubsub#deliver_payloads" type="boolean">
<value>0</value>
</field>
<field var="pubsub#notify_retract" type="boolean">
<value>1</value>
</field>
<field var="pubsub#persist_items" type="boolean">
<value>1</value>
</field>
<field var="pubsub#publish_model" type="list-single">
<value>open</value>
</field>
</x>
</configure>
</pubsub>
</iq>
</body>
Syndicate content