import jp.dbcls.togows.soap.*;

public class KeggGetPathwaysByReactions {

    public static void main(String[] args) {
        try {
            String[] reaction_id_list = {"rn:R00959", "rn:R02740", "rn:R00960", "rn:R01786"}; 

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

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

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