Java in forms using Jpublisher

Hi,
I am using webservices in Oracle Forms.
Inorder to do so, I add the jar files in the java folder of the forms, set the class-path and form-builder-path. Then I import the jar file created in the JDeveloper which has the code for Webservice.
Then I use the functions and procedures created in the Form builder as a result of importing the jar files.
Is there a simpler method of calling webservices using JPublisher?
If so, Can you please guide me?
Thank you.

Hi
the simplest way of calling WebServices from Forms is to generate a Stub (a Java client) for the WebService in JDeveloper and import this class in Forms
Frank

Similar Messages

  • Error in webdynpro java interactive forms used

    hello,
    I have followed the installation manual to configure ADS wizzard service which is done successfully. I have also made a webdynpro java project where I use very simple smartform with FirstName and LastName as context variables. But when I run the application I see
    java.io.IOException: Cannot connect to http://<server>:50000/inspection.wsil, used user to connect: administrator Check if the valid port is used or the system is not down. HTTP Message : Unable to connect to <server>:50000 - Connection timed out: connect
    If I put this wsil URL it works fine. But I don't know if any thing is missing in configuration. I am quite new in smartform need help.
    I have also downloaded credtional file from SDN but I am new and need help to setup in NWA if this cause the error.
    If any one can recommend me step by step guide would be helpful for me.
    Thanks in advance.
    NK

    Hello Otto,
    well I have no such concrete one source to follow and setup ADS services. But some how from sap help portal, and Tutorial on Installing Credentials and Configuring ADS author Amol Gupta, and ADS configuration guide sourced: http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30a9630b-4f89-2a10-6fab-e311b3ffd9a6
    I have also tested the service in the wsnavigator AdobeDocumentServicesTestVi, but got error level 2 with Entity: ConfigurationService Error: Checking for default credential aliases - failed
    Here I found creditional error. which I have to configure in NWA, I guess.
    I have downloaded creditional from http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70aa75cc-6ac3-2910-c78c-ade192ec861e
    I need help to configure this creditional also.
    And If you have some useful guides then please recommend me.
    Regards,
    NK

  • How to process (populate & merge) XFA PDF Forms using Adobe library in Java

    We have the XFA Forms (.pdf) created in Adobe LiveCycle designer 8.2 ES. We have the following requirement :
    1. We need to populate data in those forms using standalone Java programs.
    2. We need to merge the populated forms and create a single PDF out of these forms, using standalone Java programs.
    Can both of these be done using Adobe PDF Library or Acrobat SDK?
    What is the difference between Adobe PDF Library or Acrobat SDK?
    We already have the licensed version of Adobe Acrobat Professional 9 with LiveCycle Designer 8.2 ES. Where can I get the relevant Adobe Java APIs from?
    Can someone provide some sample code that could be used for the above requirements?
    Please provide your inputs on these. We have been using IText, but facing some limitations in that recently.

    The answer looks quite clear, and the conclusion is essentially simple: Don't use LiveCycle Designer.
    Keep in mind that LiveCycle Designer originated as design tool for the according servers (that's way back in JetForms's days). For reasons I still can follow, Adobe decided to thow this design tool after any Acrobat Pro for Windows buyer. And the forms industry is now suffering from the mess that created.
    Also, keep in mind that the term "Server" is used here as "service providing application".
    Rants aside, was there a specific feature making you chose XFA (aka LiveCycle Designer)? Knowing these reasons can help us finding suitable workarounds.
    HTH.
    Max Wyss.

  • How to convert oracle form fmb file to java swing file using Jdeveloper

    how to convert oracle form fmb file to java swing file using Jdeveloper.Please explain with detailes steps if possible or please give a link where it is available
    thanks
    Message was edited by:
    user591884

    There is no automatic way to do this in JDeveloper. I know there are some Oracle Partners offering forms to java conversion, I don't know how much of their tools are automated and done with JDeveloper. With JDeveloper+ADF you basically rewriting the Forms application from scratch (and using ADF is helpful during this process).

  • How to find table used in java based forms

    In R12 how can i find table name used in Java Based forms.

    Record history for OAF / Selfservice pages is only available in R12.1.1 - pl see MOS Doc 565870.1 (Oracle Application Framework (OAF) Release Notes, Release 12.1.1) - it is not available in 11i and 12.0.x releases.
    HTH
    Srini

  • How to use Java in Form

    I have developed lots of application using Developer2000. I have never used Java in forms. Could anyone tell me how to use and how could Java help me in my application.
    Thanks in advance

    Have a look in the online help for "Java Importer", PJC and "Java Bean".
    There are also some paper on otn.oracle.com/products/forms
    Click to view the papers and you will see a couple which should how to integrate Forms and Java.
    Hope this helps.
    Grant Ronald
    Forms Product Management

  • How to use java in Form 9i

    hi
    i want to ask how to use java in form 9i, can any one plz. give me an example
    thanks & best regards!
    SoftDesire

    From an earlier posting:
    "Have a look in the online help for "Java Importer", PJC and "Java Bean".
    There are also some paper on otn.oracle.com/products/forms
    Click to view the papers and you will see a couple which should how to integrate Forms and Java.
    Hope this helps.
    Grant Ronald
    Forms Product Management"
    HOpe this helps.
    Grant

  • How to make countdowntimer in java bean to use in jsp form

    i make an aplication in jsp with XHTML MP format..i have problem to maka a countdowntimer in java bean to use in the jsp form.could anyone help me with this problem

    Use JHelp, downloadable from Sun. This is a quit big package, you have to read a lot before applying.
    http://java.sun.com/products/jfc/tsc/articles/javahelp/index.html
    enjoy
    sergio

  • URGENT using java in Forms 9i

    Hi,
    I need to use one Java module in Forms 9i, i use the Import Class Java, no problems. But when i try to use this function, i can't recuperate the data in this object in Forms.
    In this program works the 2 first instruction, but the 3 work, but i don't obtain the good object.
    Thank for alls.
    Forms:
    declare
    new ora_java.jobject;
    documento ora_java.jobject;
    busqueda ora_java.jobject;
    cont      number;
    begin
    new := TRControlDoc.buscar(documento,busqueda);
    cont:= ORA_JAVA.get_array_length(new);
    nuevo:= ora_java.get_object_array_element(new,1);          
    end;
    JAva in Forms:
    -- Method: buscar (Lgesdoc/model/TRBusqueda;)Ljava/util/Vector;
    FUNCTION buscar(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(1);
    JNI.ADD_OBJECT_ARG(args, a0, 'gesdoc/model/TRBusqueda');
    RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'gesdoc/model/TRControlDoc', 'buscar', '(Lgesdoc/model/TRBusqueda;)Ljava/util/Vector;', args);
    END;

    Hello Francois:
    I obtain the next message when i try the obtain one field the this object
    [03/28/06 11:12:46 Hora estándar romance]::Client Status [ConnId=0, PID=3016]
         >> ERROR: Abnormal termination, Error Code: C0000005 ACCESS_VIOLATION
    ======================= STACK DUMP =======================
    Fault address: 08074ED7 01:00073ED7
    Module: C:\OraDev904\jdk\jre\bin\client\jvm.dll
    System Information:
    Operating System: Windows NT Version 5.1 Build 2600 Service Pack 2
    Command line: ifweb90 server webfile=HTTP-0,0,0,webutil
    FORM/BLOCK/FIELD: F_CDOC_GEDAS_1:BLOCK3.BUSCAR
    Last Trigger: WHEN-BUTTON-PRESSED - (In Progress)
    Msg: <NULL>
    Last Builtin: MESSAGE - (Successfully Completed)
    Registers:
    EAX:14834500
    EBX:02AD1D68
    ECX:0000000B
    EDX:02B98DC0
    ESI:02B98DC0
    EDI:02AD3D78
    CS:EIP:001B:08074ED7
    SS:ESP:0023:0012D4FC EBP:0012D508
    DS:0023 ES:0023 FS:003B GS:0000
    Flags:00210206
    ------------------- Call Stack Trace --------------------- Frameptr RetAddr Param#1 Param#2 Param#3 Param#4 Function Name 0x0012d508 65fef98a 02b44058 02b98dc0 02b98dbc 65fc3502 0x08074ed7 ------------------- End of Stack Trace -------------------
    Thanks for all

  • Loading forms using Java 1.7

    Hello friends
    I've installed EBS 12.1.1 on OEL 5.5 (64 bit). I'm trying to load forms using Java version 1.7 but it shows error like "the jinitiator version is high", what I have to do to load forms using Java 1.7.
    Regards
    Aneel Ahmed

    I enabled java console it it shows some logs:
    oracle.forms.net.ConnectionException: Forms session <10> aborted: unable to communicate with runtime process.
      at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
      at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
      at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
      at oracle.forms.net.HTTPNStream.flush(Unknown Source)
      at java.io.DataOutputStream.flush(Unknown Source)
      at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    java.io.EOFException
      at java.io.DataInputStream.readUnsignedByte(Unknown Source)
      at oracle.forms.engine.Message.readDetails(Unknown Source)
      at oracle.forms.engine.Message.readDetails(Unknown Source)
      at oracle.forms.net.StreamMessageReader.run(Unknown Source)
    basic: Applet made visible
    Regards
    Aneel Ahmed

  • About mutipart form using java

    Hi all,
    I need to create for my website a multipart form. By mutlipart form i mean a form that have more than 1 page and witch remeber the choices made in the preceding page. For example, the first page ask the name and the second the last name then when validate, the second page send me all the informations by mail.
    I am complitly new in java technologie, i just made simple forms so far, and i am searching for a way the more simple as possible to realize my idea.
    Does anyone one have any sugestion? Is java the correct technology to use for what i wnat to do?
    Thanks all for your help

    Thx for your answer ravi_iiit
    Well i don't even know what kind of java i was using, i found some tutorial to make forms on the web a while ago and i adapted it to my site, not sure i could write that code again but i was very basic. Basicly i have the html form with instance for each box : name adress... the validation button of the form link to a .js page in witch i made a very basic code witch check if evry box is filled and then add the boxes data to a mail and then send it to me. What i wanna do is pretty much the same thing but with 4 or 5 pages. So i don t know what is the best technologie for me to use, what would you advice me?

  • Create offline interactive forms using webdynpro java with XML data source

    Hi Gurus,
    I am having a scenario like below:
    Sales guy request for order list online from portal- Sytem receives the request and creat XML file- from xml file need to create a Offline interactive form-Sales guy fills it offline at customer site- uploads in portal -on submit xml has to be generated with captured data at customer site-Process to  ECC.
    So my questions are:
    How to create the offline interactive form  from XML?
    Once filled offline interactive form uploaded into portal how to create XML again from pdf ?
    Please give some idea on this as this is my first Offline interactive form using XML datasource.
    Thanks
    Ravi
    Edited by: Ravi Sunkara on Jul 27, 2010 5:25 PM

    Hi Otto,
    Sorry for replying lately. First of all  I did not get your suggestions as your are editing the same posting.
    Secondly we will be using WDJ. Actually in between SAP Portal and ECC we are having adobe LCES so we need to create Interactive form using XML only. Once it is filled again the form will be submitted to another application which is running on FLEX, which will process the order.
    if you can give me your personal id i can send you the detailed process
    Thanks
    Ravi

  • Problem launching e-biz forms using Java JRE 1.6.0_07 and JRE 1.6.0_13

    Got a problem launching Forms from e-biz 11.5.10.2 using JRE 1.6.
    Our setup :
    E-biz: 11.5.10.2
    Forms: 6i Patchset 19
    DB: 10.2.0.3
    JRE: 1.6.0_07 (e-biz is config to use this version)
    on windows desktop clients:
    JRE: 1.6.0_13
    As a non-privileged user account on the workstation, users cannot launch the forms using the 1.6.0_13 JRE.
    When a privilieged(Admin) user account logs in, the forms launch fine using 1.6.0_13.
    We understand that IA enforces many policy settings in our environment, but can anyone identify which types of policy settings would break this access?
    Thanks everyone!
    Gabe

    Thanks for the docs! We've reviewed them, and are satisfied that the JRE family of 1.6 is working properly.
    Our issue is that there are some windows security policies/ maybe group policies, that are restricting the launching of the forms using the newer 1.6.0_13 JRE. This is what we are after, and I would like to know if anyone else has faced similar issue.
    Some more clarification:
    if the workstation has the 1.6.0_07 JRE, and a non-privileged account logs in, the forms launch fine.
    Once 1.6.0_13 is pushed (as our NetAdmin is requesting), the non-privileged account cannot launch forms. Instead, they get an active X request to install 1.6.0_07, which they do not have privilege to install.
    Hope this helps.
    Gabe

  • Render error while running interactive forms using ABAP

    Hi all,
       I am trying to create an adobe form using ABAP through SFP T-code. While I am trying to execute it, it is generating a Render Error. The error message is as follows:
    Exception       SYSTEM_ERROR
    Message ID:          FPRUNX                     Message number:           001
    Message:
    ADS: The render error log file has been written to D:\u(200101)
    But in the file, it is showing  'NO ERROR REPORT FOUND'.
    I have also tested by FP_PDF_TEST_00 program if the connection with the server is fine. It is showing it is fine. I have tested with JAVA code as well. It is also showing that connection is fine.
    I could'nt get the reason for the error. It would be great if anyone can help me in this issue.
    Thanks in advance.
    gopal

    Dear Gopal,
    please use the search function. This question has been answered many times here in the forum.
    Best regards,
    Dezso

  • Offline Interactive PDF Forms Using EMail with WebDynpro for ABAP

    These is a tutorial on implementing Offline Interactive PDF Forms using Email to both send out and receive the form back using WebDynpro for Java.
    Is it possible to implement the same using WebDynpro for ABAP, specifically receiving the forms via email server.
    Regards,
    Mark

    Hi Mark,
    Check this out :
    https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
    Go to section :
    Send, Receive, and Process Interactive Forms via Email in SAP NetWeaver Application Server ABAP (RIG session 4A)
    and for the ABAP WebDynpro :
    SAP Interactive Forms by Adobe in Web Dynpro for ABAP (Session 3A) .
    I managed to make it work in my internal sytem.
    Goodluck.
    Cheers,
    Danny

