Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8310775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:34:58+00:00 2026-06-08T19:34:58+00:00

I am trying create a node in ejabber using XMPP and BOSH Manager. But

  • 0

I am trying create a node in ejabber using XMPP and BOSH Manager. But I want to know what values need to be passed in a create node stanza.

Following is the format of create node stanza but i am not be able to create it so can anyone tell me what values need to be passed
in <formvalue> <tovalue> <nodevalue>

<iq type='set'
    from='<fromvalue>'
    to='<tovalue>'
    id='create1'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <create node='<nodevalue>'/>
  </pubsub>
</iq>

Note:
I am using ejabbered and BOSH url is http://example.com:5280/xmpp-http-bind.

i tried this and i am getting feature-not-implemented error

<body rid='95507820' xmlns='http://jabber.org/protocol/httpbind' sid='5c4fbfe432babab58fe5e39367fc1704c06ddfd7'>
   <presence xmlns='jabber:client'>
      <priority>-1</priority>
   </presence>
<iq to='example.com' type='set' xmlns='jabber:client' id='3742:sendIQ'>
   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     <create/>
     <configure/>
  </pubsub>
</iq>
</body>

i tried another way too and in that case i am getting creation failed with jid-malformed

<body rid='2037203608' xmlns='http://jabber.org/protocol/httpbind' sid='2a198251db476ef0490a4d3f591468b69edaf35b'>
   <presence xmlns='jabber:client'>
     <priority>-1</priority>
   </presence>
<iq to='example.com' type='set' xmlns='jabber:client' id='7398:sendIQ'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <create node='draw'/>
  </pubsub>
 </iq>

i tried with filepath too but i am getting creation failed with forbidden

<body rid='358865391' xmlns='http://jabber.org/protocol/httpbind' sid='0f7cf72754f0fc3b0b04c8c0bb488e816380d741'>
    <presence xmlns='jabber:client'>
        <priority>-1</priority>
    </presence>
    <iq to='pubsub.example.com' type='set' xmlns='jabber:client' id='8556:sendIQ'>
        <pubsub xmlns='http://jabber.org/protocol/pubsub'>
            <create node='/home/localhost/john/draw/'/>
        </pubsub>
    </iq>
</body>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T19:35:02+00:00Added an answer on June 8, 2026 at 7:35 pm

    Well, for a start here’s the relevant documentation.

    • from is the jid of the user sending the iq, as is always the case when sending an iq.
    • to is the Publish-Subscribe service you want to create the node to. A typical value would be pubsub.example.com but that really depends on your server’s configuration.
    • node takes the id of the node you create. In some server configurations this has a semantic meaning (typically a path) but try out with mynode for instance.

    It is possible that the user sending the iq is not allowed to create the node, or that the service does not support it. One could only tell depending on the error stanza if any, so if the above does not work, do post the error you get.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a module/class in node.js to measure asynchronous execution time but
hi I'm trying create chat using node.js I see example in http://chat.nodejs.org/ I have
I am pretty new to CoffeeScript. I am trying to create Node.js application using
I am trying to create a new node type like this: http://www.live-wtr.ru/leo/Tikz9.png but don't
I'm trying to create an activity feed list in redis using the redis-node library
I'm trying to create a multiplayer game using websockets, node and JavaScript. What is
Using XSLT 1.0, I'm trying to essentially create a small node set and then
I am trying to create a node using last.fm. $field = content_fields('field_my_image',events); //to get
I'm trying to create a websocket server with Node.js to run on a Windows
I am trying to create a tree like node diagram, like the example image

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.