The search web service returns results of search queries from PharmGKB. The WSDL for this service is available here.
search ( search text (string), is any (boolean), is phenotype (boolean), is genotype (boolean), is relationship (boolean) ) specialSearch ( search type (int) )
The is any parameter determines whether the is phenotype, is genotype and is relationship should be OR'd (if true) or AND'd (is false) together.
The search type shouldb be one of:
array of: [ PharmGKB accession #, type, name, hasPhenotype, hasGenotype, hasRelationship, PharmGKB URL ]