import jp.dbcls.togows.soap.*;

public class KeggGetPathwaysByCompounds {

    public static void main(String[] args) {
        try {
            String[] compound_id_list = {"cpd:C00033", "cpd:C00158"}; 

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

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

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