How to set WS Username token programmatically in java?

Hi,
Jdev Version: 11.1.1.4.0.
I have created a webservice proxy using Jdev from a wsdl.
I need to invoke a service from the client. But for this I need to set the username token in SOAP header to access the service.
The username token is not exposed or generated in the client.
When I run it from SOAP ui, I manually enetered,
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-7" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>1234</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">1111111111</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">XXXXXXXXXXXXXXXXXXXXXXXXXXX</wsse:Nonce>
<wsu:Created>2012-03-02T23:41:44.511Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
Without the username token I cannot invoke the service from my client code.
How do I add the username token to the generated clients in ADF?
Thanks in advance!!

I tried it by setting the credentials in requestContext and got the error:
Exception in thread "main" javax.xml.ws.WebServiceException: No Content-type in the header!
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:268)
     at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)
     at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
     at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
     at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
     at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
     at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
     at com.sun.xml.ws.client.Stub.process(Stub.java:272)
     at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
     at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
     at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
     at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
     at $Proxy35.ping(Unknown Source)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
     at $Proxy36.ping(Unknown Source)
Is there something else I need to do?
Thanks!
Edited by: 953940 on Oct 11, 2012 7:34 AM

Similar Messages

  • How to set the conversation id programmatically in a BPM process

    Hi all,
    I am using BPM/SOA 11g PS3.
    Is it possible to set the conversation id programmatically in a BPM process starting with a none start event?
    I know I can set it easily if I use a BPM process starting with a message start event.
    All I have to do is set it in the "wsa:MessageID" node in SOAP Header when I initiate the process instance.
    However, I have no idea how to set the conversation id programmatically in a BPM process starting with a none start event.
    I looked for if there is any appropriate method in the Java api for the process instance management, such as IInstanceManagementService and CompositeInstance, but no method seems to be appropriate.
    Does anyone know how to do this?
    Regards,
    Kenji
    Edited by: Kenji Imamura on 2011/04/20 0:10

    Hi fifty,
    Did you get a solution to the above problem you have mentioned? I have a similar issue i am trying to fix.
    I have a webservice call in a process activity and if the call does not work i get a soap fault and the fuego.lang.ComponentExecutionException . My process requires that i catch the exception infact any kind of exceptions that occur on that call and perform another activity in the process.
    I have defined an exception handler at the activity level for java.lang.Exception and java.lang.RunTimeException.
    i don't see anything in the catalog which would handle the SOAP fault OR the componentexception.

  • How to set the DFF Attribute Programmatically?

    hi
    how to set the DFF Attribute Programmatically in Process Request of CO
    thanx

    Hi
    Do u want to set the value in DFF Programmatically ?
    u can capture the VO used for DFF and set the the value in controller.
    Thanks

  • How to set the username in PeopleEditor programmatically

    Hi ,
    How to set the user name in people picker entity programmatically.
    I have tried this:
    <sp:PeopleEditor ID="sppcustom" runat="server" AllowEmpty="false" MultiSelect="false" SelectionSet="User" />
    In the webpart cs code:
    PeopleEditor sppcustom = new PeopleEditor();
    sppcustom.CommaSeparatedAccounts = "domain" + "\\" + userFullname;
    The code is executing fine without error, however the username is not shown in the peopleeditor.
    When the name is added, i am getting the error "No exact match was found. Click the item(s) that did not resolve for more options.".
    However the username is a valid one. i tried the validate code also and the username was validated.
    How to fix this?
    Thanks

    You can set the display name of the particular user
    sppcustom.CommaSeparatedAccounts = userFullname.Name;
    if userFullname is SPUser 
    Gnanasekhar K

  • How to set  Oracle username to a column .

    Hi Everyone,
    i have a table with some columns for example: ROW_CREATED_BY,ROW_CHANGED_BY we have to set Oracle username in trigger
    i.e., i have a trigger
    create or replace
    TRIGGER "EMP_TRG" BEFORE INSERT OR UPDATE ON EMPLOYEE FOR EACH ROW
    BEGIN
    If inserting then
    if :new.ROW_CREATED_BY is NULL then
    :new.ROW_CREATED_BY := *?;*
    end if;
    END;
    we can make use of V$SESSION.USERNAME, how to set this in trigger
    can we write   :new.ROW_CREATED_BY      := V$SESSION.USERNAME;
    since i didnt have permission to acess V$SESSION table or any other approch to set Oracle username to a column
    Please NeedHelpFul

    The USER-Function gives you the name of the currently logged in user.
    Are you looking for this?
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions207.htm#sthref2462
    you could directly use it in your trigger like this:
    create or replace
    TRIGGER "EMP_TRG" BEFORE INSERT OR UPDATE ON EMPLOYEE FOR EACH ROW
    BEGIN
    If inserting then
    if :new.ROW_CREATED_BY is NULL then
    :new.ROW_CREATED_BY := USER;
    end if;
    END;

  • Web Services: How to get the username token?

    Hello everybody,
    I wrote an EJB, Exposed it as a web service.
    I'm using encryption+username as the inbound policy.
    The client is adding a username token to the message.
    I understood that the userpassword are checked automatically and I don't need to implement that myself but I need the userpassword from this token for another reason.
    How can I get this information in the EJB's code?
    Thanks, Adi.

    You can get the user from Session Bean's context.
    myContext.getCallerPrincipal();
    I think you cannot get the password. That way, it would be easy to disguise your WS as another one you could want to crack.
    Regards.

  • Enable userName Token profile in Java client policy file

    My stand-alone java client invokes a .Net web service which implements wse 3.0. userName Token. However, when I ran my client program with the policy file which I converted from .Net config policy. I got errors. How could I make this right?
    [java] java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security] FaultString [Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.] FaultActor [http://192.168.254.102/TestImageserver2007/DLImageService.asmx]No Detail; nested exception is:
    [java]      javax.xml.rpc.soap.SOAPFaultException: Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.
    [java] fetchMostRecent() Failed...
    [java]      at digimarc.foto.webservice.clientstub.ImageServiceSoap_Stub.imagingFolioFetchMostRecent(ImageServiceSoap_Stub.java:137)
    [java]      at digimarc.foto.webservice.Client.main(Client.java:40)
    [java] Caused by: javax.xml.rpc.soap.SOAPFaultException: Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.
    [java]      at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:311)
    [java]      at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:114)
    [java]      at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:99)
    [java]      at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:87)
    [java]      at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:248)
    [java]      at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:218)
    [java]      at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:159)
    [java]      at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:114)
    [java]      at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
    [java]      at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:331)
    [java]      at digimarc.foto.webservice.clientstub.ImageServiceSoap_Stub.imagingFolioFetchMostRecent(ImageServiceSoap_Stub.java:132)
    Policy file used:
    <?xml version="1.0" ?>
    <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
    xmlns:wssp="http://www.bea.com/wls90/security/policy"
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
    xmlns:wls="http://www.bea.com/wls90/security/policy/wsee#part">
    <!-- Accompany outgoing SOAP messages with a username and password before sending them
    out on the wire. -->
    <wssp:Security>
    <wssp:userNameToken>
    <wssp:userName>weblogic</wssp:userName>
    <wssp:password type="TEXT">weblogic</wssp:password>
    </wssp:userNameToken>
    </wssp:Security>
    </wsp:Policy>
    .Net config policy file:
    <policies xmlns="http://schemas.microsoft.com/wse/2005/06/policy">
    <extensions>
    <extension name="kerberosSecurity" type="Microsoft.Web.Services3.Design.KerberosAssertion, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <extension name="kerberos" type="Microsoft.Web.Services3.Design.KerberosTokenProvider, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <extension name="usernameForCertificateSecurity" type="Microsoft.Web.Services3.Design.UsernameForCertificateAssertion, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <extension name="x509" type="Microsoft.Web.Services3.Design.X509TokenProvider, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <extension name="requireActionHeader" type="Microsoft.Web.Services3.Design.RequireActionHeaderAssertion, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <extension name="usernameOverTransportSecurity" type="Microsoft.Web.Services3.Design.UsernameOverTransportAssertion, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </extensions>
    <policy name="AuthorizationPolicy">
    <kerberosSecurity establishSecurityContext="false" requireSignatureConfirmation="false" messageProtectionOrder="SignBeforeEncrypt" requireDerivedKeys="false" ttlInSeconds="300">
    <token>
    <kerberos targetPrincipal="host/nbcis1" impersonationLevel="Identification" />
    </token>
    <protection>
    <request signatureOptions="IncludeAddressing, IncludeTimestamp, IncludeSoapBody" encryptBody="true" />
    <response signatureOptions="IncludeAddressing, IncludeTimestamp, IncludeSoapBody" encryptBody="true" />
    <fault signatureOptions="IncludeAddressing, IncludeTimestamp, IncludeSoapBody" encryptBody="false" />
    </protection>
    </kerberosSecurity>
    <requireActionHeader />
    </policy>
    <policy name="InteropPolicy">
    <usernameOverTransportSecurity />
    <requireActionHeader />
    </policy>
    <policy name="NamePolicy">
    <usernameOverTransportSecurity >
    <clientToken>
    <username username="nbdls\joejoe" password="ImAGe!" />
    </clientToken>
    </usernameOverTransportSecurity>
    <requireActionHeader />
    </policy>
    </policies>

    Thanks Carlo for the suggestion. That helps to overcome my huge hurdle. The username and password were sent successfully in the SOAP header to .Net web service.
    However, there is still some errors on the java client side. I am getting:
    [java] java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security] FaultString [Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.] FaultActor [http://192.168.254.102/TestImageserver2007/DLImageService.asmx]No Detail; nested exception is:
    [java]      javax.xml.rpc.soap.SOAPFaultException: Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.
    [java]      at digimarc.foto.webservice.clientstub.ImageServiceSoap_Stub.imagingFolioFetchMostRecent(ImageServiceSoap_Stub.java:137)
    [java]      at digimarc.foto.webservice.Client.main(Client.java:58)
    [java] Caused by: javax.xml.rpc.soap.SOAPFaultException: Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.
    [java]      at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:311)
    [java]      at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:114)
    [java]      at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:99)
    [java]      at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:87)
    [java]      at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:248)
    [java]      at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:218)
    [java]      at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:159)
    [java]      at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:114)
    [java]      at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
    [java]      at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:331)
    [java]      at digimarc.foto.webservice.clientstub.ImageServiceSoap_Stub.imagingFolioFetchMostRecent(ImageServiceSoap_Stub.java:132)
    [java]      ... 1 more
    The statement:
    "Action for ultimate recipient is required but not present in message". What is missing?
    This is what I have in my java client:
    FileInputStream [] inbound_policy_array = new FileInputStream[1];
    inbound_policy_array[0] = new FileInputStream("Auth.xml");
    FileInputStream [] outbound_policy_array = new FileInputStream[1];
    outbound_policy_array[0] = new FileInputStream("Auth.xml");
    //create service and port
    ImageService imageService = new ImageService_Impl(args[0]);
    //specify an array of policy files for the request and response of a
    //particular operation
    ImageServiceSoap array_of_policy_port = imageService.getImageServiceSoap("ImagingFolioFetchMostRecent", inbound_policy_array, outbound_policy_array);
    //create credential provider and set it to the Stub
    List credProviders = new ArrayList();
    //client side UsernameToken credential provider
    CredentialProvider cp = new ClientUNTCredentialProvider("nsbbdl\\joejoe", "ImAGes!");
    credProviders.add(cp);
    Stub stub = (Stub)array_of_policy_port;
    stub._setProperty(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);
    try {
    ApplicantDataFolio adf = array_of_policy_port.imagingFolioFetchMostRecent("1001917");
    } catch (Throwable e) {
    }

  • How to set Password protection in excel using java

    Dear all,
    I have no idea to write a java program that how to set password protection in excel. Please give me some solution using java tools. Thank a lot!
    Regards,
    kzyo

    Dear Bamkin ,
    I used your code and paste it in my program. The error is as the follow:
    Code:
         stmnt = c.createStatement();
                   String query = "select StudentNumber, Email, New_Email_Address from [Sheet1$] where Len(New_Email_Address) > 0";
                   System.out.println(query);
                   rs = stmnt.executeQuery(query);
                   stmnt.executeUpdate("SET PASSWORD=PASSWORD('Test')");
    Error:
    (Remark: Invalid SQL statement)
    java.sql.SQLException: [Microsoft][ODBC Excel Driver] �����I SQL ���q���G�a����'DELETE'�A'INSERT'�A'PROCEDURE'�A'SELECT' �� 'UPDATE' �B
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
         at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3111)
         at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:338)
         at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:288)
         at hk.gov.edb.util.ExcelHandle.updateNewEmail(ExcelHandle.java:414)
         at hk.gov.edb.core.AppMain.doUpdate(AppMain.java:369)
         at hk.gov.edb.core.AppMain$7.construct(AppMain.java:584)
         at hk.gov.edb.util.SwingWorker$2.run(SwingWorker.java:127)
         at java.lang.Thread.run(Thread.java:595)

  • How to set render true or false in java class

    Use case:
    i have a page in which i have one inputListOfValues attributes and two LOV .initial the LOV render attribute value is false .it means it show only one attribute in run time .inputListOfValues is content two value .suppose if first value A then the first LOV have to show and is it value is B then Second LOV have to show .i bind my LOV to class .but i do not know how to set render attribute at java class.

    <af:inputListOfValues label="Branch Name"
    popupTitle="Search and Result Dialog"
    id="ilov1"
    model="#{pageFlowScope.organizationLOV.param['bindings.Organization'].listOfValuesModel}"
    converter="#{pageFlowScope.organizationLOV.param['bindings.Organization'].convert['latinDesc']}"
    valueChangeListener="#{viewScope.salaryBenefitsReportForm.branchChange}"
    binding="#{viewScope.salaryBenefitsReportForm.branchName}"
    rendered="true" visible="false"/>
    <af:inputListOfValues label="Department Name"
    popupTitle="Search and Result Dialog"
    id="ilov2"
    model="#{pageFlowScope.objectLOV.param['bindings.Department'].listOfValuesModel}"
    converter="#{pageFlowScope.objectLOV.param['bindings.Department'].convert['latinDesc']}"
    valueChangeListener="#{viewScope.salaryBenefitsReportForm.departmentChange}"
    binding="#{viewScope.salaryBenefitsReportForm.departmentName}"
    rendered="true" visible="false"/>
    this is code in jsff .
    and class code are following
    public void reportBy(ValueChangeEvent valueChangeEvent) {
    String value=(String)valueChangeEvent.getNewValue();
    System.out.println(value);
    if(value.equals("Branch")){
    branchName.setVisible(true);
    departmentName.setVisible(false);
    AdfFacesContext.getCurrentInstance().addPartialTarget(branchName);
    AdfFacesContext.getCurrentInstance().addPartialTarget(departmentName);
    if(value.equals("Department")){
    departmentName.setVisible(true);
    branchName.setVisible(false);
    AdfFacesContext.getCurrentInstance().addPartialTarget(departmentName);
    AdfFacesContext.getCurrentInstance().addPartialTarget(branchName);
    }

  • How to set genericObject in a TaskInstance from java

    Hi,
    How can I set generiobject to a taskInstace from java?
    And
    How can I get a variable of any other taskInstace in workFlow?
    Please suggest me.
    Thanks ,
    Ravi.G

    Hi,
    How can I set generiobject to a taskInstace from java?
    And
    How can I get a variable of any other taskInstace in workFlow?
    Please suggest me.
    Thanks ,
    Ravi.G

  • How to set different view parameter programmatically in the same task flow

    Hello everyone,
    I have a view activity A that calls another view activity B with a link. In this link the action is set to a method (I use JSFUtils class: http://jdeveloper-adf.googlecode.com/svn/trunk/TGPrototype2/ViewController/src/com/tgslc/defaultManagement/utils/JSFUtils.java):
    public String goToB() {
    String paramToPass = "someParameterTakenInSomeWay";
    JSFUtils.setExpressionValue("#{pathToViewB_pageBPageDef.paramName}",paramToPass);
    return "openActivityB";
    where openActivityB is the control flow case to call B.
    In the B pageDef file I have set a parameter "paramName" without any value:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.59.23" id="pageBPageDef">
    <parameters>
    <parameter id="paramName"
    value=""/>
    </parameters>
    <executables/>
    <bindings/>
    </pageDefinition>
    But at running time I have a oracle.jbo.expr.JIEvalException:
    JBO-25077: Name paramName not found in the specified object: pathToViewB_pageBPageDef.
    The question is: how can I set the parameter programmatically from the view activity A?
    Note that I use this method to set the parameter because in the real application I have many "view activity A" that will call B, but all of these have to set this parameter.
    I use JDeveloper 11.1.1.4.
    Thanks in advance,
    Baduel

    Hi,
    this is because PageDef B represents a binding container that is not active to the time you try to call it. The binding container becomes available when navigating to the page but not before. Instead:
    1. define a managed bean in pageFlowScope and expose a setter/getter method to hold the value to pass on
    2. Reference the managed bean in pageFlowScope from the attributebinding NDValue property using EL
    3. Set the managed bean value before navigating to view B
    Frank

  • How to set IE compatibility view programmatically in Browser Helper Object?

    Goal: In IE11, I need to set "IE=EmulateIE7" compatibility view for particular websites.
    Adding an HTML meta header or a HTTP response header is not an option as we do not control the websites. Configuring IE (Tools > Compatibility View settings...) is not fine-grained enough as it truncates the website URL to the second and top level domains.
    My approach is to achieve the same but more fine-grained with the help of a Browser Helper Object (BHO). Is this possible at all?
    I created a C# Hello World BHO according to an online sample. It works in IE9. I haven't tested it in IE11 yet. Now I need to add some flesh to the bone. My idea is to register with the appropriate WebBrowser event, check the URL being retrieved, and then
    set a WebBrowser property to turn on compatibility view if necessary.
    Is this feasible?
    Which WebBrowser event would that be? DownloadBegin or DownloadEnd? Other?
    pure guess: WebBrowser.PutProperty("X-UA-Compatible", "IE=EmulateIE7")?
    Any ideas to cut down my trial-and-error space? Thanks a lot!
    PS: I (prematurely?) posted this question last night on stackoverflow.com.

    The compatibility list is more about developer and user preference and Microsoft tends to not provide API to override preferences. 
    If the user accepts launching a separate window to render the content in some alternative browser (pretty much like viewing source in Notepad) you can modify the browser emulation registry value before launching your own webbrowser control based application. 
    Visual C++ MVP

  • How to set the LOV value programmatically?

    Hello,
    I have a LOV (select list with submit) the value (displayed and corresponding returned) of which I would like to set by selecting a row in a report.
    What is the event I use to catch the selection of the row in the report and what would be the sample code to set the LOV values?
    Thanks a lot!
    Gabor

    Perhaps a more detailed explanation of the issue helps:
    I am developing an online internet bookmarking application. It basically contains a folder tree and bookmarks within the folders.
    The folder tree is implemented by a table referencing itself (main columns are: ID, NAME, PARENT_ID).
    The LOV lists the NAMEs (actually, the full path of each folder as returned by a function) and returns the IDs.
    When the user selects a NAME, folders and bookmarks contained in that folder are listed in a report (non-recursively).
    The action of the user clicking a folder in the report should simulate the above as if they selected the name manually. This is where I need help!
    I hope this helps. Thanks!
    Gabor

  • How to set the default maximum size for java's heap?

    Hi!
    Im trying to set the default max size for the java heap - but not from the command line.
    I would like to set it higher as default on my computer.. how can I do that?
    thanks!

    >
    ...You may increase the memory heap only when you're launching a new JVM.>Much like IWantToBeBig does.
    OTOH, it this is an app. with a GUI, it is easier to launch it using webstart, and request extra memory in the JNLP descriptor (the webstart launch file).

  • How to set value of application item using Java script.

    I have created a textbox on page 0, on chnage of textbox i want to set the value of application item.
    How to write the code to set & get value of application item.
    Thanks,
    -Amit

    Hello Amit
    This would be a great place to start...
    JavaScript
    Alternatively, APEX 4.0 will make this sort of task declarative.
    Kind regards
    Simon Gadd

Maybe you are looking for

  • My itunes no longer recognises my ipod - help!

    basically, my ipod reached its capacity a week ago and so went a bit crazy with this playlist malarchy but i fixed that telling it to update everything when it connects to the computer, however it no longer connects up to itunes when it is connected.

  • Why can i not print e mails and web sites such as ryan air?

    Why can i not print e mails and information from web sites such as Ryan air? i need to check in on line but i cannot print == URL of affected sites == http://

  • Where condition problem in select statement.

    Hi, I am trying to write select statement as below   SELECT objectclas objectid FROM cdhdr INTO CORRESPONDING FIELDS OF TABLE ltab_chgdocu                    WHERE objectclas IN ('STUE' , 'STUE_V')                    AND   ( TCODE eq 'CS01u2019 or tc

  • Major Music app bugs w/ iTunes Match

    I have iTunes Match and the Music app on my iPhone is almost un-usable.  Two major bugs are causing this: 1.  Sometimes, a song will fail to play if it's not downloaded.  I'll have it on shuffle-all and a song will come up and the app will pause for

  • Have an HP Pavilion DV7 with Radeon HD6490M Graphics Card. Photoshop doesn't recognize it.

    Photoshop CC doesn't recognize my other video card, which is a Radeon HD6490M.  Can't utilize 3D tools.  Is there something wrong with this particular video card that won't allow it to be recognized?