How a process task to return a variable and a response code?

Hello IDMers,

I wrote a look ldap code to fetch the Active Directory Manager dn. I want to return a response to the success of this task completion code. But I don't know how to do both at the same time, my code becuause returns DN responsible name of AD and I also want a response code of this task say success, so from that I can do something else?

Please help me with this.

Thank you.

VSN

Once you read the name managerDN in the adapter code, use IOM API to fill the form of courses, and then continue with the commissioning and return the SUCCESS response.

Tags: Fusion Middleware

Similar Questions

  • Associated with the process task assignment to the Group

    Hello

    I have a RO: for example. Laptop

    Process definition for this task and the process of definition, I added a process task create user...

    and I'm asigning this task to a group.

    But this approval request goes to xelsysadm instead of Member of the group.

    Why is it so?

    I think you are confused between the approval process and procurement process.

    You must assign the task to the group necessary for the approval process.
    Once your application for approval is xelsysadm I guess you have the standard approval process.
    Entrust State standard to your group and the approval will go to your group.

    Hope this helps,
    Sagar

  • I pushed cntrl alt delete push end treat a moment I have nothing, I don't see my arrow cursor cant access is almost anything. What process I end a how can I reopen a return to normal?

    I pushed cntrl alt delete push end treat a moment I have nothing, I don't see my arrow cursor cant access is almost anything. What process I end a how can I reopen a return to normal?

    This all started because I get a warning about upgrading one pay for vista internet security 2010 alert... every 2 minutes it would be enterupt of me

    Hello

    Just in case there are persistent pieces of malware here is the method of complete elimination.
    .exe question difficulty in the next message.

    Try Mode safe mode with networking - repeatedly, press F8 that you start.

    The best two methods allow scanners to run and/or AV.exe out of the way or removing.

    1.
    CTRL SHIFT ESC - task manager OR right click on the taskbar - task manager

    Process tab - complete the process on AV. EXE and continue with the uninstall Guide.

    If necessary use start - computer or Windows Explorer to navigate to

    C:\Program Malwarebytes Anti - Malware\mbam.exe or where it is installed - if
    necessary right click on the shortcut of Malwarebytes - Properties - tab - target line to see where it
    is installed.

    Right-click on it and rename it to ZZMbam.COM (or something different than now), then
    Double-click it and run it like this. You can rename it back later. Do the same with others
    programs as needed. Use this method for other necessary - DO NOT ASSUMER one
    program removes all or that there is no other malware.

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

    2.
    Another method is to use them:

    Use Process Explorer to "Suspend" the process will not stop

    Then use AutoRuns to delete the malicious program startup items.

    Now use UnLocker to delete the files in the malware.

    You may need to do a file at a time.

    Process Explorer - free
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    AutoRuns - free
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    UnLocker - free (do not install the adaware Ebay)
    http://www.Softpedia.com/get/system/system-miscellaneous/unlocker.shtml

    AV.exe

    ==============================================

    Vista Internet Security is just another name for these:

    Win 7 Antispyware 2010 XP Internet Security 2010 and Vista Antivirus 2010 is rogue antivirus.
    scams to get you to pay for them while they have no advantage at all.

    How to remove Vista Internet Security
    http://www.bleepingcomputer.com/virus-removal/remove-antivirus-Vista-2010

    RENAME this as necessary to allow them to perform: (use .com instead of .exe)

    It can be made repeatedly in Mode safe - F8 tap that you start, however, you must also run the
    in the regular when windows you can.

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone. (If Rootkits
    UnHackMe execution)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can download
    here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with other security programs.
    It is a single scanner, VERY EFFICIENT, if it finds something to come back here or use Google to see
    How to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Try the demo version of Hitman Pro:

    Hitman Pro is a second scanner reviews, designed to save your computer from malicious software (viruses,
    Trojan horses, rootkits, etc.). that has infected your computer despite all security measures that you have
    taken (such as the anti-virus software, firewall, etc.).
    http://www.SurfRight.nl/en/hitmanpro

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

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    http://OneCare.live.com/site/en-us/default.htm

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

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

    Also do to the General corruption of cleaning and repair/replace damaged/missing system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe)
    program generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

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

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • How to get the status returned by the last process

    I use LaunchExecutableEx to start the Java executable. Once this process ended it returns a value. How can I get this value? GetLastError () does not work.

    Hello

    I call my CVI programs also sometimes other executables.

    Best method to get data out of them is to direct the output to a file, and then read and parse the file.

    "myOtherExe.exe > out.txt" ordered an executable output to the output window of file and no standard.

    Once the executable has ended, you can read the file to get information about its status.

    Kind regards

  • How to create a BPEL Process task using java code

    Hello

    I created a BPEL process (for creating task), in which my requirement is that I need to create a task based on some inputs and assign it to the user in partucular and then get out of this flow.

    earlier, I felt that I will use the human task activity. but when I use that task will be created in the same process and proceedings will be stuck on there until human intervention (the BPEL process waits for the result.).

    is it possible that I can use Java activity and create tasks from java code, 'I know how to assign a specific user task. Please tell me.
    Abhishek

    Published by: abhishek on April 25, 2011 12:42 AM

    Hi Abhishek
    1. you can try this alternative approach and it should work.

    2. basically, most of the BPEL process eventually auto generated Web services (.) WSDL). When we create a BPEL process, everything we do is give diagram of input, output schema and creates a bpel process with the default operation named as "process" in all the old versions as up to 11.2 SOA (and maybe before). BUT SOA 11.3 from, we can create a process BPEL, with our own WSDL and our own scheme. There is no restrictions like having only a single operation named 'process', etc.. In any case, what I mean is, each BPEL process ends up as a WebService, with entry and exit of the payloads of XSD.

    3. from the JDeveloper itself, locate the .wsdl for your BPEL process under the Workflow project. Create a new project of Proxy customer service Web and generate a customer for this wsdl Web service proxy. This will create you Service, Port and JAVA classes equivalent payload theoretically in your case taskpayload.xsd with these 4 items you have. Ignore the full blown the HumanTask which has all the system elements and attributes of a task of bpel. All you need is to undertake a task with your own payload data. Create a simple Client Java (EJB or Servlet later to make more flexible). In this Java client, retrieve the Service object in the proxy and port. Then instantiate the java class that represents the payload. Set 4 values you want and set the user name, etc. You may need some adjustments for the setting of the user. Then the port invoke otherwise (go your java object here).

    Sample code snippet
    prepare the message for BPEL of appeal; Define the fields that can not be null
    MyPayloadRequest myPayloadRequest = new MyPayloadRequest();
    myPayloadRequest.setInitiator("");
    myPayloadRequest.setTitle("");
    myPayloadRequest.setEmployeeName("");
    myPayloadRequest.setEmpContact("");

    web service client Get for BPEL receive point and call: first generate client proxy
    MyBPELPProcess_client_ep serviceClient = new MyBPELPProcess_client_ep();
    MyBPELPProces proxy = serviceClient.getNewMyBPELPProces_port ();
    proxy. Process (myPayloadRequest);

    Please note that you can also use the SOA workflow API and the Manager back call personalized for this first task classes. In this class, you can have the methods of the interceptor, which is called each time a task is initiated, saved, Submit, approve etc etc (all events essentially). This gives you access to all the objects in a workflow with full charge blown. So you can always get the data you pass above and in this custom class, the value of the user, date/time etc..

    It's just a different approach you can try.

    Thank you
    Ravi Jegga

  • How to return multiple variables from a function

    Hello

    As seen below, I tried more then return a variable to a function, but I think I have a syntax problem...

    function hesapla3 (parameter1, parameter 2): (number & & Boolean) / / PROBLEM IS HERE, I have NEED of TWO VARIABLES to RETURN
    {
    var yenideger2:Number = new Number();
    var bol2:Boolean = new Boolean();
    yenideger2 = parameter1 + parameter 2;
    if(yenideger2>80) {bol2 = false ;}
    Return yenideger2;
    return bol2;
    trace (yenideger2);
    trace (bol2);
    }

    You can do it this way.

    You can combine the 2 to 1 as a var

    var tekdeger:String=yenideger2.toString()+"-"+bol2.toString();

    Return tekdeger;

    and then you can split and mount the value returned into variables that you want...

  • Java adapter in the process task

    Hello

    I use DBAT connector to configure data of IOM on the target system. I have an obligation to change password in the target system when it is changed to IOM (default is changed, but this change must be done in a specific way). I packed a java code that changes in some way and put password implemented as an adapter in IOM (simple adapter; a single entry (user password) and an output).
    I guess I should create a task in the form of process that calls this card, but after a few tries, I'm still not able to make it work very well.

    My question is: how to implement adapter in the process task? There are 2 tasks by default, which corresponds to the user password:
    -Change user password
    -Edit USR_PASSWORD
    Should I change them?


    Thanks in advance!

    No thing wrong with the process, you explain your statement of the problem correctly,

    Now do something, go to your task change password and in return variable mapping, don't map to code response, map it to process the data ==> password

    Thank you
    Suren

  • Since the installation of 4.0.1 I can't do a right-click on the icon in my taskbar and have Firefox give me the option "close and save" tabs. Only let's me know, I'm about to close several tabs. How to make 'save &amp; close' return?

    Before installing 4.0.1 I could right click on the Firefox icon in the task bar of my computer and press on the window. He would then give me the option to "save the tabs and exit" or "close all tabs".
    Now he comes and tells me I'm going to close several tabs.

    It was convenient to be able to close Firefox and open it with all the tabs in place. There is nothing more annoying than to have several tabs lost because your computer has is an update of the day overnight and restarted. It is also useful when you want to run a tun - up or cleaner who asked that closing your browser for best results.

    How to make 'save and exit' return?

    Thank you

    Firefox stores now always the old session, and you can access it by going to the history menu and selecting "restore previous Session."

    If you want Firefox to display the message to save the session, it can be turned on again by changing some preferences.

    1. Type of topic: config in the address bar and press on enter
    2. Accept the warning message that appears, you will be taken to a list of preferences
    3. Find browser.tabs.warnOnClosepreference, if its value is set to false, double-click on it to change its value to true
    4. Repeat this for 3 preferences browser.warnOnQuit, the browser.warnOnRestart and the browser.showQuitWarning

    If you always open the last set of tabs, another approach is the following:

    1. Click on the orange button Firefox, then select options to open the options window
    2. Go to the general Panel
    3. Change the setting "When Firefox starts" to "show my windows and tabs from last time '.
  • What is the fax showed only in the process task manager

    Hi all

    Please can I know how to find a Fax/dial-up process in the process task manager?  I would like to be able to put end after a fax was sent so that I can send another.
    I use the installation of fax in Windows XP.
    Thank you in advance.
    Emmanuel

    In Windows 7, it appears as WFS.exe and this is the Microsoft Windows Fax and Scan Service.

    In Windows XP fax console is an installable component in option. It should be also of the wfs.exe.

  • Return a variable expansion

    Hello everyone.

    I want to return a variable of the extension, it is possible?

    What can be done of the extension?

    Thank you, best regards.

    The post I gave you above steps through how to do exactly what you ask.  The complete source code for all of our Extensions is also available if you want to use for reference

  • How to rename tasks scheduled under win7?

    I would like to know how to rename tasks scheduled under win7

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    It can't be renamed directly, but if you export the task at any place, then re-import, it can be renamed during the import process.

    Then just delete the old task.

  • How many processes should be running?

    I don't know if this is the right place to post this, but I was wondering how many processes should be running on my computer.  It is a fairly new computer.

    In addition, in the first minutes of the computer couple upward the number of process initializing increase without me open all programs.  Is this normal or not?  It can be normal and I had just paid attention to before.

    Thank you.

    Hello

    Yes, there may be more than one process running and these methods and these tools will help you
    View and order a lot of them.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or
    Windows 7
    http://support.Microsoft.com/kb/929135

    Use advanced tools to solve performance problems in Windows 7 http://www.howtogeek.com/howto/6152/use-advanced-tools-to-troubleshoot-performance-problems-in-windows-7/

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/default.aspx/GP/slow_windows_performance?p=1

    Use advanced tools to solve performance problems in Windows 7http://www.howtogeek.com/howto/6152/use-advanced-tools-to-troubleshoot-performance-problems-in-windows-7/

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/default.aspx/GP/slow_windows_performance?p=1

    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out what are the files, registry keys and other objects processes have
    Open, which DLLs they have loaded and more. This exceptionally effective utility will show same
    you who owns each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured so that it starts automatically when your system
    boots and you login. Autoruns shows you the full list of registry and file locations where
    applications can configure Auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL activity in
    in real time.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded
    automatically when Windows starts. For each request, the following information
    appears: product Type of startup (registry/Startup folder), Command - Line String,
    Name, file Version, company name, location in the registry or the file system and more.
    It allows you to easily disable or remove unwanted programs that run in your Windows
    startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The
    Window Watcher says it all, reporting of any window created by running programs, if
    the window is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • How to make reference to a packaged variable

    Hello

    I went through the forum where he mentions how to run a constant in a package. I want to refer to a variable declared in a package specification.
    CREATE OR REPLACE PACKAGE p1
    IS
    
    sDebugMode VARCHAR2(3) := 'ON';
    ....
    end;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    user8731258 wrote:

    I went through the forum where he mentions how to run a constant in a package. I want to refer to a variable declared in a package specification.

    CREATE OR REPLACE PACKAGE p1
    IS
    
    sDebugMode VARCHAR2(3) := 'ON';
    ....
    end;
    

    In order to use the PL/SQL variables (including global static variables), a SQL must be created with bind variables. This requires the use of PL/SQL itself. The following is valid:

    create or replace procedure GetFooCursor( cur out sys_refcursor ) is
    begin
      --// PL/SQL creates a SQL bind variable and bind it using
      --// the PL/SQL variable
      open cur for select * from foo_table where foo_switch = p1.sDebugMode;
    end;
    

    However, you cannot do the following using SQL only:

    SQL> select * from foo_table where foo_switch = p1.sDebugMode;
    

    The SQL engine must solve what '+ p1.sDebugMode +' means. The SQL engine do not support calling PL/SQL functions. He is able to look inside PL/SQL memory variables and access of the PL/SQL engine directly.

    So if you want the SQL engine to access this variable directly, you must create a PL/SQL function that returns the value of the variable. Which is not really a great approach:

    create or replace function SillyFunc return varchar2 is
    begin
      return( p1.sDebugMode );
    end;
    

    The following SQL code can then be used:

    SQL> select * from foo_table where foo_switch = SillyFunc();
    
  • Customize the process task notification

    Our goal is to send a notification to the Group of users (members of a role) when a Siebel account is created successfully.
    To accomplish this, we used the functionality inherited from IOM to send a notification as follows:
    -create a definition of custom Type of enamel = "Provisioning related" using OIM Design Console - Process Management - Email definition
    -Add the definition of email above to the configuration task using the Console Design IOM - process management - definition of the process - process of Siebel - tasks - create user - Notification

    This works as expected except the following questions:
    1. the definition of the enamel contains more than one field of type Date, which are displayed in the English format (e.g. June 8, 2012) we would like to analyze the date values in a different format (for example, 2012-06-08).
    We have already tried to change the attributes of definition Email language/region values ' en / U.S. ' ' it/IT', but the notification stops to send until go back us to the original values "en / U.S.; is this a know bug or a configuration of miss?
    In all cases, the language/region is related to the date format?

    2. a few values of attributes in the definition of e-mail must be "transformed."

    Any suggestion how to solve these problems?

    As a solution, we have coded a Java Plugin that sends notifications (in this case, we can write the content of the e-mail, as we hope) by e-mail and relax this Plugin by a manager of events, but only for events associated with the user of the IOM (CRETE/CHANGE/DELETE/etc...); We have no idea how to trigger the same Plugin/event manager for Siebel events into account. Is this possible? How?

    Thank you and best regards,
    Gabriele.

    Hello

    Create a new task in process called Notify. Fix a process task adapter that has the java code to send the required notifications.

    Seibel Create User task--> answers tab-> > select the success of rest--> in the generate tasks to add the new task of Notify.

    No plugin is required here.

    Concerning
    user12841694

  • How to get AFExecuteThisScript to return the value of Net.HTTP.request (asynchronous)?

    I have an Acrobat only plugin, developed in 2005 VS.  Originally with Acrobat 7 SDK, now updated to use Acrobat 9 SDK.  The ultimate goal of this feature is to open a PDF file from a web server Agile: If a user string, a URL is created, a request sent to the URL, then pay back the answer.  The answer can be either the PDF itself or a string path to the PDF file.  I thought it would be easier to use the version of PDF path to simply open the new PDF of the http:// address.

    I created a folder level javascript with a call to Net.HTTP.request confidence.  I have a script that works when invoked from a menu item added by the folder level javascript file.  But when you use this same command in my C++ with AFExecuteThisScript code, I can't get the HTTP response to finish pending in the code for the result.

    The Net.HTTP.request and the asynchronous callbacks confuse me, so maybe that's my big problem.  I could not Net.HTTP.request to return a value in a service simple javascript right now, I'm trying to use a "global" variable in the JavaScript folder level and two calls.  The first call "sets" the global variable, the other "becomes" it.  But this seems to be the issue.  When I have my code debugging or stop execution, the part of the response of the Net.HTTP.request is never called.  But when I left to go beyond this step with error recovery, the answer appears later.

    So how kick off of the Net.HTTP.request and be notified when it's over?  either in JavaScript or VC ++?

    Any help is appreciated.  Even if the best option is to stream the file from the web server to a local file and then open the (this is the option that I take in another tool that runs outside of Acrobat).

    Here's the code.

    Javascript controls at the level of the files (urls truncated for the post)

    var THE_PATH = '';
    
    function setTHE_PATH ( gURL ) {
        console.println('setTHE_PATH Begin');
        var params =
        {
            cVerb: 'GET',
            cURL: gURL,
            oHandler: 
                {
                    response: function( msg, uri, e)
                    {
                        console.println('response method: Setting Path');
                        THE_PATH = SOAP.stringFromStream( msg );
                        console.println('<<' + THE_PATH + '>>');
                    }
                }
        };
        console.println('URL: ' + params.cURL + '\n  oHandler: ' + params.oHandler );
        console.println('Path: ' + THE_PATH );
        var netResult = trustedNetHTTPrequest(params);
        console.println('setTHE_PATH End');
        return THE_PATH;
    };
    
    trustedNetHTTPrequest = app.trustedFunction( 
        function ( params ) {
            console.println('trustedNetHTTPrequest begin');
            app.beginPriv();
            var netResult = Net.HTTP.request( params );
            app.endPriv();
            console.println('trustedNetHTTPrequest end');
            return netResult;
        }
    );
    

    Added MenuItems with JavaScript at the folder level

    app.addMenuItem( { 
        cName: "mysetTHE_PATH", 
        cUser: "set THE_PATH", cParent: "Tools", 
        cExec: "setTHE_PATH('http://......&getURL=true');",
        nPos: 0 
    } );    
    
    app.addMenuItem( { 
        cName: "mygetTHE_PATH", 
        cUser: "get THE_PATH", cParent: "Tools", 
        cExec: "console.println( THE_PATH );",
        nPos: 0 
    } );   
    

    Here's the JavaScript Console output when you run these two commands:

    setTHE_PATH Begin
    URL: http://......&getURL=true
      oHandler: [object Object]
    Path: 
    trustedNetHTTPrequest begin
    trustedNetHTTPrequest end
    setTHE_PATH End
    response method: Setting Path
    <<https://......DesiredFilename.pdf>>
    

    Here is the function in the plugin C++, with additional measures to prove AFExecuteThisScript works here

    sprintf(jsScript, "testVal='%s';event.value = testVal;", strURL.c_str() );
    AFExecuteThisScript( aPdDoc, jsScript, &pReturnValue );
    // After this, pReturnValue is the passed-in URL, as expected.
    sprintf(jsScript, "setTHE_PATH('%s');event.value = 'Step 1 Worked!!';", strURL.c_str() );
    AFExecuteThisScript( aPdDoc, jsScript, &pReturnValue );
    // After this, pReturnValue is 'Step 1 Worked!!', as expected.
    sprintf(jsScript, "event.value = THE_PATH;", strURL.c_str() );
    AFExecuteThisScript( aPdDoc, jsScript, &pReturnValue );
    // After this, pReturnValue is NULL
    

    This is the JavaScript Console output when you run the commands using the plugin (mode debugger, to wait after step 1)

    setTHE_PATH Begin
    URL: http://......&getURL=true
      oHandler: [object Object]
    Path: 
    trustedNetHTTPrequest begin
    trustedNetHTTPrequest end
    setTHE_PATH End
    

    Note that he never gets to the part of the "method of response.

    Thank you!

    Tim James

    You need not limit yourself to the plugin API. The requests HTTP from C/C++ is a fairly common condition, just observe the restrictions in my answer.

Maybe you are looking for