Subject: invalid-namespace error on Pub sub node creation
Hello,
I'm trying to create pubsub node from independent thread:
When I try to create node, the result is failed without event XmppClient_OnNodeCreationIq triggered.
When I log xml stream, I get this stream error (but the stream sensed appears right):
But, when I try in a sample console application, Node creation takes no problem. This error is not documented into XEP docs.
Do you know where the problem can be here?
Thanks,
I'm trying to create pubsub node from independent thread:
- void XmppClient_OnLogin(object sender, Matrix.EventArgs e)
- {
- System.Diagnostics.Debug.WriteLine("logged with status : " + e.State);
- CurrentPubSubManager.CreateNode(m_psJid, "test", new EventHandler<IqEventArgs>(XmppClient_OnNodeCreationIq));
- }
When I try to create node, the result is failed without event XmppClient_OnNodeCreationIq triggered.
When I log xml stream, I get this stream error (but the stream sensed appears right):
- Send : <iq id="MX_1" type="set" to="pubsub.xxxxx-test.m.in-app.io" xmlns="jabber:client">
- <pubsub xmlns="http://jabber.org/protocol/pubsub">
- <create node="test" />
- <configure />
- </pubsub>
- </iq>
- Receive :<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="xxxxx.m.in-app.io" version="1.0" >
- <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" id="245124085" from="xxxxx.m.in-app.io" xml:lang="en" >
- <stream:error xmlns:stream="http://etherx.jabber.org/streams">
- <invalid-namespace xmlns="urn:ietf:params:xml:ns:xmpp-streams" />
- </stream:error>
- </stream:stream>
But, when I try in a sample console application, Node creation takes no problem. This error is not documented into XEP docs.
Do you know where the problem can be here?
Thanks,
This post was edited 3 times, last on 2015-02-05, 15:40 by Alex.