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

Similar Messages

  • 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

  • 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>

  • 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
    ====================================================

  • How to deploy/enable Web services on Crystal Reports Server 2008?

    Hi All,
    I am trying to setup web services for CRS 2008. Per the installation guide, I can deploy the web services components from the source file in <Install Dir>\Business objects 12.0\java\applications and using BusinessProcessBI.war file. But I do not see anything in my applications folder.
    Where can I download the server components for CRS 2008 web services and how to configure it? Any help is greatly appreciated.
    Thanks
    Bin

    I am getting the following error when i try to verify the web-service deployment.
    how do i fix it? Documentaiton was not much helpful.
    <Exception>org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /dswsbobje/services/Session and the WSA Action = null at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:86) at org.apache.axis2.engine.Phase.invoke(Phase.java:308) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132) at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:125) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:119) at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:799) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:242) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.businessobjects.dsws.wsc.common.axis.FlashFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)</Exception>

  • 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?

  • 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

  • How Can I install Web Service on Oracle 11g r1?

    How Can I install Web Service on Oracle 11g r1?

    Hi,
    Is necesary install XDB?
    Because i have executed;
    select * from dba_registry
    where COMP_ID = 'XDB'
    Oracle XML Database
    Regards

  • 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

  • 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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Not able to deploy axis2 web service on oc4j 10g server

    Not able to deploy axis2 web service on oc4j 10g server, getting internal server every time I click on services link....
    Edited by: 974237 on Nov 30, 2012 4:17 AM

    Not able to deploy axis2 web service on oc4j 10g server, getting internal server every time I click on services link....
    Edited by: 974237 on Nov 30, 2012 4:17 AM

  • Install and configure report service on Oracle Application Server 10g

    i want to know how to install and configure report service on Oracle Application Server 10g Release 3 (10.1.3.1.0)
    Thanks

    the case is that we developed an ADF Application, so we want to deploy it on the latest version of Oracle Application server.
    our application communicate with Oracle reports (run oracle reports from our Application) as there are no Oracle report products for JEE Application.
    so if there are not report service that can run on Oracle Application Server 10g Release 3 (10.1.3.1.0),
    what is the other choices that oracle supports that can help us in this case ???

  • Unable to start report service on Oracle application server 10g

    Hello,
    I tried starting services on Oracle application Server 10g using opmnctl startall but got the error below while starting the report service :
    linux_thin> opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=linux_thin:6200
    6 of 7 processes started.
    ias-instance id=oracle10g_Forms.linux_thin
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    rep_gtb_service29/ReportsServer/rep_gtb_service29
    Error
    --> Process (pid=10049)
    failed to start a managed process after the maximum retry limit
    Log:
    /u01/oracle10g_Forms/opmn/logs/rep_gtb_service29~ReportsServer~rep_gtb_servi
    ce29~1
    linux_thin>
    Kindly assis on how to resolve this issue

    Hello,
    I tried starting services on Oracle application Server 10g using opmnctl startall but got the error below while starting the report service :
    linux_thin> opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=linux_thin:6200
    6 of 7 processes started.
    ias-instance id=oracle10g_Forms.linux_thin
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    rep_gtb_service29/ReportsServer/rep_gtb_service29
    Error
    --> Process (pid=10049)
    failed to start a managed process after the maximum retry limit
    Log:
    /u01/oracle10g_Forms/opmn/logs/rep_gtb_service29~ReportsServer~rep_gtb_servi
    ce29~1
    linux_thin>
    Kindly assis on how to resolve this issue

  • How to use JavaMail 1.4 with Oracle Application Server 10g (9.0.4.0.0)

    Hi all,
    I'd like to know if it's possible and how to use JavaMail 1.4 with Oracle Application Server 10g (9.0.4.0.0), Windows version.
    With the following code, I can see that the mail.jar used by the server is the one included in the jdk installation :
    // I'm testing InternetAddress.class because I want to use commons-email-1.2.jar that requires mail.jar 1.4 (or higher) and activation.jar 1.1 (or higher)
    // and I know that inside the commons-email-1.2.jar file, I need to call the InternetAddress.validate() method that throws a java.lang.NoSuchMethodError: javax.mail.internet.InternetAddress.validate()V if it is used with mail.jar 1.2.
    Class cls = javax.mail.internet.InternetAddress.class;
    java.security.ProtectionDomain pDomain = cls.getProtectionDomain();
    java.security.CodeSource cSource = pDomain.getCodeSource();
    java.net.URL location = cSource.getLocation();
    System.out.println(location.toString());
    This code returns : file:/C:/oracle/app/jdk/jre/lib/ext/mail.jar and this mail.jar file has an implementation version number: 1.2
    - I've tried to include my own mail.jar (1.4.2) and activation.jar (1.1.1) files in the war file that I deploy, but it doesn't work (the server still uses the same mail.jar 1.2)
    - I've tried to put the mail.jar (1.4.2) and activation.jar (1.1.1) files in the applib directory of my OC4J instance, but it doesn't work (the server still uses the same mail.jar 1.2)
    - I know that a patch exists : I've read the following document: How to Make Libraries such as mail.jar and activation.jar Swappable ? [ID 552432.1]
    This article talks about the Patch 6514136, but this patch only applies to : Oracle Containers for J2EE - Version: 10.1.3.3.0
    Can you please help me ?
    Thanks in advance for your answers,
    Laurent

    I strongly suggest to upgrade to AS 10.1.3 to get this.
    Think of future support of AS 9.0.4. You will get not critical patch updates anymore.
    --olaf                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Issues when printing a website of multiple pages, only prints every other page

    I have recently started using Firefox as since using windows 8 have found a few problems with explorer. I sell a great deal on ebay and in order to print my invoices, ebay create a webpage with all of them on. I have attempted to print this through f

  • Html link to verify google

    Hi! i cannot figure out why this is so hard.....i am trying to paste an html link to google on my website so i can ratify it google. only google doesn't recognise it or apple won't allow it. Please does anyone have any ideas on what i may be doing wr

  • My Iphone 5 just stopped working. Won't even pick up a battery charge.

    My Iphone 5 just stopped working. There is no damage to it and now it won't even hold a charge. What do I do?

  • Fireworks super slow opening pdf files

    I am opening the first page of a bunch of pdf files and then batching them into thumbnails. This is relatively quick when I do it on my laptop but when I try and do this on my desktop, it almost takes 20 minutes per file to open. I can open these sam

  • Update BP,Item error

    When I try to update a BusinessPartner or an Item I get the errormessage: -1107 - The object's key is not set This is what I do (I use VB.NET): First I create an xml file of the bp and then: Dim oDestBP As SAPbobsCOM.BusinessPartners = oCompany2.GetB