How to use "Routing Table" option in the Proxy in OSB service?

Hello

I created business services and Proxy in my console of OSB. I used the "Custom Query" option when creating the database adapter and I am passing a parameter to the query. My input parameter is 'name '.

Based on the input for this parameter values, I spend a values corresponding to the query. By example, if I pass the following values to the input parameter "Name" (India) I need to spend "Value1" to my request.

The India-> value1
China-> value2
America-> value3

To achieve this requirement, I used option "Routing Table". I specified the values as follows: -.

Expression - $body / fet:FetchCustDataInput / fet:Name
Operator - '='
Compare the value - India
Service - "my Webservice.
Operaton-"my Service operation.

In the "application of Actions:" I added the 'add an Action-> processing e-mail-> replace' and provided the following values.

Replace < XPath > = $body / fet:FetchCustDataInput / fet:Name
Variable = 'name '.
with the Expression = xs:string('Value1')
and the "Replace the content of the node" option selected.

No validation error I encountered. I created the routing table in the Proxy service. But when I try to run the service proxy in my Test Console, I get the following error
«The call resulted in an error: an unknown error during the processing of the message of service ProxyService OSBQueryService/FetchByCustomQuery/FetchByCustomQueryPS.»

I even activated "Direct call" and 'Include Tracing' options as well. The message in "Tracing" give "(echo request)
Routed service. No Service has been invoked, echoed the demand. ».

Can someone please help me solve this problem.

Thanks in advance,
Udaya

Hi Marion,.

Replace = $body / fet:FetchCustDataInput / fet:Name
Variable = 'name '.
with the Expression = xs:string('Value1')
and the "Replace the content of the node" option selected.

Above replace the action is wrong. It should be like -

Replace = $body / fet:FetchCustDataInput / fet:Name
Variable = body
with the Expression = xs:string('Value1')
and the "Replace the content of the node" option selected.

Kind regards
Anuj

Tags: Fusion Middleware

