Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Page: previous  1  2 
Avatar
preky #16
Member since Jan 2006 · 17 posts
Group memberships: Members
Show profile · Link to this post
I don't have that problem...I have SearchItem class, if that's what you were reffering. I think the problem is GetItem property returning Element type and maybe should be SearchItem. I could now make a workaround and doing xml parsing but... that's very ugly thing to do:)
Preky
Avatar
preky #17
Member since Jan 2006 · 17 posts
Group memberships: Members
Show profile · Link to this post
It's a JIVE server bug!
rcv stream is not recieving valid item namespace.
workaround in streamparser.cs around ln:244

correct to look like this:

  1. else if (name == "xmlns")
  2. {
  3.     if (val != null && val.Length > 0)  // add this
  4.             m_ns.AddNamespace(string.Empty, val);
  5. }
  6. else
  7. {
  8.     ht.Add(name, val);
  9. }

Thx, Alex!
Preky
This post was edited 3 times, last on 2006-02-17, 21:08 by Alex.
Avatar
Alex #18
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello,

i posted this bug in the JiveSoftware Forums and they fixed it already. This fix should be in the next daily build.

Alex
Avatar
sreedevi1984 #19
Member since Oct 2006 · 38 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 588
Subject: user search
I found in link for jep 0055, as follows

Example 1. Requesting Search Fields

  1. <iq type='get'
  2.    from='romeo@montague.net/home'
  3.    to='characters.shakespeare.lit'
  4.    id='search1'
  5.    xml:lang='en'>
  6.  <query xmlns='jabber:iq:search'/>
  7. </iq>

My doubt is:
from = myJid.. and what about to = ?

Please help me ....

Thanks,
Sreedevi
This post was edited on 2015-07-29, 11:06 by Alex.
Avatar
Jabberer #20
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
The from is optional, you don't need it.
To is the Jid of the search component.
There is a complete search example in the MiniClient.
Software Developer
AG-Software
Avatar
sreedevi1984 #21
Member since Oct 2006 · 38 posts
Group memberships: Members
Show profile · Link to this post
what is the search component ?

 I saw the sample code in MiniClient . But I didn't understand what's the Services ? Services are taken from Util.Services.Search. What does it contain ?

Please help me.

Thanks,
Sreedevi.S
Avatar
Alex #22
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
This are the search services which the MiniClient discovers with Service Discovery (XEP-0030) after the login on the server to which you are connected.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page: previous  1  2 
Forum: agsXMPP RSS