Callin web service in oracle applications...

Can we call web services in Oracle Applications...?
Thanks in advance ...

Hey Ravi,
Thanks for your response. I am not well versed with Java. I am using Forms 6i to achieve this. I dont know what java code do I have to put in the custom directory.
The procedure I am following to call web sevice is as follows:
1. Using the webservice URL(.wsdl URL) I am creating the Java class (web service stub) in Jdeveloper.
2. Deploying this Java class into a JAR file.
3. Then I am placing this JAR file in a directory which was spcified in the LD_LIBRARY_PATH and CLASSPATH including the name of the JAR file.
4.Then I go to Forms 6i and say program --> Import Java Classes in my form, it gets the webservice java class and converts that java class into PLSQL packages.proc/func.
Can you please send me an example how you did this to my email?
My email ID is "[email protected]"
Thanks again,
Fubu

Similar Messages

  • How to deploy a web service on Oracle Application Server 10.1.2.0.2?

    Hi everyone,
    I followed the instructions of the following link to create a web service using jDeveloper 10.1.3.1.0 on Oracle Application Server 10.1.2.0.2. [http://st-curriculum.oracle.com/obe/jdev/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm#t1]
    The web service created was deployed & used with no errors on the standalone OC4J instance.
    But my goal is to deploy my web service on Oracle Application Server 10.1.2.0.2.
    So after several attempts, I was able to deploy it on the Oracle Application Server 10.1.2.0.2 but unfortunately I didn't know the URL needed to use the web service.
    I tried the following link (http://192.168.0.91:18100/JavaWebService-GetDates-context-root/GetDatesWSSoapHttpPort) but also didn't work :(
    I also tried converting to J2EE 1.3 and still not knowing how to access the web service.
    Please advice with a solution.
    Thanks in advance.
    Lana

    Thanks everyone for your help :)
    The problem turned out to be that Oracle application server 10.1.2 is unlike the others servers, it uses 2 ports:
    - port (19100) is dedicated for the console.
    - port (7779) is to view your applications.
    So the URL needed turned out to be "http://acteos-109.beirut.acteos:7779/beanTest" instead of "http://acteos-109.beirut.acteos:18100/beanTest"
    Hope this info is useful
    Lana

  • Calling web service from oracle application framework r12

    Hi Techies
    Is anybody know How to call web service from oracle application framework r12(step by step procedure),because i searched in net but i could not understand that one
    Thanks
    Dillibabu B
    Edited by: 962005 on 28 Sep, 2012 12:11 AM

    Hi,
    Check below links:
    http://oracle.anilpassi.com/oa-framework-with-captcha-webservice.html
    http://oracle.anilpassi.com/integrate-oa-framework-with-web-service.html
    https://blogs.oracle.com/ebusinesssuiteintegration/entry/r121_-invokingweb_service_fr
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Calling web service in Oracle Applications...

    Is there any way we can call web services in Oracle Applications?
    I am using 11.5.10 verison of Oracle Applications.
    Thanks in advance,
    Sandra

    Hey Ravi,
    Thanks for your response. I am not well versed with Java. I am using Forms 6i to achieve this. I dont know what java code do I have to put in the custom directory.
    The procedure I am following to call web sevice is as follows:
    1. Using the webservice URL(.wsdl URL) I am creating the Java class (web service stub) in Jdeveloper.
    2. Deploying this Java class into a JAR file.
    3. Then I am placing this JAR file in a directory which was spcified in the LD_LIBRARY_PATH and CLASSPATH including the name of the JAR file.
    4.Then I go to Forms 6i and say program --> Import Java Classes in my form, it gets the webservice java class and converts that java class into PLSQL packages.proc/func.
    Can you please send me an example how you did this to my email?
    My email ID is "[email protected]"
    Thanks again,
    Fubu

  • Deploying a web service on Oracle application server

    Hi;
    I was able to create the .wsdl file from Elipse using Java 1.3.
    I was not able to connect to the oracle Application server from eclipse is there any other way to deploy the web server.
    Can anyone advise with the steps to deploy a web service on Oracle Application server 10.1.3. differently
    Regards,

    using Ant.
    check apache.org project there they have the ant section.
    Regards

  • Calling web service in Oracle Applications using Forms....

    Can I call a web service in Oracle Appications 11.5.10?
    I created a simple form on my local machine and invoked the webservice in that form and it works perfectly. I used Oracle forms 9i and 6i for this purpose and both are working perfectly.
    But when I created the same form on the UNIX server and imported the Java Class and placed that form in Oracle Applications and tried to invoke the web service it is not working.
    I am using Forms 6i for creating the form in Oracle Applications.
    Are there any other factors that I am neglecting?
    Any help is highly appreciated.
    Thanks.........

    Hi,
    could you please explain here the detailed steps (with code example if it's possible) to invoke a webservice from Oracle Applications?.. how did yo do it...?
    I've read differents posts here and the 33097.1 metalink note (by the way, the first recommended link in this note is broken...), but there are lots of theorical concepts and no real examples to see how/from where invoke the WS
    I'll have to call one webservice (I suppose the customer will give me the interface implementation)...but I've never did it with Applications so that's why I ask you for all the detailed steps...
    I work with Forms 6i, Apps 11.5.10.2 and DB 9.2.0.7.
    Thanks a lot.
    Jose.

  • How to call a web Service from Oracle Applications?

    Hi friends,
    I've posted this question on OA Framework forum , but may be it's more appropiated put it here. Sorry for do it again:
    It's about how to call a web service from a Form or a .sql (via Request) in Oracle Applications:
    Could you please explain here the detailed steps (with code example if it's possible) to invoke a webservice from Oracle Applications?.. how did yo do it...?
    I've read differents posts here and the 33097.1 metalink note (by the way, the first recommended link in this note is broken...), but there are lots of theorical concepts and no real examples to see how/from where invoke the WS
    I'll have to call one webservice (I suppose the customer will give me the interface implementation)...but I've never did it with Applications so that's why I ask you for all the detailed steps...
    I work with Forms 6i, Apps 11.5.10.2 and DB 9.2.0.7.
    Thanks a lot.
    Jose.

    Hello Jose,
    I did using java program to call BPEL web services in 11.5.10.
    I pasted below the metalink note for your reference (Note:250964.1)
    The idea is first write a java program to call the webservice (in my case it is calling an BPEL web service, so this may not help directly), test it.
    Then port the java program as specified in the note, so that you could call your web service through concurrent manager scheduler.
    Is this ok?
    Thanks
    Arun.
    ======================================================
    Checked for relevance on 25-Apr-2007
    Application Install - Version: 11.5.8 to 11.5.10
    Goal
    ====
    How to register and create a Java concurrent program for Oracle Applications
    Release 11i
    Solution
    ========
    1. Create your Java Concurrent Program (JCP) , using a text editor.
    /*===========================================================================+
    | Concurrent Processing Sample Code |
    | |
    | FILENAME |
    | Hello.java |
    | |
    | DESCRIPTION |
    | Sample Java concurrent program |
    | About the simplest possible program, just writes a message to the |
    | logfile and output file. |
    | |
    | HISTORY |
    | $Log$ |
    | |
    +===========================================================================*/
    package oracle.apps.fnd.cp.sample;
    import oracle.apps.fnd.cp.request.*;
    public class Hello implements JavaConcurrentProgram {
    public static final String RCS_ID = "$Header$";
    public void runProgram(CpContext ctx) {
    ctx.getLogFile().writeln("-- Hello World! --", 0);
    ctx.getOutFile().writeln("-- Hello World! --");
    ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
    =======================================
    End Sample
    =======================================
    2. Create a sample directory under $JAVA_TOP:
    $ mkdir $JAVA_TOPoracle/apps/fnd/cp/sample
    3. Copy Hello.java into $JAVA_TOP/oracle/apps/fnd/cp/sample:
    $ cp $HOME/Hello.java $JAVA_TOP/oracle/apps/fnd/cp/sample
    4. Compile your java program:
    javac $JAVA_TOP/oracle/apps/fnd/cp/sample/Hello.java
    5. Test at the command line with following syntax:
    jre -Ddbcfile=$FND_TOP/secure/your_dbc_file.dbc \
    -Drequest.outfile=./outfile \
    oracle.apps.fnd.cp.request.Run \
    oracle.apps.fnd.cp.sample.Hello
    6. Register your custom java concurrent program with Oracle Applications.
    a. Navigate: Concurrent > Program > Executable
    b. Enter details into the form
    Executable: JCPHELLO
    Shortname: JCPHELLO
    Application: Application Object Library
    Execution Method: Java Concurrent Program
    Execution File Name: Hello (Insert a name that does not contain space or period)
    Execution File Path: oracle.apps.fnd.cp.sample
    c. Save the details
    d. Navigate: Concurrent > Program > Define
    e. Enter details into the form
    Program Name: JCPHELLO
    Program Shortname: JCPHELLO
    Application: Application Object Library
    Executable: Choose JCPHELLO from LOV
    Executable Options :
    f. Save the details
    7. Add this new concurrent request to your responsibility request group.
    a. Navigate > Security > Responsiblity > Request
    b. Query System Administrator
    c. Add new row and choose TestJava
    d. Save the changes.
    8. Run your new Hello Java Concurrent Program
    Navigate: Request > Run
    References
    ~~~~~~~~~~~
    Oracle Applications Developers Manual for Release 11i A75545-01
    ====================================================

  • Deploying a web services on Oracle Application Server

    Hi,
    it is possible to deploy a web services generated by axis on Oracle Application server ? and if it is how ?
    Thanks,

    Hello again.
    Thx for the reply.
    I have all specfic Libraries in my ear file, but i don't get the problem solved.
    I can see the example Web Services from axis but not my own (which should be generated from my class files)
    Here is the build file I use, perhaps someone find what I do wrong or what I forgett:
    Regards
    <project name="readySAPOC4J" default="" basedir=".">
    <!-- ********** PROJEKT VARIABLEN ********** -->
    <!-- set global properties for this build -->
    <property file="build.properties"/>
    <!-- ********** CLASSPATH ********** -->
         <path id="project.classpath">
              <pathelement location="${build}"/>
                   <fileset dir="${lib}">
                        <include name="activation.jar"/>
                        <include name="ant.jar"/>
              <include name="axis-ant.jar"/>
                   <include name="axis.jar"/>
                   <include name="commons-discovery.jar"/>
                   <include name="commons-logging.jar"/>
                   <include name="jaxrpc.jar"/>
                   <include name="log4j.jar"/>
                   <include name="mail.jar"/>
                   <include name="saaj.jar"/>
                   <include name="sapjco.jar"/>
                   <include name="tools.jar"/>
                        <include name="wsdl4j.jar"/>
                   <include name="ant.jar"/>
                   </fileset>
         </path>
    <!-- ********** TASKDEFINITION ********** -->
         <taskdef name="axis-admin" classname="org.apache.axis.tools.ant.axis.AdminClientTask">
              <classpath refid="project.classpath"/>
         </taskdef>
    <!-- ********** INITIALIZATION TARGETS ********** -->
              <!-- ERSTTELLEN DER ORDNER IN DIE DIE DATEIEN KOMPILIERT WERDEN -->
                   <target name="init">
                   <mkdir dir="${deploy}"/>
              <mkdir dir="${build}"/>
              </target>
              <!-- LÖSCHEN DER DATEIEN VOM VORHERIGEN BUILD -->
              <target name="clean">
                   <delete dir="${deploy}"/>
              <delete dir="${build}"/>
              </target>
    <!-- ********** KOMPILIERE ALLER JAVA DATEIEN ********** -->
         <target name="compile" depends="init">
              <delete dir="${build}/SAP.class"/>
              <javac srcdir="${src}"
                   destdir="${build}"
                   classpathref="project.classpath"
                   debug="on" />
         </target>
    <!-- ********** ERSTELLE DIE WAR DATEI ********** -->     
         <target name="createWar" depends="">
              <delete file="${deploy}/axis.war"/>
                   <war warfile="${deploy}/axis.war" webxml="WEB-INF/web.xml" compress="true">
                        <classes dir="${build}">
                        </classes>
                        <webinf dir="WEB-INF">
                        <exclude name="web.xml"/>
                             <exclude name="users.lst"/>
                             <exclude name="**/WEB-INF/classes/*"/>
                             <exclude name="**/lib/*"/>
                        </webinf>
                        <!--fileset dir="${}">
              <exclude name="**/WEB-INF/**"/>
                        </fileset-->
                        <lib dir="${lib}">
                        <include name="activation.jar"/>
                             <include name="axis-ant.jar"/>
                             <include name="axis.jar"/>
                             <include name="commons-discovery.jar"/>
                             <include name="commons-logging.jar"/>
                             <include name="jaxrpc.jar"/>
                             <include name="log4j.jar"/>
                             <include name="mail.jar"/>
                             <include name="saaj.jar"/>
                             <include name="sapjco.jar"/>
                             <include name="wsdl4j.jar"/>
                             <include name="tools.jar"/>
                             <include name="ant.jar"/>
                   </lib>
                   </war>
         </target>
    <!-- ********** ERSTELLE DIE EAR DATEI ********** -->     
         <target name="createEar" depends="createWar">
              <delete file="${deploy}/axis.ear"/>
                   <ear destfile="${deploy}/axis.ear" appxml="${config}/application.xml">
                        <fileset dir="${deploy}">
                             <include name="axis.war"/>
                        </fileset>
              </ear>
         </target>
    <!-- ********** DEPLOYE DIE EAR DATEI ********** -->     
         <target name="deployEar" depends="">
         <java jar="C:\Programme\orabpel\integration\orabpel\system\appserver\oc4j\j2ee\home\admin.jar" fork="yes">
         <arg value="ormi://localhost:23791"/>
         <arg value="admin"/>
         <arg value="welcome"/>
         <arg value="-deploy"/>
         <arg value="-file"/>
         <arg value="C:\Programme\eclipse\workspace\readySAPOC4J\deploy\axis.ear"/>
         <arg value="-deploymentName"/>
         <arg value="axis"/>
         </java>
         </target>
    <!-- ********** WEB APPLICATION BINDING ********** -->     
         <target name="bind-web-app" depends="">
         <java jar="C:\Programme\orabpel\integration\orabpel\system\appserver\oc4j\j2ee\home\admin.jar" fork="yes">
         <arg value="ormi://localhost:23791"/>
         <arg value="admin"/>
         <arg value="welcome"/>
         <arg value="-bindWebApp"/>
         <arg value="axis"/>
         <arg value="axis"/>
         <arg value="http-web-site"/>
         <arg value="/axis"/>
         </java>
         </target>

  • Deploying Web services on Oracle Application Server

    Hi,
    I am not sure whether this is the forum where I should post this question.
    I am trying to deploy a webservice on Oracle iAS version1.0.0. But when I navigate to Oracle CRM Administrator(responsibility)-->Integration-->services I get a message telling that the server needs to be upgraded to version 1.0.2.2
    I would like to know, from which version of Oracle Application server is the web services supported.
    Thanks in advance
    Pratheusha

    Web Services are supported on IAS (OC4J) 9.0.4, 10.1.2 and 10.1.3. The 10.1.3 web services stack supports the JAX-RPC standard while prior versions supported a proprietary programming model.
    What type of webservice are you trying to deploy?

  • Error When using web services on Oracle Application

    we are getting this error when we deployed code on Oracle Application, but same code working fine on Jdev.
    Exception java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: For input string: ""
    [546]:ERROR:[fnd.common.Message.auto_log]:FNDICX_JAVASCRIPT_DISCLAIMER
    Regards,
    Vivek Gautam

    Are you sure that you have posted your question to the correct forum? This forum is only for Oracle Enterprise Manager related issues.

  • Web Services Examples - Oracle Application Server

    Can you please get ahold of the people who write the sample code for the following link and provide the sample code (the code is not present at the link provided):
    http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-ws-bottomup/doc/how-to-ws-bottomup.html?_template=/ocom/print
    Sample Code: http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-ws-bottomup/doc/doc/index.html

    Can you please get ahold of the people who write the sample code for the following link and provide the sample code (the code is not present at the link provided):
    http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-ws-bottomup/doc/how-to-ws-bottomup.html?_template=/ocom/print
    Sample Code: http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-ws-bottomup/doc/doc/index.html

  • Error deploying Web Service in Oracle 10g AS (10.1.3.0)

    When deploying a secured web service from Oracle EM 10.1.3 i'm getting the following exception
    "Failed in uploading archive. Invalid archive file: Invalid value: AES-256"
    The same web service (.ear) file is getting uploaded without exception when deploying directly from Oracle JDeveloper 10.1.3.0

    The problem solved when creating a webservice ear file with the keystore generated in the machine where the application server is installed.
    We created a secure web service (in client machineA) with public/private key encryption (AES 256) and tried deploying it in an application server instance (Server machineA). Doing this gives the following expection (when deploying the ear file through EM)
    "Failed in uploading archive. Invalid archive file: Invalid value: AES-256"
    We solved the problem by creating a keystore file in the application server instance machine (instead of doing it in client machine) and used the same keystore file to create the ear file which got deployed succesfully.
    Thanks for your help

  • Calling web service in Oracle Applicaitons...

    Can I call a web service in Oracle Appications 11.5.10?
    I created a simple form on my local machine and invoked the webservice in that form and it works perfectly. I used Oracle forms 9i and 6i for this purpose and both are working perfectly.
    But when I created the same form on the UNIX server and imported the Java Class and placed that form in Oracle Applications and tried to invoke the web service it is not working.
    I am using Forms 6i for creating the form in Oracle Applications.
    Are there any other factors that I am neglecting?
    Any help is highly appreciated.
    Thanks.........

    Oracle Applications have very specific rules on what you can do and not do with Forms so you need to ask this in the Applications Forums.

  • Web pages in Oracle Application 12.0.6

    Hello every one.. i am having a one problem.. i want to create the SSHR LOGGING report.. in which i want to show the list of employees how have visited the application... this is the following query :
    SELECT
    p.employee_number employee_number,
    p.first_name || ' '|| p.last_name Name,
    u.user_name Login_name,
    u.email_address,
    a.start_time login_dates,
    u.last_logon_date,
    tl.responsibility_name
    FROM
    FND_LOGINS A ,
    fnd_user u,
    per_all_people_f p,
    fnd_login_responsibilities s,
    fnd_responsibility t,
    fnd_responsibility_tl tl
    WHERE
    u.user_id = a.user_id
    AND A.START_TIME >'20-NOV-09'
    and s.responsibility_id = t.responsibility_id
    and t.responsibility_id = tl.responsibility_id
    and s.login_id = a.login_id
    and u.person_party_id = p.party_id
    and tl.responsibility_name in ('JBL Employee Self-Service','JBL Employee Self-Service (CE)','JBL Employee Self-Service (JAS)','JBL Manager Self-Service','JBL Manager Self-Service (Admin)','JBL Manager Self-Service (JAS)','Notification')
    and sysdate between p.effective_start_date and p.effective_end_date
    and nvl(p.employee_number,'1') = nvl(nvl(:p_emp_no,p.employee_number),'1')
    and to_CHAR(a.start_time,'RRRR/MM/DD HH:MM:SS') between :P_DATE_FORM AND :P_DATE_TO
    order by
    2 ,a.start_time desc
    Now problem with this is that.. its not showing the rercord of the person.. how have visited the web pages in Oracle Application R12.. like we have Leave Management web page in this 'JBL Employee Self-Service' responsibility.. please help me that how and by using what table in can view webpages visiting data as well

    Hi,
    Please see if the queries in these documents helpl.
    Note: 295206.1 - How to Count Total Number of Users Connected to ORACLE Application
    Note: 471673.1 - R12.0.6+ : Oracle Application Object Library Active Users Data Collection Test
    Thanks,
    Hussein

  • Need idea : Integration of CRM On Demand web services with Oracle SOA 10g

    Hi Al,
    Can anyone have any idea on integration of CRM on Demand Web service with Oracle SOA 10g specially BPEL 10g.
    If you have any idea please share with us. Or if you know any good link on the same... please let me know.....
    Thanks in advance
    Debarshi

    AFAIK there is no such mapping available, however you may want to take a look at this Support Community thread that discusses the migration and even gives some samples.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

Maybe you are looking for

  • Startup plug is missing - Wht this means

    When i was building dc i was getting startup plug missing error.Can i know about this

  • IPhoto keeps crashing when trying to burn disc

    I am trying to burn a cd of pictures (500 mb) and everytime I try to burn iPhoto crashes. It select the pictures, it recognizes the disc, the size is fine and then it crashes. I have a powerbook G4 with 1 gig RAM. I am using iPhoto 5

  • Adding markers to RED footage in Prelude

    Hey everyone, I was hoping to find a way to add markers to my RED footage without having to transcode it during ingestion. All my footage is kept on a separate drive from my computer. Two separate computers can pull from this drive so I'd love to avo

  • Detecting static calls in methods via Class.forName(...)

    Hi! I'm trying to detect, if a method (or a contructor) of a Class object, loaded by Class.forName(...) contains a static call like System.out.println( "some text" ); I need it to figure out if (in this case above) the class "System" is needed for ru

  • How can I upgrade my computer to Mountain lion if it's only at OS X 10.5.8?

    I'm trying to upgrade my computer from leopard to Mountain Lion and I'm having trouble figuring out how to download.  My systems are to out of date in oreder to download it directly. Has anyone had this same problem in the past? if so, how did you so