Run a client-side program when using web-enabled forms(host command)

I am trying to run a local program on my windows machine when i press a button on the oracle web form SCAN[Host('C:\scktscan.exe')]. It trys to execute the program on the server machine and not the client machine. The button will work when forms are run in client-server mode. How can i get the button to access a program on the client machine when the forms are run on the web?

In order to execute a program at the client pc, you must implement a java bean.
Have a look at the demos extension pack 1 (http://otn.oracle.com/sample_code/products/forms/content.html)
It explains also how to implement this in your own application.

Similar Messages

  • Error running a client side program through the worklist app

    I am trying to run a simple client side application (actually just a command script
    that does a pause). I construct a send xml to client with a "call-program" message
    with attributes of name="c:\testscript" and mode of async.
    It appears that I need to register the program - how do I do this?
    SecurityException: Cannot execute the system command "c", because it has not been
    registered in the
    WLPI Security Manager configuration file C:\Documents and Settings\nvernon\WLPISec.properties
    java.lang.SecurityException: Cannot execute the system command "c", because it
    has not been registered in the
    WLPI Security Manager configuration file C:\Documents and Settings\nvernon\WLPISec.properties
         at com.bea.wlpi.client.common.WLPISecurityManager.checkExec(WLPISecurityManager.java:141)
         at java.lang.Runtime.exec(Runtime.java:548)
         at java.lang.Runtime.exec(Runtime.java:477)
         at com.bea.wlpi.client.worklist.WorklistPane$6.run(WorklistPane.java:1441)
         at java.lang.Thread.run(Thread.java:484)

    The reason I asked about the computer OS was in case you needed to do a clean install of iTunes. It works differently on the Mac computer than on Windows. A complete uninstall and reinstall on a Windows computer requires you to follow specific instructions in a support document, while on a Mac, I have read you just have to reinstall over the old one.
    I'm not sure if installing/updating to iTunes 11 would be the same on Windows or not, but since you report using a Mac, then it is probably a mute point. Good luck.

  • An error occurred while trying to connect to a Web service, when InfoPath web enabled form loads.

    Hi Everyone,
    I am getting an error message: An error occurred while trying to connect to a web service, when my InfoPath form tries to load.  The last few days, it only spits this error message in the morning and around 12pm-1pm it resolves itself and the form loads
    fine the rest of the day, oddly enough. 
    A few things about my form:
    1). It is web enabled
    2). The form submits to a form library on the SP server
    3). I use the UserProfileService data connection in the form to auto-populate a few fields
    4). I use a udcx file with correct language stored in the root of the site collection in the data connection library
    5). The form has been working fine until a few days ago
    I noticed while in Central Administration, that the User Profile Service Synchronization is Stopped.  Not sure if this is causing some or all of the problem. If I need to start it I will need to contact my farm administrator to do this, since I do not
    have the service account information.
    Also, I looked thru the log files on the SharePoint server and found the following by searching for the Correlation ID shown when the error comes up, I won't put in everything just the important messages.
    Schema file was already loaded: BuiltInActiveXControls.xsd
    FormServer Partial Trust - Proxy operation invoked in the SHIM process.
    FormServer Partial Trust - Invoking proxy operation for Web service adapter failed with exception Operation is not valid due to the current state of the object. for Url=https://<SP URL>/_vti_bin/UserProfileService.asmx
    Data adapter failed during OnLoad: The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator.
    The following query failed: GetUserProfileByName (User: , Form Name: Expense Report, IP: , Connection Target: <SP URL>/Data Connections/GetUserProfileByName.udcx, Request: , Form ID: urn:schemas-microsoft-com:office:infopath:Expense-Report:-myXSD-2014-04-11T21-06-32
    Type: DataAdapterException, Exception Message: The custom code in the form cannot be run. This functionality may be deactivated on the server.

    Hi B.,
    You are on the right track. I recommend that you first get the User Profile Synchronization Service started because that itself could be the root cause of the issue.
    If that doesn't fix it then focus your attention on the GetUserprofileByName data connection. I always use my secure store ID for this connection. I add the ID by editing the udcx file and then publishing it again.
    Hope this helps.
    Daniel Christian (MCTS)

  • Web-enabled forms and Java

    We are developing a custom application using Developer 6. The application is web enabled
    using Oracle Application Server 4.0.7 and Developer Server on a Solaris 2.6. This application is an extranet for company use only.
    The problem that requires the use of Java is that we cannot read the client registry using web enabled forms. The solution I am told is to use Java to read the registry. Has anyone done such a thing? Can anyone provide suggestions or guidelines?
    Thanks for any help you can offer!

    do the following:
    1. write a java program that read from the registry. you will use the program as a javabean later on.
    2. compile the source and create a class/jar
    3. sign it (goto sun site for details on signing class/jars). you must sign the java program or it will not be able to have access to the registry. make sure you do all the steps by following sun's instructions.
    4. put it on your web server and modify the html file you use to start your developer application to include your class/jar.
    5. oracle has some demos on attaching javabeans to forms. use them to help you.
    6. use the program you wrote in step 1 as a javabean in your forms.
    Yossi

  • Can php pass info to a java client-side program?

    hi!
    can a php script on a remote server (activated thru command line or whatever) pass data over the internet to a java client-side program? if so, how?
    thanks!

    if it is listening to a known port, how would the data be passed?
    thanks!
    Not unless the Java program is listening on a known
    port.
    Yours,
    Tom

  • Creating Client-side Image Map in Web Dynpro

    Hi,
    How can I create a client-side Image Map in Web Dynpro application?
    My application consists of a screen-size image in which several areas will have to link to URLs and actions. I have browsed through the "Web Dynpro UI Element Reference Guide," but could not find anything appropriate.
    Can someone give me an advice? Thanks.
    Teecheu

    It doesn't, there is no corresponding UI control for this.
    There is only onAction event on BusinessGraphics (have not working with them since SP5, eventing did not work at that time) and onObjectAction in GeoMap (never see it in action, probably an option for you if your map is geographic map
    WBR,
    VS

  • OAS Custom Help For Web-Enabled Forms

    Anyone had experience implementing a customized help system into Web-Enabled Forms running on OAS. Regular Oracle Forms can display a help system using a specialized Oracle Form D2KHMain.fmx or using WinHelp with the library D2KWhelp.pll. Will either of these work when running the Forms on the Oracle Application Server? Java Help has been suggested? Any documentation would be helpful? Thanks.

    do the following:
    1. write a java program that read from the registry. you will use the program as a javabean later on.
    2. compile the source and create a class/jar
    3. sign it (goto sun site for details on signing class/jars). you must sign the java program or it will not be able to have access to the registry. make sure you do all the steps by following sun's instructions.
    4. put it on your web server and modify the html file you use to start your developer application to include your class/jar.
    5. oracle has some demos on attaching javabeans to forms. use them to help you.
    6. use the program you wrote in step 1 as a javabean in your forms.
    Yossi

  • Web-enabling Forms

    Hi:
    We are in the process of web-enabling Forms 6 applications.
    We installed the OAS 4.0.7, Developer Server 6.0.5.32 and
    JInitiator on a NT server. We took a sample application and were
    able to run it from our browser on the server side after
    supplying a URL in the browser window (as per Oracle's
    documentation). So the server side scenario works fine.
    However, when we tried to connect to the same URL from a client
    machine (Windows 95), we got the error "Connection with the
    server could not be established" on the browser. We were able to
    ping to the server from this client machine.
    Please advise.
    Thanks.
    null

    You need to install JInitiator on the client machine ....
    Jeetu (guest) wrote:
    : Hi:
    : We are in the process of web-enabling Forms 6 applications.
    : We installed the OAS 4.0.7, Developer Server 6.0.5.32 and
    : JInitiator on a NT server. We took a sample application and
    were
    : able to run it from our browser on the server side after
    : supplying a URL in the browser window (as per Oracle's
    : documentation). So the server side scenario works fine.
    : However, when we tried to connect to the same URL from a client
    : machine (Windows 95), we got the error "Connection with the
    : server could not be established" on the browser. We were able
    to
    : ping to the server from this client machine.
    : Please advise.
    : Thanks.
    null

  • Bidirectional NLS support in web-enabled forms.

    Is it possible to have bidirectional NLS support in web-enabled forms? That is, can a local user make any settings changes on their workstation that will make (e.g.) Hebrew right-justified for text fields? If this all depends on the environment varible NLS_LANG, then it is set on the AS server and not user-changeable. I know you can change direction programmatically, but it seems odd that it doesn't work automatically. P.S. We are running forms 6i with Application Server 6i on an 8i database. Thanks in advance.

    Frank,
    I am using calendar.pll sent to me by my friend. I will search on OTN if this utility is avaiable on it. If it is there also, then I will download it and test it again.
    Thanks,
    Kiran.
    Vadivelan,
    I am sending simple form and calendar.pll to your mail address. But, remember this works only in windows environment so far. I am finding the solution for Linux/Web.
    Kiran.

  • Web-enabled form

    I have taken over a position within no training or handover and I have to update our online form.
    I can see that we have a previous web-enabled form (as the link is on our website) and I have the PDF version however I don't see the web-enabled form in my FormsCentral account, which I took over from a former employee and which was updated with my login details. Please help!

    Hi Elizabeth CEW,
    Once you log in to your account all the forms shared with you would populate. However, if the form hasn't been shared with you, it would not display in your account.
    Thanks,
    Vikrantt Singh

  • Web Enabling Forms 5.0

    How we can web enable Forms 5.0 application

    Sunil, how about looking at the on line help that comes with Forms?
    Regards
    Grant Ronald
    Forms Product Management

  • Is XML-SQL Utility for Java run on Client Side?

    A question about the XML-SQL Utility for Java
    When a client program connect to a Oracle database (the clinet program and Oracle DB is run on two different machine. Oracle 8i is used) and use the oracle.xml.sql.query.OracleXMLQuery Class (form the XSU) to generate XML by given a SQL query. I want to know the transforation process is execute in the Clinet side or the database?
    Is there any method that i can retrieve the XML directly from the database rather then doing the transformation form the Client side?

    Set JDK_HOME to the directory where you install your JDK (Java Development Kit).
    So instance, I've install JDK1.1.8 on my
    C drive so
    set JDK_HOME=c:\jdk1.1.8;c:\jdk1.1.8\bin

  • Problem when using WEB.SHOW_DOCUMENT and passing in lexical parameter

    Hi,
    I got a blank page with error "An error has occured while trying to use this document" when I tried to use web.show_document and passing a lexical parameter to 10g report on 10gAS. The URL in the web.show_document is:
    http://<srvname>:<portnum>/reports/rwservlet?server=repserver90&report=myrpt.rdf&destype=Cache&desformat=pdf&userid=<usr>/<pw>@<db>&where_clause=where%20product_type%20in%20('REPORT')
    If I change the desformat to htmlcss, it is fine to display the report. But doesn't work with desformat=pdf. The pdf file has been generated in the cache. Why can't it display on the screen.
    Also I tried to use double quote the value for where_clause. The pdf report showed up. But it ignored the where clause.
    Experts please help.
    Ying

    I use lexical parameters and they work fine, but I use a parameter list. The code is contained in a form that is called by all forms that wish to run a report. This way you only need the logic for printing in a single form. If you want the form, email me at [email protected]

  • Getting error when using the "/parameter" switch in command line run

    Has anyone experienced this problem before?
    My report queries over 100,000 records from a view. When the report is run from the command line every thing works fine.
    But when I add a condition using a "parameter", although the report still runs fine from the destop, when launched from the command line it errs.
    "Oracle Discoverer Desktop has encountered a problem and needs to close. ..."
    "The instruction at "0x0044397c" referenced memory at "0x0000004e". The memory cound not be "read"...."
    I'm guessing its a memory issue with my PC. I've tested using a parameter with other reports using fewer records and it doesn't err from the command line.
    I can work around the issue by not using a parameter but then I have 20 versions of the same report each with a different condition.
    Any suggestions would be appreciated.
    Lise McGillis

    Hi Michael,
    I'm using an DELL Intel Pentium 4 CPU 3.00 GHz with 1 GB of RAM. We use Microsoft Windows XP Prof version 2002.
    As for Discoverer we are using 10G, Desktop Client 10.1.2.48.18 - 1047500 KB available memory , 2099744 KB Free disk space.
    I'm not sure I have acess to a computer with more RAM but I'm looking into it.
    What I'm frustrated by is the fact that the parameter works fine when run directly from the desktop but when passed from the command line it bombs... but only when dealing with mega records.
    Lise.

  • Problem in completing the TASK when using Web Dynpro Java and BPM

    Hi,
    I am using Web Dynpro Java and BPM.
    i see my Web Dynpro View when i run the process.
    Just that the task is not completing.
    when i click on the Web Dynpro button to signal the completion of the event, nothing happens.
    i have appropriately created events in both Component controller and Interface Controller and used the same in creating the Task.
    a method in Component controller fires the event and a button click in the view calls this method.
    i have successfully completed Donka Dimitrova's "SAP Netweaver Business Process Management-End-to-End Process Implementation Sample " but when i tried my own with slight modifications, it is not working !!!
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d07f3e88-554f-2b10-3cbf-ab8afea51b9f
    regards,
    -Amol Gupta

    Hi Amol,
    The way you described the things, I dont see any problems. Just to make sure that you are triggering the right event that you mapped as completion event for the task, try to cross check once again and see if the correct event is getting triggered. Also try to put some messages for debugging to see till where the control goes.
    Regards,
    Arafat

Maybe you are looking for

  • Displaying blank line in ALV header

    How do I display a blank line in ALV header For eg i want if i want the ALV header to display as follows Document Datewise Report  as of 31/10/2009                                                   <-- BLANK LINE Run On : 01/12/2009

  • ADF Create form

    hai , i have one master detials form . i hve to insert in to three tables say cutomer master , customer personal details , Customer contact i have created entities ,associations and view objects , View Links for 3 tables and added to app module I jus

  • Lost access to paid features

    I have a paid subscription for FormsCentral but today I'm not able to access the paid features while I'm working on one of my forms.  I'm concerned that my forms that are live on our site may be affected by this problem also. I'm waiting to chat with

  • Route determination in CRM

    Hi Experts, How to determine the route in CRM Sales, the route is coming from SCM system. I tried, but did not find the reason why route value is not populating in CRM. can anyone help me with this issue....

  • VMS 2.3 Device package for 3800 Series

    hi We are having VMS 2.3 installed which is not able to monitor or to perform any operations on 3800 series routers. How we can add device pack for 3800 series routers ? And from where to download the pack ?