Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7705995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:00:14+00:00 2026-06-01T00:00:14+00:00

Hi I am trying to use search plugin installed for openfire. I am sending

  • 0

Hi I am trying to use search plugin installed for openfire. I am sending an iq request using the code,

  NSXMLElement *queryElement = [NSXMLElement elementWithName:@"query" xmlns:@"jabber:iq:search"];
  NSXMLElement *iqElement = [NSXMLElement elementWithName:@"iq"];
  [iqElement addAttributeWithName:@"type" stringValue:@"get"];
  [iqElement addAttributeWithName:@"from" stringValue:@"aravind@gotztools"];
  [iqElement addAttributeWithName:@"to" stringValue:@"gotztools"];
  [iqElement addAttributeWithName:@"id" stringValue:@"search1"];
  [iqElement addAttributeWithName:@"xml:lang" stringValue:@"en"];
  [iqElement addChild:queryElement];
  NSLog(@"%@",[iqElement stringValue] );
  [[self appDelegate].xmppStream sendElement:iqElement];

while sending, the following request is sent,

<iq type="get" from="aravind@gotztools" to="gotztools" id="search1" xml:lang="en">
  <query xmlns="jabber:iq:search"/>
</iq>

I am getting an error as,

 <iq xmlns="jabber:client" type="error" id="search1" from="gotztools" to="aravind@gotztools/9bd01a04"><query xmlns="jabber:iq:search"/><error code="501" type="cancel"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>

What is the problem with this. Please help me to solve this.
Thanks in advance..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T00:00:16+00:00Added an answer on June 1, 2026 at 12:00 am

    Check whether your search plugin is enabled in openfire admin. You are trying to send request to gotztools. It is just a domain name. Check the search name in Search service Settings in server settings of your openfire admin console. Send request to that Name to get reply. Hope this helps you…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use the advanced query syntax as linked in the Search documentation.
I'm using CakePHP 1.3.8, and I've installed the CakeDC Search plugin . I have
I'm trying to use the DataTables jQuery plug-in in MVC3 using an ajax request
Below is a snippet of code i am trying to use to search an
I'm trying to use the Autocomplete plugin to produce a search box similar to
I am trying use gem tire to search in my application. I have tables
I am trying to use jQuery to search through a list of links and
I am trying to use a Java project called Search in my another Web
I have been trying to use array_unique to remove duplicates from the search results
I'm trying to use Google's Images API to search an image and put it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.