[JDEV] Help: Invalid namespace specified
David S. Hansen
codepoet at wildties.com
Thu Mar 8 04:15:00 CST 2001
Hello. Running jabberd 1.4. I'm hacking together an out-of-process smtp
transport in java for use in an internal application, without JabberBeans -
all from scratch. I was able to work fine, at first, with client streams,
but when I tried to do the same thing with server streams, all hell broke
loose =)
As far as I can tell, there is ZERO documentation on using jabber:server.
>From my jabber.xml:
<service id="smtp.mim.domain.com">
<host/>
<accept>
<ip/>
<port>1001</port>
<secret>password</secret>
</accept>
</service>
>From my outside service, I connect to port 1001, and send the following xml:
<?xml version="1.0" encoding="UTF-8" ?>
<stream:stream
xmlns:stream="http://etherx.jabber.org/streams"
xmlns="jabber:server"
from="smtp.mim.domain.com"
to="mim.domain.com"> ( and many other variations, including
xmlns:etherx="http://etherx.jabber.org"
etherx:secret="password" and the dialback method )
As a response, I get back:
<stream:error>Invalid namespace specified.</stream:error>
And jabberd dumps the following to the console:
20010308T10:15:47: [warn] (smtp.mim.domain.com): Recv'd invalid namespace.
Closing connection.
Now I've spent several hours scratching my head over this one, and it would
appear that the people who document jabber don't do as good a job for
server/server communication as they do for client/server, so I'm hoping
someone out there could help me out. Pretty please =)
More information about the JDev
mailing list