import jp.dbcls.togows.soap.*;

public class KeggGetReactionsByCompound {

    public static void main(String[] args) {
        try {
            String compound_id = "cpd:C00199"; 

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

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

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