Package org.fao.geonet.utils

Examples of org.fao.geonet.utils.XmlRequest.clearParams()


    if (params.useAccount)
    {
      log.info("Logout from : "+ name);

      req.clearParams();
      req.setAddress("/"+ params.getServletPath() +"/srv/en/"+ Geonet.Service.XML_LOGOUT);
    }

        dataMan.flush();
    }
View Full Code Here


    //--- retrieve info on categories and groups

    log.info("Retrieving information from : "+ params.host);

    req.setAddress(params.getServletPath() +"/srv/en/"+ Geonet.Service.XML_INFO);
    req.clearParams();
    req.addParam("type", "sources");
    req.addParam("type", "groups");

    Element remoteInfo = req.execute();
View Full Code Here

    XmlRequest req = context.getBean(GeonetHttpRequestFactory.class).createXmlRequest(new URL(params.host));

    Lib.net.setupProxy(context, req);

    req.setAddress(params.getServletPath() +"/srv/en/"+ Geonet.Service.XML_METADATA_RATE);
    req.clearParams();
    req.addParam("uuid",   uuid);
    req.addParam("rating", rating);

    Element response = req.execute();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.