Getting Proxy name and proxy port using Hostname and port

Hi Colleagues,
I my Application i am consuming webserice and i am setting proxy host and proxy port using the below code :
httpItf  = HTTPControlFactory.getInterface(port);
httpItf.setHTTPProxy("proxy", 8080);
But this "Proxy" is getting changed if the application is deployed to another network. (like some other landscape)
So Could it be possible to get the proxy dynamically depending on the Hostname and port.
such that it should automatically pick up the "ProxyHost" and "Proxy port".........depending upon the system it runs .
Please help me out here
Thanks & Regards
Swetha
Edited by: Swetha Nellore on Sep 17, 2009 7:52 AM

Hi Colleagues,
i have solved this by maintaining a proxy settings properties file.....where proxy settings can be changed using system administrator
Thanks & Regards
Swetha

Similar Messages

  • Query to get the name of the tables used in a View?

    Hi,
    Could you please help me in getting the name of the tables used in a perticular view?
    Please help me out...
    thnx in advance.
    Thnx,
    Bits
    Edited by: Bits on Sep 14, 2009 2:15 PM

    There is no data dictionary table that stores this directly.
    - You could get the DDL used to create the view and parse that SQL. Depending on how complex the view might be, this could be relatively easy or highly complex.
    - You could get a recursive list of the objects that the view depends on (from ALL_/USER_/DBA_DEPENDENCIES) and trace those dependencies back to all the tables that the view depends on. If your view calls functions, however, this may or may not be what you're looking for. If you are selecting from just one table in the FROM clause but you are calling a function that references a dozen tables, do you want one row? Or thirteen? What about tables referenced in a correlated subquery in the WHERE clause?
    Justin

  • Get period name on query to use it in report

    i want get period name on query to use it in report
    the query
    get period name on query to use it in report
    SELECT itm.item_number item_no,
    itm.description item_desc1,
    mtl.organization_code,
    cpt.cost_cmpntcls_code,
    cpt.cost_cmpntcls_desc,
    adj.cost_analysis_code,
    adj.adjust_qty,
    adj.adjust_qty_uom,
    adj.adjust_cost,
    adj.reason_code,
    rsn.reason_desc,
    adj.organization_id,
    adj.period_id,
    adj.cost_type_id
    FROM cm_adjs_dtl adj,
    mtl_item_flexfields itm,
    cm_cmpt_mst cpt,
    cm_reas_cds rsn,
    mtl_parameters mtl
    WHERE adj.inventory_item_id = itm.inventory_item_id
    AND adj.organization_id = itm.organization_id
    AND adj.cost_cmpntcls_id = cpt.cost_cmpntcls_id
    AND adj.reason_code = rsn.reason_code
    AND adj.organization_id = mtl.organization_id
    /* AND adj.period_id = :period_id
    AND adj.cost_type_id = :p_cost_type_id */
    AND adj.delete_mark = 0
    AND adj.reason_code = 'ADJ'
    and adj.cost_analysis_code = 'EXP'

    See Link between mtl_material_transactions,org_acct_periods, gl_period_statues
    Hope this answers your question,
    Sandeep Gandhi

  • I own the iphone 4 and i was using safari and went to google something and my phone froze. My computer is not recognizing my phone when I plug it in, and my charger is not allowing my phone to charge. What can i do to get my phone unfrozen?

    I own the iphone 4 and i was using safari and went to google something and my phone froze. My computer is not recognizing my phone when I plug it in, and my charger is not allowing my phone to charge. What can i do to get my phone unfrozen?

    Try resetting it: hold the on/off and home buttons 10-20 seconds until you see the Apple logo (ignoring the off slider that appears first), then release.  If it won't reset you may need to put it in recovery mode and restore it as described here: http://support.apple.com/kb/ht1808.

  • Imac leopard and xp OS - using xp and trying to get a screencapture

    imac leopard and xp OS - using xp and trying to get a screencapture.
    How do go about doing this?

    I am running XP with VPC on my iMac G5 under Leopard.
    I had trouble installing Leopard, but with command S and fsck y everything turned out ok.
    No trouble at installing VPC on top of Leopard. I had all the original VPC disks.
    That said, I do not have any trouble doing a Mac screen shot while in Windows XP. I'm using spaces with windows XP in one and Mac stuff on another one. Takes several seconds for the screen shot to appear on the Mac desktop though.

  • The disk containing your iPhoto library is running low on space.How is this possible? I have no photos and have never used iphoto and the program is up to date.

    How is this possible? I have no photos and have never used iphoto and the program is up to date. I try to import and drop my pictues into iphoto but nothing happens or I get above statement. Help please!

    Then it's a bogus message and indicates that the default library is damaged.
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library' and use that one.
    Regards
    TD

  • Oracle BI what is cubes and dimention and where we use cubes and dimention

    Dear ,
    I am working on Oracle BI.
    what is cubes and dimentionS and where we use cubes and dimention
    Please give a link where i get stuff regarding cubes and dimentions.
    thanks

    Possibly you are lost in the wrong forum category ...
    Post your query in:
    Hyperion EPM

  • Can give me examples and explantions on Using COPY and NOCOPY in pl-sql

    Can give me examples and explantions on Using COPY and NOCOPY in pl-sql

    If you use COPY then parameter is copied into procedure/function internal
    spae, so You can't modify parameter.
    If you use NOCOPY then parameter is not copied into procedure/function
    internal spae, so You can modify parameter.NOCOPY modifier serves the same purpose as "copy by value" and "copy by reference" concept (like in C++).
    Then you NOCOPY parameter you pass it's pointer in memory but not pass it's value into the stack.
    You can modify the value of this parameter in both cases. The essential difference is for NOCOPY not only the pointer copies much faster then the object itself but the semantic of exception processing is voilated because when the exception raises Oracle can't restore the initial state of parameter (because all changes where made using the memory pointer but not usual stack copie of parameter):
    SQL> create or replace package my_pkg
      2  is
      3   type t is table of number index by binary_integer;
      4   t1 t;
      5   procedure no_copy (a in out nocopy t);
      6   procedure with_copy(a in out t);
      7  end;
      8  /
    Package created.
    SQL> create or replace package body my_pkg
      2  is
      3 
      4   my_exc exception;
      5 
      6   procedure no_copy (a in out nocopy t)
      7   is
      8   begin
      9    for j in 1..10 loop
    10     a(j) := 1;
    11    end loop;
    12    raise my_exc;
    13   end;
    14 
    15   procedure with_copy (a in out t)
    16   is
    17   begin
    18    for j in 1..10 loop
    19     a(j) := 1;
    20    end loop;
    21    raise my_exc;
    22   end;
    23  
    24  end;
    25  /
    Package body created.
    SQL> declare
      2    t1 my_pkg.t;
      3  begin
      4    dbms_output.put_line('Count before ' || t1.count);
      5    begin
      6      my_pkg.no_copy(t1);
      7    exception
      8      when others then
      9        null;
    10    end;
    11    dbms_output.put_line('Count after ' || t1.count);
    12  end;
    13  /
    Count before 0
    Count after 10
    PL/SQL procedure successfully completed.
    SQL> declare
      2    t1 my_pkg.t;
      3  begin
      4    dbms_output.put_line('Count before ' || t1.count);
      5    begin
      6      my_pkg.with_copy(t1);
      7    exception
      8      when others then
      9        null;
    10    end;
    11    dbms_output.put_line('Count after ' || t1.count);
    12  end;
    13  /
    Count before 0
    Count after 0
    PL/SQL procedure successfully completed.Rgds.

  • HT1325 Just brought the MacPro and first time using iTune and Yes I authorized the computer. But for a few purchased songs, only 30 seconds of the song plays and for one song off an album, a pop comes up saying I need to authorized the computer, but it is

    Just brought the MacPro and first time using iTune and Yes I authorized the computer. But for a few purchased songs, only 30 seconds of the song plays and for one song off an album, a pop comes up saying I need to authorized the computer, but I do this and it says it is authorized already. I click on the song to play it and this process repeat (saying it is not authorized, then saying it is already authorized)

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • I would like to delete all Apps archived in the clouds of "purchased" and not in used now and in the future. How is possible to remove definitively these Apps?

    I would like to delete all Apps archived in the clouds of "purchased" and not in used now and in the future. How is possible to remove definitively these Apps. Thank you

    All you can do is hide them from your purchased list.  You cannot permaneently delete anything from your purchased history.
    Also, these are not stored in your iCloud account storage space.  The purchases reside in the online store and all you see is a list of those purchases made with your account, with a cloud-link to redownload them, but you are merely re-downloading them directly from the store.

  • How to get the name of the currently used display variant

    Dear all,
    I found the user-exit EXIT_SAPLGRAP_001 for programming download authorization.
    With us no standard user is allowd to download data from R/3. With the user-exit it would be possible to allow certain downloads. one problem i solved already.
    For programming the second authorization i need the name of the currently used display variant in RKPEP000. Where can i get the name. I tried user-exits for RKPEP000, but i didn't find the name. I didn't find it in SYST either.
    Thanks and reargs
    Monika

    First you need to enter those names. Right-click the songs (Windows) or go to File>Get Info (All Platforms), then go to the second tab from the left to insert the information.

  • How can i get rulefiles name in  appllication with using custom java code.

    Hi.
    I want to get rulefiles names from analytic service with using java api.
    How can i get rulefiles name. Which api can i use for this issue?

    Hi,
    Use IEssCube.getOlapFileObjects() api to retrieve rule files.
    Insert this code snipid in your code, it will list all the rule files.
    IEssCube cube = olapSvr.getApplication("Sample").getCube("Basic");
    IEssIterator itr = cube.getOlapFileObjects(IEssOlapFileObject.TYPE_RULES);
    IEssBaseObject[] rfs = itr.getAll();
    System.out.println("Rule file count: "+rfs.length);
    for (int i = 0; i < rfs.length; i++) {
         System.out.println("RuleFile"+i+": "+((EssOlapFileObject)rfs).getName());
    you can also list data files and other file objects by changing IEssOlapFileObject.TYPE in getOlapFileObjects()
    Regards
    Rajeev Singh

  • Reformated in 9.2 and can't use my usb ports

    I reformated and reinstalled 9.2 onto my G3 and now NONE of my USB ports work. Not my mouse, not my camera, nothing. Is there a way to reinstall/reconnect them?

    Pete,
    I would have expected the mouse to work, well one button at least. But your camera, printer, scanner, etc will all need their drivers re-installed.
    Was it OS9.2 previous to your reformatting ? What model G3 is it ? Does it have built-in USB ports, or are they provided by an installed card ?

  • Encrypt and Decrypt files using PGP and GPG

    Dear members, We have a customer that need to process files received through sFTP, FTPs and FTP over SSL encrypted with PGP and GPG methods.
    We Know that those encryption Method are not supported out of the box in Oracle SOA Suite and WCC but We need to Know if some of you have some workaround about that, maybe using a valve in FTP adapter, B2B or any other method in WCC.
    Thanks in advance

    >
    Meiying Yang wrote:
    > I have scenarions FTP-->ABAP proxy and ABAP proxy --> FTP. I need to put and get encrypted files to and from FTP server. Does anybody know how I can decrypt file when I get it from FTP server and encrypt file before I send to FTP server? Thanks.
    Hi,
    Have a look at these blogs.It would be helpful.
    1. SAP XI/PI Encode Outgoing Payload using Adapter Module
    /people/farooq.farooqui3/blog/2008/09/24/sap-xipi-encode-outgoing-payload-using-adapter-module
    2. Decode Base64 Incoming Encoded information in SAP XI/PI using Java Mapping
    /people/farooq.farooqui3/blog/2008/05/22/decode-base64-incoming-encoded-information-in-sap-xipi-using-java-mapping
    Regards,
    Chandra

  • Incremental and Full backups using WBADMIN and Task Scheduler in Server 2008 R2

    I'd like to create an automated rotating schedule of backups using wbadmin and task scheduler, which would backup Bare Metal Recovery; System State; Drive C: and D: to a Network Share in a pattern like this:
    Monday - Incremental, overwrite last Monday's
    Tuesday - Incremental, overwrite last Tuesday's
    Wednesday - Incremental, overwrite last Wednesday's
    Thursday - Incremental, overwrite last Thursday's
    Friday - Incremental overwrite last Friday's
    Saturday - Full, overwrite last Saturday's
    I need to use the wbadmin commands within the Task Scheduler and do not know any of the required Syntax to make sure everything goes smoothly, I do not want to do this through the CMD.

    I know each backup for the previous corresponding day will be replaced, how do you figure I wont be able to do incremental backups...
    Because incremental backup is based on Volume Shadow Copy (VSS) feature and due to Windows Server 2008 R2 limitations (this limitation is resolved in Windows 8) only one version of backed up data can be stored in a shared folder. So the
    result is that every time you back up some data on a shared folder, you actually creating a full backup of them.
    is it not supported through task scheduler?
    The Task Scheduler is only a feature that does the tasks that you have defined for it. Actually it runs the
    wbadmin command that runs on an operating system with the mentioned limitation.
    I know you can do Incremental backups through Windows Server Backup, but my limitation using that is I cant setup multiple backups.
    Yes, you are right. Windows Server Backup feature in Windows Server 2008/2008 R2 has not this functionality (although
    ntbackup in Windows XP and Windows Server 2003 had this functionality). So, the only workaround to this limitation is through using Task Scheduler feature with wbadmin command. For more information see the following article:
    http://blogs.technet.com/b/filecab/archive/2009/04/13/customizing-windows-server-backup-schedule.aspx
    So are you saying that even though I want each backup to go to a different place on the Shared Folder that it will replace the previous backup anyways?
    No and because of this I said in my previous post that with some modifications and additions you can do the scenario. For example, you back up to a shared folder with the name of Shared1 on Mondays. You also have been configured the backup feature to back
    up data on another shared folder, named Shared2, on Wednesday. When you repeat the backup operation in Shared1, only the backed up data that resides on it will be affected, and the data on Shared2 remains intact.
    Please feel free to let us know if you have any question or concern.
    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.
    Hi R.Alikhani
    Then do you know if wbadmin supports incremental backup in Windows 8? As you said the VSS issue is fixed in Win8. However, the wbadmin has less options then in windows server. I tried a bit but it seems it only supports full backup? ps, I use a network share
    - will the incremental backup works if I define a ISCCI then? My remote backup PC is also running Win8.

Maybe you are looking for

  • How can I pass a custom value to the ecommerce invoice?

    I would like to pass a barcode or an image to the ecommerce invoice once they buy my product. The idea is that they would print the email or pdf attached to it and reclaim their products on my physical store in case shipping is not allowed for their

  • Windows 7 on Bootcamp not Recognizable in Startup Disk AND not bootable?

    Hi, I'm new here. Anyways, can someone help me here; I had a bootcamp partition set at 5GB for Windows XP. I recently formatted, expanded to 32GB, and installed Windows 7 on that partition. The installation went fine without problems, and I installed

  • How do you know when icloud restore is finished

    Hello,   I am trying to restore an iCloud backup from a phone running iOS6 to an iPad with iOS7.  There is about 2.5GB of data, I believe.  The apps quickly appeared, but the mail accounts have not.  Mail just acts like a brand new setup, with no acc

  • Problem in calling stored Procedure through Toplink

    Hi , I'm doing POC of calling stored thru toplink but facing some issues. Any pointers to it would be helpful. This is my javaCode used to call stored proc through toplink:- StoredProcedureCall call = new StoredProcedureCall(); call.setProcedureName(

  • Creating Dynamic UI Elements in Web Dynpro ABAP

    Hi, I want to an application in which the context nodes and the UI Elements for the second screen get created dynamically at run time based on the input on the first screen First i have used this method : cl_wd_dynamic_tool=>create_nodeinfo_from_stru