How to call a web service that is managed by web services manager from omni

Ok gurus... here is an interesting one for you.
We have a set of web services that are deployed to our server. We have Oracle Web Services Manager deployed to another server and is acting as a gateway to our web services.
We would like to call our web service and pass it the username and password that were specified in the omniportlet connection information screen. How do we go about doing this?
PS. We are using the latest version of portal (10.1.4).
Thanks for your help.
Cheers,
Cory

Just a follow up. What I would like to do is to have omni portlet add standard header information for security such as the following:
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/200401-wss-wssecurity-secext-1.0.xsd">
<wsse:Username>theusername</wsse:Username>
<wsse:Password>thepassword</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
Any ideas on how to get omniportlet do this? Any ideas on where to look for the answer? Oracle dudes: Any plans to add this to future releases?
Thanks again folks :-)
Cory

Similar Messages

  • Does anyone know of a VI or how to go about writing one that will prevent the computers time/date from being disabled while an application is running.

    Does anyone know of a VI or how to go about writing one that will prevent the computers clock/time from being disabled while an application is running. The time and date can normally be reset while an application is running by clicking on the time/date in the lower right-hand corner of the computer screen. I have an application that runs over several days and it is critical that the time and date of the computer not be changed. Is there an easy way to lock this out from the user? Note that I am what I consider an advanced beginner in LV.
    Thank you,
    Chuck
    Solved!
    Go to Solution.

    That is not something you can do from LabVIEW, as it is an operating system operation, and it will depend on the operating system that you're using. On Windows you can use a group policy to control this. Please Google on "prevent time and date change in windows".
    Also, please try to refrain from stuffing your entire message in the subject block. Keep the subject short, but descriptive enough so it can be understood what you are basically asking. Thanks.

  • How do I view my videos that I have uploaded to my Mac from my Iphone 4S?

    How do I view the videos that I have uploaded to my Mac from my Iphone 4S?

    Yes I uploaded them via USB from my iphone to my imac using iphoto, they do not open in iphoto and when i open them in Quicktime I can hear the audio but not see the video.

  • If stop cloud license, how transfer to latter win pc (that cloud terminated) the dw cs6 license from

    I have two win PC(laptop+desktop) dw cs6 license
    another win and one mac cloud cc all license...
    If stop cloud license, how transfer to latter win pc (that cloud terminated) the dw cs6 license from first PC(i do not want it here is old PC)? needed delete / unistall cloud adobe programs after stopped?

    Run Help --> Deactivate inside the programs, then install them on whatever computer you want them to be on.
    Mylenium

  • How to call a stored procedure that has Table Of data types in VB6?

    Hi everyone,
    I need to call a stored procedure that has a Table Of data type as an input parameter (possibly even several Table Of input parameters). I can't seem to find any example of how to do this in VB6 using ODBC. Is this even possible?
    Thanks you!
    Steve

    Thanks,
    but I need to test stored procedures that uses type defined in the package.
    e.g.
    if I have s.p.
    PROCEDURE get_risultati_squadra
    ( in_squadra IN VARCHAR2,
    out_serie OUT tab_varchar2_5,
    out_tiporisultato OUT tab_varchar2_5,
    out_n_giornata OUT tab_varchar2_5,
    out_squadre OUT tab_varchar2_200,
    out_risultato OUT tab_varchar2_10,
    out_marcatore OUT tab_varchar2_50,
    out_punti OUT tab_varchar2_3,
    out_rimbalzista OUT tab_varchar2_50,
    out_rimbalzi OUT tab_varchar2_3,
    out_esito OUT tab_varchar2_2);
    I have to define every type external to the package, in this case five new TYPE !!
    Is there another way to solve this problem?
    Thanks

  • How to call a Oracle Proc,which contains Object Type as in Param, from java

    Hi
    Would like to know how to call a Oracle Procedure which contains the Object Type Parameter from java.
    Here is my code will look like...
    1. CREATE OR REPLACE TYPE emp AS OBJECT
    Empno NUMBER,
    Ename VARCHAR2(50)
    [COLOR=royalblue]In step1 I have created object type.[COLOR]
    2.CREATE OR REPLACE PACKAGE ref_pkg IS
    TYPE tab_emp IS TABLE OF emp;
    END ref_pkg;
    [COLOR=royalblue]In step2,I have created a table type which is of type emp;[COLOR]
    3. CREATE OR REPLACE PROCEDURE p_emp(p_emptab IN ref_pkg.tab_emp) as
    BEGIN
    FOR I IN 1..p_emptab.COUNT
    LOOP
    Some code written here
    END LOOP;
    END;
    [COLOR=royalblue]In step3 I have passed tabletype which is of type emp as argument.[COLOR]
    Now I need to invoke this procedure from JAVA.
    Calling a procedure doesn�t matter.
    But how I can map objecttype ? how will java recognize oracle object ?
    How can I implement this ?
    Any Help/Clues is Appreciated.
    Thanks
    Krishna

    Hi Bob
    You can call a stored proc from a database control with the jc:sql annotation itself.
    Assume a stored proc taking one In parameter
    * @jc:sql statement="call sp_updateData({id})"
    void call_sp_updateCust(int id);
    You can even call stored proc with OUT parameters using
    * @jc:sql statement="{call sp_MyProc(?, ?)}"
    void call_sp_MyProc(SQLParameter[] params)
    You can also call stored functions via db control.
    More info and diff ways to call at
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/controls/database/conStoredProcedures.html
    Thanks
    Vimala

  • On CS5, how can I recover jpeg images that were Batch Renamed prior to removal from my flashcard?

    On CS5, how can you recover JPEG images that were accidentally Batch Renamed prior to removal from a flash card? Is it a total lose or can they be saved somehow?

    If they were renamed on the flash card that is a poor practice.  If renamed in Bridge the old names can be recovered it you have checked "preserve original name in XMP".  If not you are out of luck.  But you still have the images correct?

  • How do I control the image that displays when someone shares a page from my website on Facebook?

    I have created my website in Muse and it looks awesme.  http://getlumen.com  I have added Facebook Like/Share buttons to the pages that I'd like people to... 'Like"  =]  It all works fine, BUT... the image that is displayed after someone Shares or Likes the page, is the background image that I used on the Master design page.  No bueno.  Even worse, sometimes it's the credit card icons that are displayed on the products pages.  Is there a way to "embed" an image into each page that is specific to that page and not an arbitrary iamge from the style guide, without adding it to the look of the page?

    Thank you.  But just to be clear... 
    Do I paste this code  <meta property="og:image" content="URL to your thumbnail image" /> Before or After the Google analytics code that is curretnly in the header of each page?  And the ONLY thing that I change in the above code is the "URL to your thumbnail image" for each page/image- yes??

  • How to call a repeater within a jsp file in web portal

    Hello, I wrote a Timer javascript to create a Timer thread that keep running and repeating for every 5 seconds. Basically, this javascript includes a StartTimer(), StopTimer() and UpdateTimer(), I also have a repeater to retrieve data from Oracle Dataabse and diplay them on the screen. Here are the codes
    =======================================================
    <table border="1">
    <netui-data:repeater dataSource="{pageFlow.trackData}" >
    <netui-data:repeaterHeader>
    <tr>
    <!-- create row header for each column -->
    <td style="font-family:times new roman;font-size:14pt;color:#0000ff;">TrackNumber</td>
    <td style="font-family:times new roman;font-size:14pt;color:#0000ff;">Latitude</td>
    <td style="font-family:times new roman;font-size:14pt;color:#0000ff;">Longitude</td>
    <td style="font-family:times new roman;font-size:14pt;color:#0000ff;">Altitude</td>
    <td style="font-family:times new roman;font-size:14pt;color:#0000ff;">Course</td>
    <td style="font-family:times new roman;font-size:14pt;color:#0000ff;">Speed</td>
    <td style="font-family:times new roman;font-size:14pt;color:#0000ff;">Time</td>
    </tr>
    </netui-data:repeaterHeader>
    <tr>
    <netui-data:repeaterItem>
    <!-- these will make the repeater insert data in table rows -->
    <td><netui:label value="{container.item}" defaultValue=" "></netui:label></td>
    <% j = j + 1; %>
    <% if (j > 6) { %>
    </tr>
    <% j = 0; %>
    <tr>
    <% } %>
    </netui-data:repeaterItem>
    </tr>
    </netui-data:repeater>
    </table>
    ====================================================
    I also wrote another Timer running in the server side. here are the codes
    ======================================================
    <%!
    public void startTimer(HttpServletRequest request)
    Timer timer = new Timer();
    TimerTask monitorTimerTask = new Monitor();
    timer.schedule(monitorTimerTask, 5000, 5000);
    request.getSession().setAttribute("My Timer", monitorTimerTask);
    System.out.println("Timer starts");
    %>
    <%!
    public class Monitor extends TimerTask
    public void run()
    %>
    <%!
    public void stopTimer(HttpServletRequest request)
    TimerTask monitor = (TimerTask) request.getSession().getAttribute("My Timer");
    if (monitor != null)
    System.out.println("Timer stops");
    monitor.cancel();
    %>
    <% if (request.getParameter("start") != null)
    startTimer(request);
    %>
    <% if (request.getParameter("stop") != null)
    stopTimer(request);
    %>
    <input type="button" value="Start the Timer" onclick="document.location='index.jsp?start=true'">
    <input type="button" value="Stop the Time" onclick="document.location='index.jsp?stop=true'">
    ======================================================
    My question is how do (can I) call those codes repeater above within the StartTimer() in Javascript or the funtion run() in the class Monitor, which will will be called continuously every 5 seconds, whenever I click on the button Start. Right now, it seems to me that whenever the portal starts, then those repeater codes are executed just once and are not executed when I click on the start button to call the start() in javascripts/run() in the class Monitor.
    PS. I include the codes for two different Timers but in my portal there is only one Timer and I can pick one of those, whichever works better. Please help
    Thank you
    TL

    It might compile perfectly well, but the message suggests that you didn't deploy it properly. The class loader can't find it.
    That .class file should appear with its package directory structure under the WEB-INF/classes directory or in a JAR in your WEB-INF/lib directory in some WAR file. Does it?

  • How do I save an image that's in a web site's background?

    I know how to save an image that is not in the background, I just drag it to my desktop. But I cannot do the same with the image in the background of the page, and when I right-click on the backgroung there is no option for that.
    Does anybody know how to do this?
    Thanks.

    Hi
    on my 10.5.8 & Safari 4.0.4 - I right click on the background, choose "inspect element" and in the Web Inspector window that opens... look for 'background url' over on the top right.
    You should be able to ctrl-click that url & then paste it in a new tab or window.

  • How to call Fortran .dll file that using other library files?

    Hi,
    I am trying to do some arkward tasks using LabView, and I am desperately need help....
     A little bit background:
    1. My co-worker has some code written in Fortran, where he called other libraries (many from CERNLAB or PAW). Those stuffs are pretty powerful in mathmatical calculation and simulations.
    2. In some of my LabView code, I need to call his Fortran source code in order to do some complicated calculations. I have no capablility to translate his Fortran code to Labview (or is it even possible??), so we end up with trying to use "Call library function node" where I just provide input/outputs to communicate with his code. The idea sounds simple enough?
    3. We complie the Fortran code into .dll, and then specifiy the dll in "Call library function node". The first try with a very simple Fortran code, something like c = a+b*a, was sucessful. The dll file and Call lib function worked good. It's sort of proved the concept.
    4. Now I am trying more complicated Fortran code (say Test.dll), which calling other library (.lib files) that using typical "call xxx(a,b,c)" line, and my nightmare started....  It seems nothing was excuted when I call Test.dll in LabView.
    Questions:
    1. How do LabView know if the Test.dll code needs functions from other .lib files? Do I need to copy all the .lib files to a specific folder?
    2. When I create .dll file, for LabView to be able to use it, are there any special requirement on the way the .dll is compiled?
    3. Seems there is mismatch btw the data type in Fortran and LabView. For example, LabView's  Signed 8-bit Integer seems different with a integer in Fortran. How can i know the correlation btw data type in different langurage, i.e. LabView vs Fortran?
    4. Are there any good examples that I can take a look?
    I would highly appreicate any suggestions/helps!
    Rgds,
    Harry

    You are aware that Intel Visual Fortran is the successor to Compaq Visual Fortran (I think you made a mistype with the Virtual)? So an upgrade might be at its place.
    Anyhow I'm really not familiar with Fortran at all, but lib files are usually compiled into an EXE or DLL and not loaded dynamically. 1) 
    So there should be no problem with locating those libs. What most likely is a problem are other DLL dependencies such as any Fortran Runtime library or possibly other third party DLLs the more advanced code in your DLL might be using.
    Typically most compilers can be configured to link the runtime library code statically into the DLL, as altenbach reports for the Intel compiler, otherwise you must make sure to install the  redistributable Fortran Runtime Library for your compiler. Besides that you must make sure to find out what other runtime dependencies your code might have and install them.
    1) One exception I know of is LabWindows CVI which allows to also load lib files dynamically. This is supposedly a legacy feature from LabWindows for DOS, which allowed that feature to simulate dynamic module loading in order to swap modules at runtime to work around the 640k memory limitation of DOS.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to call a stored procedure that use a type defined in a package?

    Hi all,
    this is stored procedure:
    GET_GIORNATAEVENTO( in_nome_servizio IN VARCHAR2,
    out_dati_aggiornati OUT TAB_VARCHAR2);
    TAB VARCHAR2 is defined in the package specification:
    TYPE tab_varchar2 IS TABLE OF VARCHAR2(5) INDEX BY BINARY_INTEGER;
    and this is the name of the package: PKG_SERVIZI_MMSPUSH.
    This is my php script:
    <?php
    // Connect to database...
    $c=OCILogon("venus_vfl", "venus_vfl", "venvi");
    if ( ! $c ) {
    echo "Connessione non riuscita: " . var_dump( OCIError() );
    die();
    echo "<br>PKG_SERVIZI_MMSPUSH.GET_GIORNATAEVENTO</br> ";
    echo "<br> </br>";
    // Call database procedure...
    $in_servizio = "MOTO";
    $s = OCIParse($c, "begin PKG_SERVIZI_MMSPUSH.GET_GIORNATAEVENTO(:bind1, :bind2); end;");
    OCIBindByName($s, ":bind1", $in_servizio);
    OCIBindByName($s, ":bind2", $out_esito);
    OCIExecute($s,OCI_DEFAULT);
    echo "OUT_DATI_AGGIORNATI= " . $out_esito;
    // Logoff from Oracle
    OCILogoff($c);
    ?>
    How to test stored procedure to get the output parameter?
    Thanks in advance.

    Thanks,
    but I need to test stored procedures that uses type defined in the package.
    e.g.
    if I have s.p.
    PROCEDURE get_risultati_squadra
    ( in_squadra IN VARCHAR2,
    out_serie OUT tab_varchar2_5,
    out_tiporisultato OUT tab_varchar2_5,
    out_n_giornata OUT tab_varchar2_5,
    out_squadre OUT tab_varchar2_200,
    out_risultato OUT tab_varchar2_10,
    out_marcatore OUT tab_varchar2_50,
    out_punti OUT tab_varchar2_3,
    out_rimbalzista OUT tab_varchar2_50,
    out_rimbalzi OUT tab_varchar2_3,
    out_esito OUT tab_varchar2_2);
    I have to define every type external to the package, in this case five new TYPE !!
    Is there another way to solve this problem?
    Thanks

  • How to retrieve the user id that is visiting my web page

    Hello,
    I wonder if somebody could help...
    I have an applet in one of my web pages.
    I would like to control who is visiting that applet , and with "who" I mean the user id that he/she used to logon to the PC. So what I want is to keep in a file , all the users id that are accessing to that page.
    Is this possible? How can I get the user id from an html page?
    Thanks in advance and regards,
    Patty

    If your applet is being run by people all over the web, then the "user ID" isn't going to be very meaningful to you. And frankly the ID that I use to log on to my home PC is none of your business anyway.
    However if your applet is to be used in a company intranet, where user IDs are meaningful and not duplicates, you can useSystem.getProperty("user.name")to find that out. You will have to sign your applet for that to work, which means that the user will have to click on a box approving potential security issues before your applet will run, but that should not be a problem in a company intranet environment.

  • How to call a java function that is in page header from a process in page.

    Hi,
    Generally we call plsql process from a javascript in the header of that page.
    But i want the other way around.
    Is it possible or is it a completely wrong idea.
    I am thinking so because we are able to call javascripts from items and buttons why cant we do so from a process.
    Thanks and Regards,

    943323 wrote:
    Hi,
    Generally we call plsql process from a javascript in the header of that page.
    But i want the other way around.
    Is it possible or is it a completely wrong idea.
    I am thinking so because we are able to call javascripts from items and buttons why cant we do so from a process.It's a "completely wrong idea". Processes and PL/SQL run in the database on the server. JavaScript runs in the browser on the client. For basuic security reasons the browser must make requests to the server, not the other way round.
    Please update your forum profile with a real handle instead of "943323".

  • How to call and run parameters in Procedures with Sap Data Services?

    Hello Guys,
    Migrating'm all SSIS2008 packages for Sap Data Services.
    During this process I found a difficulty about running Stored Procedures (Sql Server 2008 R2) within the Sap Data Services.
    I need help to convert this code sample:
    EXEC dbo.prcInserirLogExecucaoSSIS
    @FEED = ?,
    @TIPO_ENTRADA = 'NOVA_CARGA',
    @ARQUIVO = ?
    to Sql ('datastore', 'example') with parameter passing ...

    Import the stored procedure as a function in a datastore.
    Drag the stored procedure to your query browser and you will be set. 

  • How do i find out how my ipad mini is doing that i sent in for service?

    i sent my ipad mini for service to apple and i was wondering if there is a way to find out if they have looked at my ipad yet or serviced it yet or anything? I have the box the ipad came in if i need the serial number to locate my ipad i just want to know what is going on with it lol does anyone know the answer to this

    Try here.
    https://selfsolve.apple.com/repairstatus/main.do

Maybe you are looking for