Maybe you are looking for

  • MS Access 2010 and Oracle SQL Developer Version 4.0.3.16 Error

    OS: Windows 7 Enterprise System Type: 64-bit Operating System I can not get MS Access 2010 to work/open with SQL Developer version 4.0.3.16. ERROR when testing connection to MS Access 2010 "Status : Failure -Test failed: [Microsoft][ODBC Driver Manag

  • IPod causes PC Crashing, won't do ANYTHING, but works fine unplugged

    OK, so today I tried booting up iTunes to put some new music on my iPod I had just ripped off of a CD. I clicked on the shortcut, and nothing ever came up. Same thing was happening with Spybot, and a re-install fixed that, so I reinstalled iTunes. Sa

  • How to integrate an Edge animation in a website by hand

    I created an Edge animation and published it as an .oam file.  But i need to work on the website on someone elses computer who does not have creative cloud or even Dreamweaver.   I am working there in a text editor.  What are the requirements - what

  • Ringtone transfer - Droid Rookie needs some help

    Just bought a Razr M when they came out last week.    Still on a steep learning curve from BlackberryLand. Downloaded some FREE ringtones from the Internet and have them stored in a folder on my laptop.   mp3 format and proper length. Question:   How

  • .PLST on mounted disk

    Hi In the thread below Cyclosauras helped get my head around "defaults write" etc, which works great for my wee app, http://discussions.apple.com/thread.jspa?messageID=2676053&#2676053 what I would like to attempt is to expand on this for my purposes