[JDEV] Jabber Component Development Guide

Hemendra Rana hrana at orative.com
Fri Aug 1 11:45:35 CDT 2003


Thanks guys, that worked!

-----Original Message-----
From: David 'TheRaven' Chisnall [mailto:theraven at sucs.org] 
Sent: Wednesday, July 30, 2003 7:17 AM
To: jdev at jabber.org
Subject: Re: [JDEV] Jabber Component Development Guide

I believe that port 5222 is set up for client to server communication, 
so connecting to that port with a component namespace will be invalid.  
You will need to put something like:

 <service id="myservicelinker">
   <host>myservice.localhost</host>
   <accept>
     <ip>127.0.0.1</ip> <!--Or whatever the IP of the component is-->
     <port>5233</port>
     <secret>mysecret</secret>
     <timeout>30</timeout>
   </accept>
 </service>

In your jabber.xml file.  If you want the service to be browsable you 
will also need to add something to the browse section of your jabber.xml

file.

Hemendra Rana wrote:

> I telnetted to port 5222 of the JabberD running on my machine and sent

> it the following data:
>
>  
>
> <stream:stream xmlns='jabber:component:accept' 
> stream:xmlns='http://etherx.jabber.org/streams' to='localhost'>
>
>  
>
> I got the following in response from the server:
>
>  
>
> <?xml version='1.0'?><stream:stream 
> xmlns:stream='http://etherx.jabber.org/streams' id='3F270909' 
> xmlns='jabber:client' from='localhost'><stream:error>Invalid 
> Namespace</stream:error></stream:stream>
>
>  
>
> Connection to host lost.
>
>  
>
> Any idea what I might be doing wrong?
>
>  
>
> Thanks!
>
>  
>
>  
>
> -----Original Message-----
> *From:* Hemendra Rana
> *Sent:* Tuesday, July 29, 2003 4:25 PM
> *To:* jdev at jabber.org
> *Subject:* [JDEV] Jabber Component Development Guide
>
>  
>
> I am new to the Jabber world and would like to develop and run a 
> Jabber Component. Is there a Component Development Guide available 
> somewhere? Pointers will be highly appreciated. The one that I found 
> at jabber.org is empty.
>
>  
>
> Thanks in advance!
>
>  
>


_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev



More information about the JDev mailing list