<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>RE: [JDEV] (no subject)</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>I'm only partially familiar with JabberBeans (serverside only), but don't you need to send some search data? Looks like you're building an empty search request and getting a 404.</FONT></P>
<P><FONT SIZE=2>What does the JUD return when the data you sent results in a null set?</FONT>
</P>
<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: Igor Borisovsky [<A HREF="mailto:igor@datanaut.sci-nnov.ru">mailto:igor@datanaut.sci-nnov.ru</A>]</FONT>
<BR><FONT SIZE=2>> Sent: Friday, January 12, 2001 10:14 AM</FONT>
<BR><FONT SIZE=2>> To: jdev@jabber.org</FONT>
<BR><FONT SIZE=2>> Subject: [JDEV] (no subject)</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Hi all!</FONT>
<BR><FONT SIZE=2>> I have a own java client for jabber server.</FONT>
<BR><FONT SIZE=2>> I use jabberbeans api (<A HREF="http://www.jabberbeans.com" TARGET="_blank">http://www.jabberbeans.com</A>).</FONT>
<BR><FONT SIZE=2>> I can't to obtain the searchable fields.</FONT>
<BR><FONT SIZE=2>> See example of the source code:</FONT>
<BR><FONT SIZE=2>> ------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>> public void sendSearchRequest()</FONT>
<BR><FONT SIZE=2>> {</FONT>
<BR><FONT SIZE=2>> InfoQueryBuilder iqb = new InfoQueryBuilder();</FONT>
<BR><FONT SIZE=2>> IQSearchRequestBuilder srb = new IQSearchRequestBuilder();</FONT>
<BR><FONT SIZE=2>> try</FONT>
<BR><FONT SIZE=2>> {</FONT>
<BR><FONT SIZE=2>> iqb.addExtension(srb.build());</FONT>
<BR><FONT SIZE=2>> iqb.setType("get");</FONT>
<BR><FONT SIZE=2>> iqb.setFromAddress(new</FONT>
<BR><FONT SIZE=2>> JID(getUser(),getHostName(),getResource()));</FONT>
<BR><FONT SIZE=2>> iqb.setToAddress(JID.fromString(getHostName()));</FONT>
<BR><FONT SIZE=2>> InfoQuery iq = (InfoQuery)iqb.build();</FONT>
<BR><FONT SIZE=2>> cb.send(iq);</FONT>
<BR><FONT SIZE=2>> }</FONT>
<BR><FONT SIZE=2>> catch(Exception e)</FONT>
<BR><FONT SIZE=2>> {</FONT>
<BR><FONT SIZE=2>> System.out.println(e.toString());</FONT>
<BR><FONT SIZE=2>> }</FONT>
<BR><FONT SIZE=2>> }</FONT>
<BR><FONT SIZE=2>> -----------------------------------------------------</FONT>
<BR><FONT SIZE=2>> The responce from the server is:</FONT>
<BR><FONT SIZE=2>> <iq to="test35@jabber.org/ag" from="jabber.org" id="3" type="error"></FONT>
<BR><FONT SIZE=2>> <error code="404">Not Found</error></FONT>
<BR><FONT SIZE=2>> <query xmlns="jabber:iq:search"></query></FONT>
<BR><FONT SIZE=2>> </iq></FONT>
<BR><FONT SIZE=2>> -----------------------------------------------------</FONT>
<BR><FONT SIZE=2>> Can anyone help me?</FONT>
<BR><FONT SIZE=2>> ---------------------------</FONT>
<BR><FONT SIZE=2>> Igor Borisovsky</FONT>
<BR><FONT SIZE=2>> Nizhny Novgorod</FONT>
<BR><FONT SIZE=2>> DataNaut Inc.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> _______________________________________________</FONT>
<BR><FONT SIZE=2>> jdev mailing list</FONT>
<BR><FONT SIZE=2>> jdev@jabber.org</FONT>
<BR><FONT SIZE=2>> <A HREF="http://mailman.jabber.org/listinfo/jdev" TARGET="_blank">http://mailman.jabber.org/listinfo/jdev</A></FONT>
<BR><FONT SIZE=2>> </FONT>
</P>
</BODY>
</HTML>