GeneE Web service

Return to GeneE

GeneE is developed by Java, Spring, Ajax, JAX-WS, and JSF. It provides the following web service methods.

	/**
	 * Generate query based on identifier Abbreviation and identifier Id
	 * 
	 * @param identifierAbbreviation
	 * @param identifierId
	 * @param includeOrganism
	 * @return generated query
	 * @throws Exception
	 */
	public String generateQuery(String identifierAbbreviation, String identifierId, boolean includeOrganism) 
	
/** * Generate PubMed query based on identifier Abbreviation and identifier Id * * @param identifierAbbreviation * @param identifierId * @param includeOrganism * @return generated PubMed query * @throws Exception */ public String generatePubMedQuery(String identifierAbbreviation, String identifierId, boolean includeOrganism)
/** * Generate Google query based on identifier Abbreviation and identifier Id * * @param identifierAbbreviation * @param identifierId * @param includeOrganism * @return generated Google query * @throws Exception */ public String generateGoogleQuery(String identifierAbbreviation, String identifierId, boolean includeOrganism)
/** * Get the IdentifierType list * * @return IdentifierType list */ public IdemtifierType[] getIdentifierTypes()
/** * Translate from an identifier (identifierAbbreviation + identifier Id) to * related identifiers which has the same concept * * @param identifierAbbreviationFrom * @param identifierIdFrom * @param identifierAbbreviationTo * @return identifier list */ public String[] translateIdentifier(String identifierAbbreviationFrom, String identifierIdFrom,String identifierAbbreviationTo)

The wsdl is located in http://www.biosemantics.org:8080/geneE/GeneEWebservicePort?wsdl

If you use java, you can import this library and JAX-WS library to use GeneE webservice. Below is a sample code for client to call GeneE web service.

	public static void main(String[] args) throws Exception {
		GeneEWebserviceService service = new GeneEWebserviceService();
		GeneEWebservice delegate = service.getGeneEWebservicePort();
		System.out.println("generated query: " + delegate.generateQuery("EG", "160", true));
		 
	 }
								

Return to GeneE




Copyright 2009, The Biosemantics Group .