code: public ReportedData sendSimpleSearchForm(XMPPConnection con, Form searchForm, DomainBareJid searchService) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          SimpleUserSearch search = new SimpleUserSearch();
          search.setForm(searchForm);
          search.setType(IQ.Type.set);
          search.setTo(searchService);
  
          SimpleUserSearch response = con.createStanzaCollectorAndSend(search).nextResultOrThrow();
          return response.getReportedData();
      }
docs: Sends the filled out answer form to be sent and queried by the search service.
  
  @param con           the current XMPPConnection.
  @param searchForm    the <code>Form</code> to send for querying.
  @param searchService the search service to use. (ex. search.jivesoftware.com)
  @return ReportedData the data found from the query.
  @throws XMPPErrorException
  @throws NoResponseException
  @throws NotConnectedException
  @throws InterruptedException