import jp.dbcls.togows.soap.*;

public class KeggGetPathwaysByGenes {

    public static void main(String[] args) {
        try {
            String[] genes_id_list = {"eco:b0077", "eco:b0078"}; 

            TogowsKeggService service = new TogowsKeggServiceLocator();
            TogowsKeggPort stub = service.getTogowsKeggPort();

            String[] result = stub.keggGetPathwaysByGenes(genes_id_list);
            for (int i = 0; i < result.length; i++) {
                System.out.println(result[i]);
            }

        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
