<div>Hi Jonathan,</div>
<div> Thanks a lot for your reply. You have cleared my confusion. Coming back to my first question, can anyone who has used XMPP4JS or JSJac know how to troubleshoot the issue.</div>
<div> </div>
<div>-Rohan<br><br> </div>
<div><span class="gmail_quote">On 7/7/08, <b class="gmail_sendername">Jonathan Dickinson</b> <<a href="mailto:jonathanD@k2.com">jonathanD@k2.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-ZA" vlink="purple" link="blue">
<div>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Hi Rohan,</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">BOSH is what Javascript libraries would use to communicate with a XMPP server (remember, Javascript cannot send raw data over the network, all comms must occur over HTTP).</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">What this means to you is that:</span></p>
<p style="TEXT-INDENT: -18pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><span>1.<span> </span></span></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">No client set up is needed. The javascript libraries (should) include everything you need. They simply use a special kind of AJAX to communicate with the server.</span></p>
<p style="TEXT-INDENT: -18pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><span>2.<span> </span></span></span><span style="FONT-SIZE: 11pt; COLOR: #1f497d">You need to find a server that supports BOSH connections. Maybe someone here is running one that does? You can try to connect to <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jabber.org/" target="_blank">jabber.org</a> and mabber or such should also have BOSH support.</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Best of luck!</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p><b><span lang="EN-US" style="FONT-SIZE: 10pt">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jdev-bounces@jabber.org" target="_blank">jdev-bounces@jabber.org</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jdev-bounces@jabber.org" target="_blank">jdev-bounces@jabber.org</a>] <b>On Behalf Of </b>Rohan Shah<br>
<b>Sent:</b> 07 July 2008 10:23 AM<br><b>To:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jdev@jabber.org" target="_blank">jdev@jabber.org</a><br><b>Subject:</b> [jdev] Issues in XMPP javascript libraries</span></p>
</div></div>
<div><span class="e" id="q_11afcb3a66cc2c13_1">
<p> </p>
<div>
<p>Hi All,</p></div>
<div>
<p> I am new to the XMPP world, and have just started to learn it. I want to build a small web client that connects to xmpp servers, and allows the user to chat. For this I tried using both XMPP4JS and JSJac. In the sample client provided by both of these libraries I am getting exceptions.In JSJac, am getting-</p>
</div>
<div>
<p>An error occured:<br>Code: 503<br>Type: cancel<br>Condition: service-unavailable</p></div>
<div>
<p> </p></div>
<div>
<p>And in XMPP4JS, i am getting the error-</p></div>
<div>
<p>There was an error(fatal=true): The error is not one of those defined herein; the connection manager SHOULD include application-specific information in the content of the wrapper.</p></div>
<div>
<p> </p></div>
<div>
<p>What else do I need to configure. I am running the sample client under Apache. Also what exactly is BOSH, and what needs to be setup at client side to configure BOSH</p></div></span></div></div></div></div><br>_______________________________________________<br>
JDev mailing list<br>FAQ: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.jabber.org/discussion-lists/jdev-faq" target="_blank">http://www.jabber.org/discussion-lists/jdev-faq</a><br>Forum: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>
Info: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>Unsubscribe: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br><br></blockquote></div><br>