Passing parameters from the request to an external Web Service

Hi all

I'm not new to ODI, but today I have to work with Web services, something I've never done before.
so I need help.

My new project aims to fill a DB table, but the only way to do it is passing data through a web service.
The web service already exists and I can't create a new one, so I guess that by using Data Services ODI is not a solution.
This web service is waiting for the values in the column, and there is an insert in the final table.
Finally, I want to call this Web Service and pass through the settings from a query of RDBMS.

Before creating this post, I searched around articles and documentations and the only thing I found was on the documentation of ODI, but was really short:

Using the mechanism of binding for applications:
It is possible to use the mechanism of binding when using a web service call in a procedure. With this method, it is possible to call a web service for each row returned by a query by setting the request based on the values of the line

So it seems to be possible, but if you have some clues on how to do it please let me know...

Hi Brice...

How are you my friend?

It's not that difficult...

Have you ever used the tool of odiInvokeWebService?

All you need to do is call this tool in a target tab of proceedings and in the use of the source of the query.

Don't worry about variables "bind", call the kind of substitution ' # ', it will work better.

Does this make any sense?

Cezar Santos
http://odiexperts.com

Tags: Business Intelligence

Similar Questions

  • Problem during the call to an external web service - CRM 2013

    Hello everyone.

    It's my scenario:

    I do a real-time CRM data integration with other software. I have deployed several plugins, for the most part in messages to create/update, for entities I want to synchronize. The developers of other software gave me the web service endpoint and I created the client using svcutil. Manually, I created the link and gave it to the generated client, as well as the end point. In the events of the first, I could synchronize some records, but I had a few mapping errors. I debugged the plugin, corrected errors, and when I want again to the tests, the plugin is throw me an exception when any method of the web service. Let me explain the problem:

    The exception:

    I have instantiated the web service client (passing the binding and endpoint). And when I try to call any method (e.g. Add), it throws the exceptions "InvalidOperationException. I started to debug the code and I noticed that just before calling the web service method, the stills in 'Opening' client state (as you can see in the picture above). Of course that throws the exception.

    { The complete exception is: ' cannot modify the purpose of communication, System.ServiceModel.ChannelFactory'1 [IAxxisWcfServices], although it is in the Opening State. "} System.SystemException {System.InvalidOperationException}

    I did a test, outside the environment of the CRM, on a console application with the same conditions of the customer web services (generation with svcutil manually passing the same binding and endpoint), and the same order, the code of the plugin and everything works well. The State of the customer never stills 'Opening', so I put discarded any problem with the web service.

    Does anyone know if I'm missing something in the code? or some configurations?

    CRM is 2013 on site with the latest updates.

    Thanks in advance.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • How to pass the credentials to an external web service from BPEL in 11g

    Hi all

    I use JDev, SOA 11.1.1.2.0.

    In our process, we demand siebel service, which is a guarantee and it doesn't use WSSE security headers.
    In siebel service I'm passing username and password through soap headers.
    What we need to do apart from that?
    In 10g, which we did by passing these values through invoke activity.
    11 g I have not found anything like that.


    Please help me.

    Concerning
    PavanKumar.M

    Pavan,

    As discussed, it is the same old school bpelx:inputHeaderVariable for 11 g as well, but cannot be done visually, you must modify the bpel source to add bpelx:inputHeaderVariable...

    Check that Oracle doc:

    http://download.Oracle.com/docs/CD/E14571_01/integration.1111/e10224/bp_manipdoc.htm#CIHFCBAD

  • Passing parameters from one page to the OFA to another PAge of the OFA

    Hello

    I was wondering, if there is a possibility of passing parameters to the request from one page to another page in EBS (eBusiness Suite).
    I tried to use the following

    (a) PageContext.putParamater ('MyParamater', 'ParamaterValue')
    (b) I have addded above the line of code by extending a controller on the page of OAF and personalized page

    When I retrieve the value of getParameter() on the next page. I am also unable to access the parameter in the following page.

    I tried the above code while trying to create expenses in the module I have costs... I would like the ReportHeaderId from one page to another page for customization purposes. I am not able to get the ReportHeaderId in the ReviewPAge... There is no Business Objects in the review page... try the idea of putParameter.

    Any help will be much appreciated

    Thank you

    Yes, the value will remain unless the root AM is released or remove you it with oapagecontext.removeTransactionTransientValue ("myParam");

    Glad to hear it works for you! Also, please mark your messages as helpful or correct answers as it will help others.

    Thank you
    LC

  • need help to pass parameters to the Flash

    Hello

    I'm pretty new to Flash and tried to solve this problem in the past few hours.

    What I want to do is to pass parameters from the browser to Flash.  I googled and it seems that the best way is FlashVars.

    However, I tried different codes and can not get Flash to detect settings.

    I decided to follow the example here and just copy and paste everything (just change the "main.swf" in my swf name):

    http://www.Kirupa.com/Forum/showthread.php?t=334923

    Flash loads, but it shows that ' param: "without anything else.

    I gathered that it is probably a foundamental problem more.  (for example how I am debugging, or some settings, etc..)  Clues?

    (I use CS4 trial AS3 version).

    Thank you!

    If you use the standard flash integration, you must list your flashvars in 3 locations in your html file.  you do this?

  • Pass parameters to the box of the HTML form to a stored procedure

    I'm always looking for a solution to my problem of forms. For the record, I don't use Express applications to create my application - I use PL/SQL right. I need to know how to pass parameters from the box to my Web form. I welcome people select one or more checkboxes in a form that calls a remove function to delete the selected records. What I read in Oracle of the "Guide to the developer of database applications - Fundamentals" is not useful to me. If someone could tell me some examples, maybe I could see what I'm doing wrong. Here is what I wrote in "the developer of database applications - fundamentals Guide ':

    All the boxes with the same NAME attribute are a group of checkbox. If none of the boxes in a group is selected, the stored procedure receives a null value for the corresponding parameter.

    If a check box in a group is selected, the stored procedure receives a single parameter of VARCHAR2.

    If more than one check box in a group is enabled, the stored procedure receives a parameter with the type of PL/SQL TABLE OF VARCHAR2. You must declare a type like this, or use a pre-defined as OWA_UTIL. IDENT_ARR. To retrieve the values, use a loop:
    CREATE OR REPLACE PROCEDURE handle_checkboxes ( checkboxes owa_util.ident_arr )
    AS
    BEGIN
    ...
    FOR i IN 1..checkboxes.count
    LOOP
    htp.print('<p>Checkbox value: ' || checkboxes(i));
    END LOOP;
    ...
    END;
    /
    SHOW ERRORS;

    I'm not sure that understand what your question is.

    If your web form has the following defined all with the same name:

    one
    two
    three
    

    You create and save a procedure to manage the sending of a form that contains a parameter with the name of attrib type owa_util.ident_arr for example:

    create or replace procedure handle_form(attrib owa_util.ident_arr) as
      iter number;
    begin
      for iter in attrib.first .. attrib.last loop
        -- do something with attrib(iter)
      end loop;
    end;
    /
    

    Now, the only problem with this Manager (or any other), is that if the user selects any of the boxes, or no value for the parameters expected, the Manager called with parameters missing or with on all of the passed parameters, as well as the call will error.

    To move, you need to provide default values for all parameters passed to your handler such as the settings of ident_arr, but with ident_arr settings, it's hard to do with autonomous procedures. If you place your procedure in a package you can define variables of package-level of the appropriate types that can be used as default values:

    create or replace package my_web as
      empty_arr owa_util.ident_arr;
    
      procedure handle_form(attrib owa_util.ident_arr := empty_arr);
    end my_web;
    /
    create or replace package body my_web as
      procedure handle_form(attrib owa_util.ident_arr := empty_arr) as
        iter number;
      begin
        for iter in attrib.first .. attrib.last loop
          -- do something with attrib(iter)
        end loop;
      end;
    end my_web;
    /
    

    now, when you hit in the situation where the user does not select the checkboxes, the call to handle_form will be no reviewable error on due to missing parameters, and the empty_arr will not have all the elements to iterate over so the loop in the body of the procedure will be fine and you will be able to retrieve each value of the checkbox selected attrib table when you iterate on it.

  • Passing parameters to the URL - availability in the new process of request

    Hello

    I am able to pass parameters in the URL of the APEX that defined the points of the application as below

    : http://application-tier server: port/pls/apexdev/f? p = 1001:1:APP_CLIENT_NUMBER, APPLICATION_NUMBER:0001285, 0000051:

    I would like to get and set other items based on elements of application passed as parameters. I would like to only enter once application.

    I found the best place for this action in a process of application with Point on new Instance of Process.

    The problem seems to be that the value of point of application has not been set at this point, and therefore the values are null.

    If I change the application process process Point to something that runs to each page as On Load: after the header, then the values are available. It is not suitable as only wish to run once at startup of the application.

    I can't find discussion of this documentation.

    1. I would be able to access URL parameters in the application process with Point on a new Instance of the process?

    2. are there any other equivalent task for access to URL parameters at the start of the application?

    Thank you

    Hello

    APEX runs only on the new process Instance when a new session has been set up. As you discovered, URL items are not yet saved in session at this point State. You can use a level app process before header instead, with a condition that makes that make it run when certain elements that you want to initialize are null.

    Kind regards

    Christian

  • Passing parameters from one page to another in ADF Oracle 11g Release 2

    Hello
    I'm developing an Application of Web Java EE very simple, in this I am filling a grid (table) on the first screen and on the selection of a line in this screen, I have to display the records in a form, in the next page.
    I want to transmit the information of primary keys from the grid screen to the shape of the screen (2nd page) and use this information to render the data, eventually, I'll have to perform CRUD operations.
    Please let me know how to pass parameters from page 1 to page 2 and use this data in the page 2 to return the records, Oracle ADF 11 g R2.

    Thank you.
    Rajat
    http://rajatnigam1.blogspot.com

    Published by: RajatNigam on July 4, 2012 13:16

    Same page or another page - it's all the same technique.

  • Passing parameters from HTML to Flash Object

    I know it must be very simple, but following the examples I can find on passing parameters from HTML to my Flash application, I have not been successful. I would like to find a relatively common using AS3, Flash CS4 example.

    If it helps, I need to pass the url of an XML file to the flash application so that it can get instructions on what it is supposed to play. We want to do in this way because we do not control the web site so that we can not just leave the XML file on the server and maintain as needed.

    I don't know if I'm just making typo or what. Share and other snippets of it would be greatly appreciated.

    Thanks for any help.

    Hey I think I know what you need to do, try this "" in the HTML code, and then create a Flash var like this:

    var xmlURL:String = this.loaderInfo.parameters.xmlURL;

    chance!, tell me if it works

  • How to run and pass parameters to the exe file in the txt file.

    Hello

    I am facing problem with passing parameters in the .exe file, which is run by labview.firstly that I have script .txt with the settings that I have to go to the .exe file. This .exe file is also a software, and this script is written for her. And now I have to create program in labview which should satisfy the following points.

    1. I have to use a button named "Run script". If I pressed the button, it should open the browser where I can choose the script .txt file.

    2 .exe application is expected open(Path already chossen).

    3. After passing the .exe application settings should be closed.

    4 and labview should now update its parameter

    I just open using Exce.vi .exe file, but I didn't get any idea to do more than this.can someone please help me?

    Thanks norbert. CAN I love it? What should I change now? VI attached below...

  • Unable to transfer data from the laptop hard drive external/pendrive.

    Dear Experts,

    Unable to transfer data from the laptop hard drive external/pendrive.

    Each time that tried to transfer meesage seems to the authorization of the administration.

    Kindly help me to solve the problem.

    Concerning

    Hello

    Follow these steps and check:

    To take ownership of a folder

    a. click on the USB key you want to learnand then click on Properties.

    b. click on the Security tab, click Advanced and then click on the tab owner.

    c. click on change. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    d. click on the name of the person you want to give to the property.

    e. If you want that person to be the owner of the files and subfolders in this folder, select the owner of subcontainers and objects replace check.

    f. click on OK.

  • Passing parameters to the named method built-ins

    Hello

    Can I pass parameters with the "named" built-ins in forms 6i or another method?

    I tried this

    OPEN_FORM (FORM_NAME = > ' C:\Users\Roma\Desktop\NATIONAL TECH.) FMX');

    but failed ' wrong number or types of arguments error.»

    The name of the parameter is FORMMODULE_NAME in this version of the signature of OPEN_FORM.

    (Do not know why the parameter has different names in different versions of signature)

    Try

    OPEN_FORM (FORMMODULE_NAME => ' C:\Users\Roma\Desktop\NATIONAL TECH.) FMX');

  • Search bar on the Macbook Air doesn't work, will allow me to load the pages of Favorites and links to these pages, but not let me google from the bar or manually enter Web sites, however, it works perfectly on the guest user

    Search bar on the Macbook Air doesn't work, will allow me to load the pages of Favorites and links to these pages, but not let me google from the bar or manually enter Web sites, however, it works perfectly fine on the guest user. Have you tried restarting and it still does not work.

    The problem should be solved now.

    Otherwise:

    OS X

    iOS

    Workaround for problems with the Safari address bar

    http://osxdaily.com/2016/01/05/fix-Safari-freezing-address-bar-use/

  • Active Services Web Directory has encountered an error when reading the parameters for the specified Active Directory Lightweight Directory Services instance

    VCenter Server 4.1, I installed it on a physical machine. This is the error message that appears whenever I try to follow what is happening every 1 min event viewer.

    Error:

    role for users: log name: Active Directory Web Services

    Source: ADWS

    Date: 2010-07-28 15:55:21

    Event ID: 1209

    Task category: Instance ADWS events

    Level: WARNING

    Keywords: Classic

    User: n/a

    Computer: wwubmw.williamwoods.local

    Description:

    Services Web Active Directory encountered an error when reading the parameters for the specified Active Directory Lightweight Directory Services instance.  Services Web Active Directory will try again this operation regularly.  At the same time, this body will be ignored.

    Instance name: ADAM_VMwareVCMSDS

    The event XML:

    The OS is Windows 2008 R2. What should I do to solve the problem.

    Thanks for the reference Troy

    If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '.

    Gregg Robertson, VCP3, 4, MCSE, MCSA, MCTS, MCITP

  • CASE to call external web services

    Hello

    I wonder what I should put in place to make calls to external web services providing data, which must be kept by the CAs in a record store.

    Could someone give me some advice?

    I think it must be different, then from the analyses of the documents or sites Web.

    Any help is appreciated.

    Thank you and best regards,

    Heiko

    Heiko,

    What is the format of data that you get from the web service?

    I'm not aware of frank manner (out of the box) to obtain Web service data in the ERMS. You have two options:

    ~ Add an intermediate step, like get Web service data in a database or store the answer in the form of XML file, then pointing to your to that source intermediate certification authorities.

    ~ Write java code using the API short to get the web service data and write this in a record store.

    HTH
    Pankaj.

Maybe you are looking for