[JDEV] Help: Invalid namespace specified

David Waite dwaite at jabber.com
Thu Mar 8 07:41:47 CST 2001


I'll help you out, but first - are you trying to connect as a component into
the server's trust (so you can do things like access XDB of user accounts), or
are you trying to be a completely independant server piece? the 'service'
section in the jabber.xml points towards component access, but the use of
jabber:server implies that you are trrying to be separate (jabber:server is for
s2s communication, not for components)

-David Waite

"David S. Hansen" wrote:

> 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 =)
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev





More information about the JDev mailing list