How to call query groovy WCF

This is probably a strange question. But if I have a WCF application that works very well, and I need to call it remotely through fglcmd and groovy script, how can I do? How to refer to the WCF request in the groovy code? Thank you.

com.quest.wcf.servicelayer import. *;

GHG def = ServiceRegistry.getEvaluationService ();

result = ges.invokeQuery ('wcfQueryId', param1, param2,...)

Tags: Dell Tech

Similar Questions

  • How to call a method defined in AppmoduleImpl using a groovy expression?

    Hi experts,

    With the help of jdev 11.1.1.5.0 - adfbc battery.

    I followed this post as the blogger says.
    How to call a method defined in AppmoduleImpl using a groovy expression?
    https://blogs.Oracle.com/ADF/entry/how_to_call_a_method

    While a button insert hit

    Suite error survey.
    java.sql.SQLException: ORA-20483: ADM-
    ORA-06512: at "RMSTD.FUNC_FIND_PLNT_DESC", line 22
    ORA-06512: at line 1
    
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    It is my code for the function.
    CREATE OR REPLACE FUNCTION func_find_plnt_desc (
       p_bu        VARCHAR2,
       p_plnt_id   VARCHAR2,
       p_lang      NUMBER
    )
       RETURN VARCHAR2
    IS
       CURSOR cur_find_plant
       IS
          SELECT bup_name1, bup_name2
            FROM bus_unit_plants
           WHERE bup_bu = p_bu AND bup_plant_id = p_plnt_id;
    
       rec_find_plant   cur_find_plant%ROWTYPE;
    BEGIN
       OPEN cur_find_plant;
       FETCH cur_find_plant INTO rec_find_plant;
    --RAISE_APPLICATION_ERROR(-20999,P_BU||P_PLNT_ID);
       IF cur_find_plant%NOTFOUND
       THEN
    
          raise_application_error (-20483, 'ADM' || P_PLNT_ID ||'-'||P_BU);
          --NULL;
       END IF;
    
       CLOSE cur_find_plant;
    
       IF p_lang = 1 THEN
          RETURN (rec_find_plant.bup_name1);
       ELSIF p_lang = 2 THEN
          RETURN (rec_find_plant.bup_name2);
       END IF;
    END;
    /
    Reason behind:
    while hitting the insert means null from the value of the survey so error function.

    If am not hitting doesn't mean no problem. the function works correctly return description.

    can someone help me how to override?

    Published by: ADF7 on April 10, 2012 23:51

    ADF7,
    the subject of the post has nothing to do with the question (for as far as I see it).
    As you can see the error message clearly comes from the procedure pl/sql you call the application module, works of groovy appeal method.

    We cannot decide what makes your service if you pass null as a parameter. You can check the settings before you proceed to the procedure or write the procedure in how it treats null parameters.

    Timo

  • How to call long pl/sql

    I have a pl/sql procedure that may attend the 2-20 mins depanding on the data.
    How to call this the BPEL?

    Prasanna-

    One way to do this would be:

    1. define a DBMS_SCHEDULER job for your pl/sql procedure.
    2. use BPEL to submit the work.
    3. query the table on user_scheduler_jobs or any other table that you can use to find out when the work.

    Another way would be to use (if you also have ODI):

    1 use ODI to call the plsql in a package
    2 expose the workflow as a Web Service for BPEL
    3 package ODI BPEL recall once the work is completed and a correlation between the response to the request.

    Thank you
    Neil.

  • How to call and parse the SOAP WSDL service in Swift 2.0 to Xcode 7.1

    I'm new to the SOAP and I don't know how to call SOAP Web service and parse XML. I also tried to try to Google.And all of the resources that I had was outdated. Y at - it a tutorial or examples that I can learn? Any help?

    Hello ColayHills,

    It's because SOAP is exceeded. It is based on XML and XML really nasty at that. You have other options or should you use SOAP?

  • How to call a second instance of the same VI?

    Hello

    I have a useful VI dealing with IO operations. To save some time, of what I would call the VI as a second instance do work at the same time. I created a sequence sub with the run option 'Use the new thread' and I called the Vi (a step of the sequence only). Execution time of the VI is about 20 seconds run Durin I called the subsequence and I carried on running my main sequence (parent). Since then 10 seconds to launch the subsequence (in the thread of sepatate I called the same VI as in the thought of subsequence the second instance will be created. However, instead of parallel work of the two instances of the same VI had to wait when mt subsequence end known call the VI th.

    So my question is, as in the topic: how to call a second instance of the VI even at the "same time"?

    Could you please tell me about the best approach to solve the problem?

    Any VI that you want to run in parallel must be paid also re-entrant, including screws.

  • How to call same vi for 4 times in a single vi?

    Hello.. I ve a vi named table 1 d Mult. I need to call this vi four times in another program of vi. The problem I've known is all the four outputs of vi are the same.

    My question is: how to call the same vi number many times?

    Thanks in advance

    Recursive calls in LabVIEW using VI Server

  • How to call windows dialog boxes

    Hello

    I just want to know how to call a windows dialog box, I called below the dialog using VB script and the script is the following lol = msgbox ("Your Message here", 19, "Your title here") and save it as a .vbs file, by changing the number "19" in the script to generate the different dialog box. And I think it is called by the user32.dl of windows.

    So can you please help me to call the dialog even in labview.

    Thank you & best regards

    Samuel J

    System engineer

    CAPTRONIC systems Pvt Ltd

    Bangalore, India.

    See attached VI calling MessageBoxA from user32.dll. Sorry for french labels, comments and the description...

  • How to call the setting menu of the BIOS on HP DV4 1540us netbook?

    Hi all

    How to call the setting menu of the BIOS on HP DV4 1540us netbook?

    F2 does NOT an on-screen BIOS setting.

    Is there another trick?  Or, perhaps, defining the procedure step by step to start the BIOS?

    TIA

    Power on the laptop and all logo HP being displayed, press F10.

  • How to call adobe pdf reader to open the PDF files in your application BB10?

    Hi all

    Can anyone please write an example of cascades showing how to call adobe pdf reader to open PDFs inside my BB10 stunts application?

    Thanks,.

    Mohanad

    This is how to do it:

    https://developer.BlackBerry.com/Cascades/documentation/device_platform/invocation/AdobeReader.html

  • How to call the web service?

    Hello

    I want to know how to call the web service from my application HTML5 & javascript.

    Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.

    I just want that when you call a web service method, I will return the result.

    Please try this out for a WebService call

    var xmlhttp;
    xmlhttp = new XMLHttpRequest();
    xmlhttp.open("get","your url",true);
    xmlhttp.setRequestHeader("Accept","application/json");
    xmlhttp.setRequestHeader("Content-type", "application/json");
    xmlhttp.onreadystatechange=function() {
     if (xmlhttp.readyState==4) {
      if (xmlhttp.status == 200) {
        console.log(xmlhttp.responseText);
      }
     }
    }
    xmlhttp.send();
    

    This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.

  • How to call a function in class library?

    Hi all

    Anyone know how to call a function in a library project?

    I have to call using a resource file in a library of a CLDC project project.

    So I write a simple test library and tried to access a function in my CLDC application.

    I tested with 2 following projects.

    1. a library project: TivitFirm

    Sorry I can't answer this from the point of view of the eclipse, I use JDE.  But I suspect that the approaches are similar, even if the detail is different, so maybe this will help you.

    In JDE, you have two options:

    (a) use a jar

    (b) create a dependent project

    (a) I usually use a jar.  So to do this I have a workspace is the library, I compile this, then in my project that uses it, I add the jar to build settings

    (b) in this case, you have two projects in the space of a job, and you say the main project that it is dependent on the library project.

    I hope this helps.

  • How to call the function cascade BlackBerry

    I begineer in blackberry c ++.

    I do two class is testobject and second in test .i call the onther text function average () and nexttext();

    so please how to call this function.

    // Default empty project template
    #include "TestObect.hpp"
    
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    TestObect::TestObect(bb::cascades::Application *app)
    : QObject(app)
    {
        // create scene document from main.qml asset
        // set parent to created document to ensure it exists for the whole application lifetime
        QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
        // create root object for the UI
        AbstractPane *root = qml->createRootObject();
    
        // set created root object as a scene
        app->setScene(root);
    }
    
    void TestObect::test(){
    
        qDebug()<< "****************Naveen";
    }
    

    I insert also declared in the header file.

    Q_INVOKABLE Sub test();

    then I create another test class.

    /*
     * test.cpp
     *
     *  Created on: Apr 2, 2013
     *      Author: nksharma
     */
    
    #include "test.h"
    
    test::test() {
        // TODO Auto-generated constructor stub
    
    }
    
    void test:: nexttest(){
        qDebug()<<"***********Next test*********"
    
    }
    test::~test() {
        // TODO Auto-generated destructor stub
    }
    

    error in the file namespace,

    here in file herder

    the namespace error

    /*
     * test.h
     *
     *  Created on: Apr 2, 2013
     *      Author: nksharma
     */
    
    #ifndef TEST_H_
    #define TEST_H_
    
    class test {
    public:
        test();
        virtual ~test();
         Q_INVOKABLE void nexttest();
    };
    
    #endif /* TEST_H_ */
    

    You have a space between the colon and the n in:

    void test:: nexttest()
    

    Another thiing, if you are using Q_INVOKABLE, you must declare Q_OBJECT in your front header file public:

     


    If you're still having problems, try to clean up the project with Project > clean...

  • How to call this method?

    I wrote this method earlier, but I do not remember how to call it. Can someone help me?

    public class PostReview extends Thread {
        String _url = new String();
    
        public void Submit(String _url) {
            ConnectionFactory connFact = new ConnectionFactory();
            ConnectionDescriptor connDesc;
            connDesc = connFact.getConnection(_url);
            if (connDesc != null) {
                HttpConnection httpConn;
                httpConn = (HttpConnection)connDesc.getConnection();
                try {
                    final int iResponseCode = httpConn.getResponseCode();
                    UiApplication.getUiApplication().invokeLater(new Runnable()
                    {
                    public void run() {
                        //Dialog.alert("Response code: " + Integer.toString(iResponseCode));
                    }
                    });
                } catch (IOException e) {
                    Dialog.alert("Caught IOException: " + e.getMessage());
                }
            }
        }
    }
    

    You can simply call News PostReview.Submit (url). But why the class extends Thread If you aren't actually create or who runs an instance of thread?

  • How to call a second screen?

    I don't know exactly how to call a second display (displays the results of a web service) with some parameters.  I'm starting simple and sending the GPS coordinates of the current location.  I would like to call the service, and then view the name of the first result in the text field.  However, I get the infamous with is not the mistake of blocking event every time that I try to do the setText.  Can someone tell me what I'm doing wrong here?

    class Results extends UiApplication {    public static void main(String[] args) {        Results gbResults = new Results(args[1], args[2]);
    
            gbResults.enterEventDispatcher();    }
    
       private Results(String Latitude, String Longitude) {        pushScreen(new ResultsScreen(Latitude, Longitude));    }}
    
    final class ResultsScreen extends MainScreen{
    
        ResultsScreen(final String Latitude, final String Longitude) {        final LabelField lblResult = new LabelField("Result:", LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);        add(lblResult);
    
            UiApplication.getApplication().invokeLater(new Runnable() {            public void run() {                //Call the service and get back [wsresult]                synchronized(UiApplication.getEventLock()) {                    lblResult.setText("Result: " + [wsresult]);                }            }        });    }}
    

    Now, I don't think that I need this class first results statement as in my first screen I call you just this screen like this:

    getUiEngine().pushScreen(new ResultsScreen(String.valueOf(qc.getLatitude()),String.valueOf(qc.getLongitude())));
    

    I think I'm calling and declaring the second screen correctly that the code is certainly get there.  There is just something to do with this setText.  What I need to do kind of the enterEventDispatcher () inside the ResultsScreen class?

    Also, I tried to do just the invokeLater by itself and the synchronize (getEventLock) by itself and kept getting the error each time.  It seems that no matter what I do, it always says that I'm not holding the lock on the event.

    I realized what the problem was.  When I called the getUIengine (.pushScreen), I was outside the event thread and so I had to wrap this call in a getAppLock as well.  When I was debugging before she looked like she came all the way to the setText (I'm sure that was the case somehow) and then wrong so I don't think that the appeal was the cause of the problem.

  • How to call the REST Webservices via native J2ME app.

    Hi, can someone help me how to call REST Webservices via native J2ME app. I don't want to use the HTTP request. Is there a possible way to call via AJAX, if so how? I use only the RIM and the J2ME API. Thank you, joy

    JSON is just the format fo the data returned.  So all you do is make a standard HTTP call, get the data and analyze using JSON.  OS 6.0 includes JSON, but OS 5.0 doesn't work, then you will need to get a JSON library if you want to use in the 5.0 OS.

    You might find them useful:

    http://supportforums.BlackBerry.com/T5/Java-development/JSON-library/m-p/573687

    http://supportforums.BlackBerry.com/T5/Java-development/sample-code-implementing-JSON-in-your-applic...

Maybe you are looking for

  • Cannot add or subtract from the choice of backup discs

    I can't find how to add or subtract from the disks to use for storing upOne of my disks (3) is complete and I want to use new selecta. the preferences window is not resized IN aid, he said:«If you already set up Time Machine, your backup disks are li

  • iTunes has changed the order of songs on an album. How to restore the original order?

    I have a classic album. iTunes has changed the order of the songs. How to restore the original order?

  • Mac OS x Server plugin error

    I got the following error of CardDAV Plugin for years, and yet the card contacts to which it refers does not exist in my contacts application (or at least can be pulled up in contacts) [redacted contact information] 02/03/16 2:46:16.758 PM Contacts [

  • Too big icons

    When I went today, I found that all the icons and screens were bigger than usual, and I can't find how to change their return. I'm sure it's something simple, but I don't remember how I erased it when it happened before.

  • S110 does not see the window of the camera wireless (OSX)

    I have a Canon S110, OSX 10.8.5 (mountain lion) as well as OSX 10.9.1 Mavericks (two different computers). I don't have the active OSX Firewall or other security software. I connect my computer to the wireless network and then connect the camera to t