Similar Questions

  • How to use a table defined in the main Script block in an InlineCode Block of a DataGridColumn ComboBox itemRenderer?

    Hello

    How can I use a table defined in the main Script block in an InlineCode Block of a DataGridColumn ComboBox itemRenderer?

    Thanks for any help!

    Martin West

    I hope my problem with the Code:

    < fx:Script >

                <! [CDATA]

    private var myArrayOut: Array =new Array (' one of ','out two', "three out");

    < / fx:Script >

    ...

    DataGrid...
    < mx:DataGridColumn headerText = "MyColumn" dataField = "MyColumn" rendererIsEditor = "true".
    < mx:itemRenderer >
    < fx:Component >
    < mx:ComboBox creationComplete = "init ()" >
    < fx:Script >
    <! [CDATA]
    private var myArrayIn: Array = new Array ('one', 'two', 'three');

    private function init (): void {}

    this.dataProvider = myArrayIn; / / How can I use myArrayOut here?
    }
    []] >
    < / fx:Script >
    < / mx:ComboBox >
    < / fx:Component >
    < / mx:itemRenderer >
    < / mx:DataGridColumn >

    Hello

    outerDocument is a link to external data and functions.

    If you need

    outerDocument.myArrayOut.

  • How to use two different versions of the stub of Web Services SDK files in a single project (5.5 and 6.0)

    Hello

    I have a project that uses the vSphere 5.5 management SDK (I built the stub files according to the documentation) and have these in my c# Solution. Everything works beautifully. My class files that interact with vSphere all have a use statement as follows:

    using Vim25Api;

    All fine so far.

    Now, I want to be able to provide support for a user to connect to vSphere 5.5 and 6.0 vSphere environments. I built the stub files for vSphere Management 6.0 SDK and those in my solution presented in a separate project. Each project is based on a different class library and I have each set of files for each version of vSphere stub in different NuGet packages. However, when I select to use a vSphere 5.5 connection, it seems that internally the 6.0 files stub are used, or vice versa.

    I tried to separate things out by giving the Vim25Service.dll and Vim25Service.XmlSerializers.dll files for each version of alias names (alias by default for all assemblies is "global", but I changed it to vSphere5 and vSphere6 for each version. Then at the top of each class file before all with what I'm doing:

    extern alias vSphere5;

    or

    extern alias vSphere6

    (According to what project I'm in). Then, use the using statement for each class file that interacts with vSphere using vSphere5::Vim25Api; or using vSphere6::Vim25Api; to use the files to correct/stub namespace for each version I support.

    However this still doesn't seem to work, and things seem to be getting confused upwards somehow. I take a guess that internal files make calls and somehow have crossed.

    Is it possible to use two stub version of vSphere together different files in the same project? How should I handle my script? I thought of just upgrading to use the version of vSphere 6 (I can always connect to vCenter 5.5 using these, but some of the properties on the object have changed, (for example some dynamic properties on AlarmObjects and other items have been removed and code breaks if I delete the references to the stub vSphere 5.5 files.) So, I want to keep two different versions and use each of them separately in the same solution, so I support vSphere 5.5 and vSphere 6.

    Solved - this using wsdl.exe and just by specifying a different namespace to use in the proxy class that is generated by using the /n switch.

    for example using PowerShell to build automatically, the value $VimApi and do:

    WSDL.exe/n:$ VimApi...

  • How to use an xquery query in the Proxy of the OSB service?

    I created an xquery query and added to the alsb. I wanted to use it in a proxy service to replace an element in $body. How can I do?

    With replace action in your workflow proxy service:
    http://download.Oracle.com/docs/CD/E13159_01/OSB/docs10gr3/eclipsehelp/tasks.html#wp1121647
    http://download.Oracle.com/docs/CD/E13159_01/OSB/docs10gr3/eclipsehelp/ui_ref.html#wp1298470

  • How to use windows search to search the contents of a bunch of files with random names / extensions?

    How to use windows search to search the contents of a bunch of files with random names / extensions? Plain txt files say 1,000 with random name of file extensions?

    You can always search within those, but you need to add extensions to the file system so that it knows to look inside these files.  You said that you have a lot, so it's perhaps tedious.  Here's How to search within several types of files.

    One thing you could try is rather to make a copy of this file, rename all the files to the same extension (even an extension false for example something.bill) and perform your search on this band.  Just an idea.

  • How can I restore 'folder options' in the section "Tools"?

    How can I restore 'folder options' in the section "Tools"?

    One of the solutions in the following thread will solve your problem:

    "Why don't I have Folder Options in tools?
    <>http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-files/why-Don >

    HTH,
    JW

  • How to use a form created on the Capture of a vector

    People, I'm having difficulties to find out how to use a form created on the Capture of a vector. For example, I open Illustrator on my desk and, although the form is saved in a creative library of clouds, I can't find how to open this archive as a vector. I tried everything from capture, but then I can just export the shape as a bitmap image. I'm really lost on this.

    Hello Cristina,

    In Illustrator, simply drag the shape of your library panel in an open document. That's all there is to it.

    Mike

  • How to use setViewportBounds (Bounds value) to the ScrollPane?

    How to use setViewportBounds (Bounds value) to the ScrollPane? This method is, visually, what for? I tried to put a specific Bounds.minY to have a precise scrolling in the axis Y in vain. I use the setVvalue() method to scroll, but it is not convenient to exactly locate a position in the coordinates of the node content listed in the scroll pane.

    The viewportBounds are the limits of the viewport (i.e., the visible part of the content) in the scrolling pane itself, if I understand correctly. The way to access programmatically is by setting the vValue property.

    I have not tried, but if you do something like

    scrollPane.setVmin(0);
    DoubleBinding vmax = new DoubleBinding() {
         { super.bind(scrollPane.viewportBounds(), content.heightProperty()); }
         @Override
         public double computeValue() {
            return content.getHeight() - scrollPane.getViewportBounds().getHeight() ;
         }
    };
    scrollPane.vmaxProperty().bind(vmax);
    

    to configure your component to scroll, then you can call setVvalue (...) and just pass a location of coordinates for your content node. This assumes that your content node is a region or a control; you will have to perhaps a little logic in the method computeValue() to deal with the cases where the display window is greater than the additional content.

  • How to restrict access to a single user for a proxy in OSB service

    How to restrict access to a single user for a proxy in OSB service

    A. go to the Proxy Service and click on the Security tab

    B. click on Transport Acess political of control to be edited.

    C. click Add to the terms to restrict users.

    D. in the main list, select the category from the user

    E. give the user name to which you want to give access.

  • How to use Layer 2 Ports on the Cisco 1841 router switch

    Hello

    I use the Cisco 1841 router with a single port layer 3 Fe0 and 8 Ports switched.

    I gave the IP on the Fe0 port which is connected to another router.

    Now I don't know how to use Layer 2 of the router switch ports.

    I tried to make one of the port as a Port of access by switchport mode access and connected my laptop and the same subnet given IP, but I can't ping my Fe0 IP port and vice versa, as I am also unable to ping my laptop router.

    Can someone explain to me how to use these ports on layer 2?

    Hi Muhammadatifmasood, take a look at the link below, I'm sure that you will find it useful.

    https://supportforums.Cisco.com/discussion/10919631/how-enable-routing-b...

    BenSamayoa

  • How to use FOLLOW-UP and COMPRESS the clause of the CREATE statement TABLE?

    my oracle's 10g and the statement of create table below:

    CREATE TABLE S005.q100

    (

    Q1 tank (1)

    )

    NOMONITORING;

    After you create this table, I ask USER_TABLES, but the value of the follow-up column is YES.

    I think there should be no how is? and also I have the same problem with the COMPRESS.

    Thank you very much


    Hello

    Heap - organized tables are your usual routine tables. It is created using the BUNCH of the ORGANIZATION of the CREATE TABLE statement clause. This is the default value.

    The other variant of this clause is ORGANIZATION INDEX, which means that you will create an organized Index of Table. In other words, it is a table that is stored in a B-tree, like an index.

    You also have an EXTERNAL BODY, which means that you will create an external table. Here is generally flat files outside of the database that you can order the database to see tabular to use SQL (read only) against. You will also need the settings on how the data are presented on the file, so that your database knows which column will match that of the data.

    The COMPRESS on 10G is known as the "basic compression" and it works on ordinary table segment blocks, which are organized by a bunch of tables.

  • Satellite A210 - 16G (PSAELE) - how to use 4 GB and update the BIOS?

    Hello! I hope someone can answer a few questions for me.

    First of all is: How can I turn on my laptop to use all the 4 GB of RAM? OS is Win Vista Ultimate 32-bit with Service Pack 2. Now Vista all show the 4 GB of RAM, but don't use it. I activated the EAP in Vista, but still nothing. As I saw, I need to turn it on too memory remapping in BIOS but there is no option (my BIOS is ver.1.70).

    The second question relates to the BIOS. Because my version is 1.70 and there are more recent version 2.00; I get benefits if I update to BIOS? Someone has updated to version 2.00? And there are more options in the BIOS after update to version 2.00 (for example the memory remapping or a similar option)?
    I'm a little afraid to update BIOS, because sometimes my Toshiba freezes, and I would not hang during the update of the BIOS.

    And the final question is there any changelog to the BIOS? So I can see what is added and changed, and what's new in the new version of the BIOS. Because I could not find anywhere.

    Thanks for the responses to come.

    Hello!

    (1) you can use the entire 4 GB of RAM on a 32 bit OS. It is a due limitation of 32-bit technology. Windows Vista with Service Pack 2 may recognize the full 4 GB of RAM but not use it, more than 3.2 g.
    Here you can find more information about this limitation:
    http://APS2.toshiba-tro.de/KB0/TSB82022E0000R01.htm

    (2) about BIOS updated I can tell only must be made only if you have problems with the laptop. A BIOS update should never be done just for fun, because it of still a little risky. In the worst case, you can destroy the ROM module or complete motherboard.
    Update the BIOS doesn't normally contain new features or options. It s bug just setting. In addition it can t solve the problem with 4 GB of RAM and Vista 32 bit if you think that ;)
    If your laptop does not have 100% stable you shouldn't t update because it s too risky. Before the update, you should try to solve the problem of gel.

    (3) If a change log is available you can find it on the Toshiba site. If you can t find, there isn t available.
    That s all about this.

    I hope I could help a bit.

    Good bye

  • How to use Event Viewer to erase the mistakes/Vista

    How to use the event viewer.in performance information a tools / tools... built a lot of mistakes over time... Vista Home Basic to system op.  also it would help to speed up my computer?... can someone help me please...

    Hello

    To add to the good advice of dax1792:

    MyEventViewer can be verified at the time of the EVENT or the blue screen (BSOD) within a second
    then the EVENT or time of the BSOD for more information on the possible cause - see TIP.

    MyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
    TIP - Options - Advanced filter allows you to see a period of time instead of the whole of the record-
    Set it a bit before and after the time of the EVENT or the BSOD.
    http://www.NirSoft.NET/utils/my_event_viewer.html

    This ulilty also lets you clean (remove) one, several or all the logs in Event Viewer. Only
    real reason to remove them would be to make it easier to read all the new events - those recording after
    compensation.

    ------------------------------

    TechNet - observer of events
    http://TechNet.Microsoft.com/en-us/library/cc766042.aspx

    TechNet - clear an event log
    http://TechNet.Microsoft.com/en-us/library/cc722318.aspx

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" and="" devices="" for="" it :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How do I align table according to the AboveTable?

    Please someone tell me how I Align table according to the table above, I created and table a line and a column and I inserted the collapsible Panel, now I want to align, but I do not know how, I select the left, but it goes to the far left...

    2014-11-11_125022.png

    I shudder to think that you use tables for your page layout. However, I will show you how to solve the current problem.

    Add the following code just after opening STYLE tag and just above .style1

    {body

    Width: 960px;

    margin: auto;

    }

  • The list of all interfaces that use a certain option on the KM

    Hi all

    I'm trying to (using the tables of working repository) a list of all interfaces using has one or more "lit" for the relevant knowledge module. For example, we have IKM Oracle incremental update used in 200 + interfaces. This KM has a FLOW_CONTROL option that is set to True for some of these interfaces and False for the rest. Is there a query on the repository tables for us the list of interfaces/tables with the option is set to True, we can write?

    Any information would be really useful. Thank you.

    Hello

    You can try with something like this:

    SELECT proj.project_name, folder.folder_name, int.POP_NAME interface_name, km.trt_name ikm, opt.ue_name option_name, int_opt.short_value, int_opt.i_txt_value
      FROM DEV_ODI_REPO.SNP_PROJECT proj, DEV_ODI_REPO.SNP_FOLDER folder, DEV_ODI_REPO.SNP_POP int, DEV_ODI_REPO.snp_trt km, DEV_ODI_REPO.snp_user_exit opt, DEV_ODI_REPO.snp_ue_used int_opt
      WHERE proj.i_project = folder.i_project
        AND folder.i_folder = int.i_folder
        AND km.i_trt = int.i_trt_kim
        AND km.i_trt = opt.i_trt
        AND int.i_pop = int_opt.i_instance
        AND opt.i_user_exit = int_opt.i_user_exit
        AND opt.ue_name = 'FLOW_CONTROL'
      ORDER BY km.trt_name;
    

    This will display the project, folder, the name of the interface, the used IKM, option and its values (boolean or text).

    As you can see, I did join on the ikm (km.i_trt = int.i_trt_kim). You might need a table over if you want to do on LKMs.

    It will be useful.

    Kind regards
    JeromeFr

    Post edited by: JeromeFr
    I forgot a join condition between snp_user_exit and snp_ue_used on columns of i_user_exit

Maybe you are looking for