Set browser proxy through JAVA API - is it possible?

I have a proxy that listening http traffic. And I need a solution to set my browser (it may be IE, FF, Safari) options to go through this proxy. Does anybody know possible solutions?

If each browser has a Java API you can use that, there is no support for assorted browsers built in to Java.

Similar Messages

  • Executing Workflow Task through JAVA APIs

    Hi,
    I'm able to send the workflow task to the next step with JAVA APIs.
    The problem comes here if I try to log in into MDM through IConnectorGatewayService.
    If I get a connection to MDM through CatalogData's login method, everything works fine, task is getting executed properly. But, if I try to run the same code where I get the connection through IConnectorGatewayService, the same code doesn't work.
    Surprisingly, there is no problem in retrieving data from MDM while connecting with ConnectorGatewayService.
    Please do let me know if I need to specify some parameters while getting the connection with IConnectorGatewayService so that I can change the workflow task status.
    Thanks and Regards,
    Mausam

    Hi Mausam
    Please go through this document u will get the solution
    https://help.sap.com/javadocs/MDM/current/index.html
    https://help.sap.com/javadocs/MDM/current/index.html
    I think it may help you
    Regards
    Hari

  • Bug report (and solution): adding multiple records through Java API in bulk

    I have found some bugs in the Java API (version 4.1.25) that makes it impossible to add mulitple values in bulk to a RECNO database. The fixes are as follows:
    MultipleEntry.java, line 80:
    "DbUtil.int2array(curr_off, this.data, pos);"
    should be replaced by
    " DbUtil.int2array(recno, this.data, pos);"
    MultipleRecnoDatabaseEntry.java, line 130:
    "return append_internal(data, doff, dlen, recno);"
    should be replaced by
    "return append_internal(data, offset, len, recno);"
    Regards,
    Johan Walters

    Hello,
    It looks like there were some corrections to this area in the post 4.1 i.e. 4.2 release. And I do not see these same issues in the current 5.1.25 release. If you do find them in the current release, just let us know.
    Thanks,
    Sandra

  • Calling MDM Assignments through Java API

    Hi there!
    Is there any way to call MDM assignment rule from Java application? As far as I know, there is no appropriate API function available (even in MDM 7.1), but may be there is some workaround to call these rules indirectly?
    Any help will be appreciated.

    Hi Ivan,
    As you already mentioned there are no Java API's to call assignments written in MDM.
    1. You can handle this by creating a workflow with only assignment component. But this activity will be a manual activity.
    2. You can also write assignments in Portal.
    Hope it hepls.
    Regards,
    Pramod

  • Accessing events for a Resource through Java API

    I need to display the calendar events for a Resource through a portlet preferably using Java WebServices API. I am trying to figure out if there is a way to authenticate as a Resource, similar to user authentication so that I can display events associated with that resource.
    Thanks,
    Niraj Dhondi

    login as sysop (connectAsSysop) and switch identity to the desired resource (setIdentity) .
    you may need to add the line
    allowsysoplogon_capi = TRUE
    to the [ENG] section in unison.ini .
    g.

  • Problem creating in some attribute options for class through java API

    Hello everyone,
    I am successfully creating class and its attributes but i am not able to create attributes with its option like IS REQUIRED, IS INDEXED, IS SETTABLE and READ ONLY.....
    public void create_class(String cname,String cdesc,String scname)
    try
    ClassObjectDefinition cod = new ClassObjectDefinition(csession);
    cod.setSuperclassName(scname);
    cod.setName(cname);
    ClassObject co = (ClassObject)csession.createSchemaObject(cod);
    AttributeDefinition ad2 = new AttributeDefinition(csession);
    ad2.setAttributeByUpperCaseName("NAME",AttributeValue.newAttributeValue("Divya"));
    ad2.setAttributeByUpperCaseName("DATATYPE",AttributeValue.newAttributeValue(Attribute.ATTRIBUTEDATATYPE_STRING));
    ad2.setAttributeByUpperCaseName("DATALENGTH",AttributeValue.newAttributeValue(151));
    ad2.setAttributeByUpperCaseName("DESCRIPTION",AttributeValue.newAttributeValue("This the attribute number 2"));
    //here is some problem,,, Is Required is not been able to set
    //ad2.setAttributeByUpperCaseName("REQUIRED",AttributeValue.newAttributeValue(true));
    co.addAttribute(ad2);
    catch(IfsException e)
    e.printStackTrace();
    }

    Hi Kabilesh,
    Could you please let me know the exast soution u had for this?
    I even set the SHLIB_PATH in the environment, but still this problem persists.
    I am compiling the program and making into a shared library as
    cc -c -g -n +z -I$JAVA_HOME/include -I$JAVA_HOME/include/hp-ux -L/opt/java1.4/jre/lib/PA_RISC2.0/server -ljvm Test.c -o Test.o
    ld -b Test.o -L/opt/java1.4/jre/lib/PA_RISC2.0/server -ljvm -o Test.slMy java code is looks like this :
    void create_Jvm()
        JNIEnv * env;
        JavaVM * jvm;
        //JDK1_1InitArgs vm_args;
        /* Note : In JNI1.2 and Java2 SDK 1.4, the new structure JavaVMInitArgs has been introduced.*/
        JavaVMInitArgs vm_args;
        //JavaVMOption options[1];
        jint res;
        vm_args.nOptions = 0;
        vm_args.ignoreUnrecognized = JNI_TRUE;
        /* IMPORTANT: specify vm_args version # if you use JDK1.1.2 and beyond */
        vm_args.version = JNI_VERSION_1_4;
        //vm_args.version = JNI_VERSION_1_2;
        /*In JNI1.2 and Java2 SDK 1.4 the JNI_GetDefaultJavaVMInitArgs method call is not required.*/
        //JNI_GetDefaultJavaVMInitArgs( & vm_args);
        res = JNI_CreateJavaVM( &jvm, (void**)&env, &vm_args);
        if (res < 0) {
            fprintf(stderr, "Can't create Java VM\n Error is :%ld\n ", res);
            exit(1);
        iJvmInitialized = 1;
    } hi
    Check the lib path
    May be u have not included : at the end of the lib
    path that u have added
    THis was the mistake that i did
    kabilesh

  • Manipulating xsd schemas through java api

    Hi,
    I am working on an aplication that requires on-line creation of new xsd schemas. I am looking for a package that will allow me to create such schemas (i dont want to have to understand all the schema logic myself and create just a regular xml document).
    I also require a way to be able to easily extract restrcitions regarding certain elements in the schema (i need to be able to answer questions such as what restrictions does X node have).
    Does anyone happen to know of a package that may help me?
    thanks!
    shahar

    Hi,
    I am working on an aplication that requires on-line creation of new xsd schemas. I am looking for a package that will allow me to create such schemas (i dont want to have to understand all the schema logic myself and create just a regular xml document).
    I also require a way to be able to easily extract restrcitions regarding certain elements in the schema (i need to be able to answer questions such as what restrictions does X node have).
    Does anyone happen to know of a package that may help me?
    thanks!
    shahar

  • Controlling Browser through Java

    Hi All,
    I have a question , is there any way we can controll browser(IE) through java(swing) application.
    In our application we need to launch two different IE browsers by clicking two buttons
    My question is if Button A is clicked browser with yahoo.com need to launch if button B is clicked msn.com should launch
    subsiquently if button A is clicked application should check weather yahoo.com is running if running then it should bring the browser with yahoo.com to front and if button B is clicked again the app. should bring msn.com to front
    if you can give me some example code that would be great

    Ok, I've got an answer for you, but its kind of lengthy. This code comes from Carnegie Mellon University, all thanks where due.
    import java.io.IOException
    public class BrowserControl
       public static void displayURL(String url)
         boolean windows = isWindowsPlatform();
         String cmd = null;
         try
            if (windows)
               cmd = WIN_PATH + " " + WIN_FLAG + " " + url;
               Process p = Runtime.getRuntime().exec(cmd);
            else
               cmd = UNIX_PATH + " " UNIX_FLAG + " (" + url + ")";
               Process p = Runtime.getRuntime().exec(cmd);
               try
                  int exitCode = p.waitFor();
                  if (exitCode != 0)
                     cmd = UNIX_PATH + " " + url;
                     p = Runtime.getRuntime().exec(cmd);
                catch (InterruptedException x)
                   System.err.println("Error bringing up browser");
                   System.err.println("Caught: " + x);
          catch(IOException x)
             System.err.println("Could not invoke browser");
             System.err.println("Caught: " + x);
       public static boolean isWindowsPlatform()
          String os = System.getProperty("os.name");
          if (os != null && startsWith(WIN_ID));
             return true;
          else
             return false;
       private static final String WIN_ID = "Windows";
       private static final String WIN_PATH = "rundll32";
       private static final String WIN_FLAG = "url.dll,FileProtocolHandler";
       private static final String UNIX_PATH = "netscape";
       private static final String UNIX_FLAG = "-remote openURL";
    }This is a real general class, it can be used in alot more specific instances (aka windows or UNIX specific) which might cut down on alot of the system checking codes. The important parts are the static Strings at the very end and putting some URL into the url variable via some textfield or other input method.
    As far as the technicalities of opening two different browser windows....I'm not sure on that. But I hope the above code helps.
    PS This code is from a hard copy printout, so there might be some minor syntax errors in my typing.

  • Can we use Essbase JAVA API in Hyperrion Planning

    Hi,
    I want to load data and extract data from Hyperion Planning applications. can i use Essbase Java APIs to do this Or is there any separate set of APIs available for Planning Applications ?
    Thanks a lot,
    Prince

    Hi John,
    I have following doubts regarding loading data to Hyperion planning by a custom connector
    1) Loading data to Hyperion Planning application using Essbase Java API would be possible at application layer (Hyperion Planning) or at database layer (loading data directly to essbase database) ?
    2) If we load data directly to essbase database how are we going to recognize which essbase server is connected with Hyperion Planning application ? Does user require to know in advance the underlying databse server ? Is there any API in Essbase or in Planning to connect to Planning application ?
    3) If we load data directly to essbase database how to find out Planning applications and essbase application ? In other words how to differentiate between essbase applications and Hyperion Planning appllications ? Or How to recognize Planning applications ? Is there any API in Essbase to find out this ?
    4) If we read data directly from Essbase how do we recognize data from a Planning application ?
    5) What is the difference between Classic planning application and EPMA planning application ? Can we develop a connector to work with both these flavour or type ?
    Please suggest.
    Thanks,
    Prince

  • Use MDM java Api for saving an image to mdm image table

    Hi experts
    I want to save an image from web dynpro java to MDM image table using java Api's
    Can anyone provide a code snippet .
    I am using MDM 7.1 sp6.
    Thanks and regards
    Suresh

    Hello Suresh
    Unfortunatly, this is no possible, i mean, to load images to mdm repository through JAVA API.
    Sure you can do it directly to database ( but for that you need to do saome investigation)
    Here you can found JAVA API classes for MDM:
    http://help.sap.com/javadocs/MDM71/
    Next two classes are working with BLOBs (pdf, images, video, etc.) in MDM repository:
    com.sap.mdm.blobs
    com.sap.mdm.blobs.commands
    Regards
    Kanstantsin chernichenka
    Edited by: kanstantsin_ch on Sep 8, 2011 2:36 PM

  • Read "Qualified Range Key Generation" with Java API.

    Hi guru,
    I use MDM 5.5 SP6.
    In MDM Console I read Qualified Range Key Generation it in "ADMIN -> Remote Systems -> Qualified Range".
    I have to get "Qualified Range Key Generation" with Java API.
    It's possible?

    Hi Rocco,
    I am also thinking  of same scenario.I thought it is possible in Java Apis by calling the webservices for MDM.there is a service of "get key mapping" where we can pass this "Qualified key range" as  parameter.In MDM we have to define a look up table for that key ranges .We will access that table through JAVA API and then link it with the key mapping service .
    If u find any solution to apply this ,please share.
    thanks and regards
    Ank

  • Java Api VS Ejb/Xml

    Hi, I need some information from all of you experts out there.
    Currently we are running an appserver, the way it works is that we use ejb/xml to talk to corba stubs which eventually will talk to the server objects.
    I am quite new to this technology, and currently considering of removing the use of ejb/xml layer and replace it with JAVA API. The idea is to get Webservice to talk to Corba stubs through JAVA API.
    My question is:
    1. Has anyone out there done this before? if so, what is your suggestion to this?
    2. Is there any performance issue?
    3. Is there any sample out there that does this?
    Any reply/opinion is highly appreciated.
    Thanks in advance.

    I don't think so. I believe they come in the "javadoc" format only,
    besides the HTML ones that are hosed online on java.sun.com.

  • How to create a folder through java

    Hi All,
    Can any one give the solution of my prob.
    I want to create a folder in windows m/c through java programe .Is it possible.
    If yes then kindly suggest me how...?
    Thanks In advance
    Vikas

    String newFolderPath = "C:\\";
    String newFolderName = "MyFolder";
    String spoonFeeding = newFolderPath + newFolderName;
    File f = new File(spoonFeeding);
    f.mkDir();

  • Any Java API to check CPU usage

    Through java code, is it possible to calculate the System CPU usuage.

    Not unless you can find a native library to do it for you. You can check memory, but not CPU availabilty.

  • Downloading JAVA API

    hi there,
    Anyone could tell me the exact link for downloading JAVA API for j2se, jdk1.5 and with installation process. i did try figure out on java.sun, but i'm not able to find the exact one. Thanx.
    Regards,
    Tsnt

    It's the Java SE link under the Downloads drop-down
    menu above...
    http://java.sun.com/javase/downloads/index_jdk5.jsp
    Select the JDK 5.0 Update 11 version.Hi JJCooIB,
    I did try checking the link that you send, but it seems need to download the whole version of JDK, am i right? Since i've the copy of JDK, if i want only the JAVA API, is it possible? I need this for checking those built in classes in JAVA.
    Confused,
    Tsnt

