Home > Default > Deploying a web services on Oracle Application Server

Deploying a web services on Oracle Application Server

November 30Hits:3
Advertisement
Hi,
it is possible to deploy a web services generated by axis on Oracle Application server ? and if it is how ?
Thanks,

Answers

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>

Read other 5 answers

Tags:

Related Articles

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

    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/devdepandmanag

  • Deploying a web service on Oracle application serverNovember 30

    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 O

  • Deploying a web services on Oracle Application ServerNovember 30

    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 exam

  • Deploying Web services on Oracle Application ServerNovember 30

    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 te

  • Web Services Examples - Oracle Application ServerNovember 30

    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

  • Install and configure report service on Oracle Application Server 10gOctober 11

    i want to know how to install and configure report service on Oracle Application Server 10g Release 3 (10.1.3.1.0) Thanksthe case is that we developed an ADF Application, so we want to deploy it on the latest version of Oracle Application server. our

  • Calling web service in Oracle Applications...October 11

    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, SandraHey Ravi, Thanks for your response. I am not well versed with Java. I am using Forms 6i to achieve this. I d

  • Callin web service in oracle applications...November 30

    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

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

    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 AMNot able to deploy axis2 web service on oc4j 10g server, getting internal server every t

  • Unable to start report service on Oracle application server 10gOctober 11

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

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.763 s.