Maybe you are looking for

  • Blank White Screens After Installing Lion in Software

    Before I start, I have a Macbook Pro 5,1 -- 2.66Ghz Core2Duo with 8GB of RAM, 500GB 7200rpm HDD, and an nVidia 9600GT M Graphics card I installed Lion. This install was an UPGRADE from 10.6.8. Most of my apps arent working at all. Adobe CS 5.5 Master

  • How to include metronome in export?

    Is there anyway to include the click in the mix when I export it to iTunes? Also are there metronome functions...ie. how to make it louder or quieter...different kind of click sound.

  • No Bootable Device - Boot Camp

    I installed bootcamp to my computer and allocated a 5gb partition for windows. I rebooted the computer with the windows xp cd in the computer. I went to setup to setup windows xp and the disc is an upgrade disc so it told me to put in the windows 98

  • ITunes Dies With no Message

    iTunes used to work, but now it dies with no message. I uninstall iTunes and QuickTime, turn off my McAfee, and reinstall iTunes/QuickTime 6.0.1.3 or iTunes/QuickTime 5.0.1.4. When I execute iTunes.exe, the software license agreement page flashes on

  • Asset Procurement in SRM 5.0

    Hi All, We are using Classic Scenario.Trying to use the account assignment category " Asset". 1.Maintained account assignments categories=AS(Standard), 2.Defined G/L account for product category and account assignment category" for AS. 2.Flagged one