Deploying a Web Service developed for WebSphere to Oracle App Server

I have an EAR file containing a web service (exposed as a servlet) that was developed using WebSphere Studio and originally deployed to a WebSphere application server. It should be J2EE 1.4 compliant. I now want to deploy it as a web service on Oracle Application Server.
Is it as simple as just deploying the EAR to OAS? Or do I need to (re-)assemble the EAR using the Web Service Assembler tool and then deploy it? What is the best practices approach for this scenario? My goal is to develop a web service that is deployable to both WebSphere and OAS with as little fuss as possible.
Thanks

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

Similar Messages

  • Deploying Web services written in C to Oracle Application Server

    Hello,
    Has anybody got information on deploying a web service written using C & gSoap into Oracle Application Server. I have a web service written in C using the example provided by gSoap and would like to deploy this on Oracle Application Server 10g, and am not sure on how to proceed further.
    Regards,
    Santhosh

    Hi San :)
    I think you need to use mod_soap module in Oracle HTTP server. or you can compile gSOAP web service as CGI-based or FastCGI application and copy the executable to cgi-bin directory in OHS.
    Thanks
    Rami AL-SAHHAR

  • Web service(developed in jdeveloper) deployedin Oracle is not detecting

    I have developed a webservice using jdeveloper following the document (http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm) deployed and ran in OC4J. But when I am trying to deploy it in oracle10g(10.1.3) its showing the error in browser
    */WebServices/HelloJavaWSSoapHttpPort not found on this server*
    But the port name HelloJavaWSSoapHttpPort is found in the WebServices page

    Hello,
    I would like to understand better your use case...
    So you have some Tuxedo services, and (a) these services are exposed as Web Services ?
    Or (b) you want to take tuxedo and expose them as WS from JDeveloper/OracleAS?
    If Tuxedo can be exposed as WS (a) you can consume them directly as it is from Java using a WS client.
    If you need to expose Tuxedo as WS (b), -if not possible our of the box- you should be able to use the Java API of Tuxedo (was called JOLT) and program you service from these class like any WS written in Java.
    Regards
    Tugdual Grall

  • Can anyone share - Web Service / WSDL for either Access or SQL Server

    I am a newby and have never written a web service so I hoing someone will share a WSDL that is working for them!
    Thanks in advance for your help!

    I think it fails on decoding the Web Service response. I
    would try to set resultFormat to e4x. In this case, no decoding
    takes place and you can get whole soap body in event.result.
    - Mykola

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

  • Security-role for java web services developed using j-developer 10.1.2.1

    I have developed a java web service using j-developer 10.1.2.1, I have deployed this web service to oracle 10g (10.1.2.1) application server successfully. Now I want to add security-role to my web service deployment descriptor so that only a group of users that belong to a group can access my web service.
    How can I do this? Can any one please let me know.
    Thanks,
    SC.

    Hi.
    I suspect you have a proxy server between your localhost and the
    drive-app1.drivesoftwaresolutions.com
    Probably in Jdev that proxy is setup nicely in Tools->Preferences->Web Browser and Proxy
    But maybe your OC4J container running BPEL on localhost does not have that proxy setup.
    You need to add startup parameters to the JVM. In 10.1.3 you can do this via the "AS Control" administration pages (there is a link on the SOA suite welcome page). Go to JVM, click on the container and switch to the "Administration" tab.
    The properties are proxySet, proxyHost, proxyPort and nonProxyHosts
    When deploying from JDev, the compilation in JDev works fine (uses the proxy). But when the JAR is transferred to the server, it is compiled again. This fails because the proxy is not used on the server side and it cannot read the wsdl.

  • Web Service Developer Pack for production use?

    Hello,
    Can anyone tell me what the licensing is for use of the web services developer pack reference implementations? Can they be used in a production environment, or are they for development purposes only?
    Any information is appreciated.
    Holly

    The JWSDP can be used for production use. It is not just
    a reference implementation. The exception is the bundled
    UDDI registry which is just for testing development.

  • Article written on EJB 3.0 , web services develop n deploy on JBOSS AS

    Dear Friends
    I would like to announce the article written on EJB 3.0 , web services development and deployment on JBOSS AS at the following location http://jamessmithjava.100webcustomers.com/index.html , I think this would help developers to increase interest on JBoss as well as EJBs
    Regards
    James
    [email protected]
    http://tech.groups.yahoo.com/group/james_smithjava

    Dear Friends
    I would like to announce the article written on EJB 3.0 , web services development and deployment on JBOSS AS at the following location http://jamessmithjava.100webcustomers.com/index.html , I think this would help developers to increase interest on JBoss as well as EJBs
    Regards
    James
    [email protected]
    http://tech.groups.yahoo.com/group/james_smithjava

  • Deploy PLSQL web services on weblogic for 11g-URI not working

    Dear all,
    Scenario:
    Using JDeveloper I deployed a web service from a PLSQL package to a war file. After that I deployed that war file on a weblogic (10.3.5) server manually not by using JDeveloper.
    The deployment of the admin on the admin server is successfully done. While testing the application on the server itself again successful.
    Problem:
    But having an issue while trying to do the same using the URL giving in the application server.
    404 -Not Found error is coming up.
    Solutions tried so far:
    Tried putting a html file to the created application in order to get the  job done- Did not work out
    Please I have no idea how to proceed. Quick responses are much appreciated.
    Thank you

    Hi. The [Service]-mapping.xml file is a standard "JAX-RPC mapping file" according the JSR-109 spec and WebLogic 9.2 doc ([1],[2]). That's the file that references the class. Here's a fragment:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
    <package-mapping>
    <package-type>co.com.acme.services</package-type>
    <namespaceURI>urn:Service/types</namespaceURI>
    </package-mapping>
    <package-mapping>
    <package-type>co.com.acme.services</package-type>
    <namespaceURI>urn:Services/wsdl</namespaceURI>
    </package-mapping>
    <java-xml-type-mapping>
    <java-type>co.com.acme.services.ServiceSEI_serviceOperation_RequestStruct</java-type>
    <root-type-qname xmlns:typeNS="urn:Service/types">typeNS:serviceOperation</root-type-qname>
    <qname-scope>complexType</qname-scope>
    <variable-mapping>
    <java-variable-name>String_1</java-variable-name>
    <xml-element-name>String_1</xml-element-name>
    </variable-mapping>
    </java-xml-type-mapping>
    I'll take a look at the ant task.
    Thank you very much.
    [1]http://download.oracle.com/otndocs/jcp/websvcs-1.0-fr-spec-oth-JSpec/
    [2]http://otndnld.oracle.co.jp/document/products/wls/docs92/webserv/jsr109.html

  • Deploying a web service to WebLogic 7 - error with RemoteDispatcherBean

    Hi there,
    I have just created a web service through WebLogic Workshop. The web service can be tested through the workshop and it works fine
    I am trying now to deploy it to a development server, and I am having the following error:
    preparing application <appName> on mope
    Exception caught for task Activate application <appName> on mope: Prepare failed. Task Id = 1
    Module, AP_NotificationEJB.jar, reported error: Exception preparing module: EJBModule(AP_NotificationEJB.jar,status=NEW)
    Unable to deploy EJB: C:\bea\<deploymentPath>\.wlnotdelete\<appName>\AP_NotificationEJB.jar from AP_NotificationEJB.jar:
    weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xml: weblogic.knex.bean.RemoteDispatcherBean
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:440)
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:165)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfo(EJBDeployer.java:965)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1276)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1742)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:745)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:559)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1116)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:784)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)
    Looking inside the EAR I generated (using jwsCompile), I can find several classes RemoteDispatchBean_bu6zup_....class but no RemoteDispatchBean.class file anywhere
    Am I doing anything wrong to generate the EAR file? Anything fancy I need to include to my jws file or any descriptor?
    Any idea or suggestion would be much appreciated
    Thank you,
    Miguel

    We have found a work around for that specific problem.
    We have included the whole knex library within our libs folder. Now we can deploy the Web services as a web application to the webLogic, The deployment returns successful, but any time we initiate the server, there is another ClassNotFoundException. This time the missing class is weblogic.knex.bean.DeploymentListener.
    The strange thing is that that specific class is part of the knex.jar library we have included within our libs folder ...
    It seems that the folder is not read from the server when starting, but it is read when executing the application.
    Any suggestion to this nonsense?
    Thanks,
    Miguel

  • Deploying a web service to PI 7.1

    Hello,
    We recently upgraded an XI3.0 system to PI7.1.
    On the XI system we had a web service (written in java). It was developed with NWDS 7.0.14 and deployed to XI by SDM using the "deploy" option of the EAR file in the web service perspective.
    Aftet the upgrade we wanted to deploy the web service to the new system. However, using the "deploy" option did not work (it ended with an error - SDM host is empty). This was still done with NWDS 7.0.14.
    Is there a different way of uploading a web service to PI7.1?
    Please note that I only need a server on which the web service runs. I don't need to use a UDDI or to register the service because I refer to the WSDL directly where I use the web service.
    Thanks in advance,
    Tal.

    Hi Udi,
    There could be a thousand reasons to this problem. Please go through the checklist , one of them is bound to work.
    1) Verify whether the process table on SAP J2EE server and it says that SDM is running.
    2) You have to enter the SDM host as the name of your J2EE server with the port. Go to:
    Window -> Preferences -> SAP J2EE engine -> Here Enter the values of Message Server Host and Message Server Port.
    3) For some reason the SDM wasn't started by the MMC. Since I was not able to start the SDM via MMC, I started it manually via DOS prompt "StartServer". After that the deployment of the application worked fine.
    4) Try updating the hosts file:
    C:\<WINDOWS-version>\system32\drivers\etc
    Append the following line:
    <localhost IP> name of the localhost.
    e.g.10.590.789.10 remotehost
    Reboot your PC, be sure all threads of the J2EE Engine are running and try to deploy again.
    5) You should use port 39xx instead of 36xx (where xx - SCS instance number).
    6)Please check message server settings on
    visual admin tool:server->kernel->cluster manager
    and check ms.host and ms.port values from the table. If you do your J2ee settings according to these values it will probably work fine.
    The reason why you are getting SDM error is ,at the previous versions there was settings for SDM in preferences and you had to set the port number for SDM ( which was 50018 + 100 * <instance number> ). There is no specific settings for SDM in preferences anymore.
    Regards
    joel
    Edited by: joel trinidade on Mar 26, 2009 2:38 PM
    Edited by: joel trinidade on Mar 26, 2009 2:40 PM

  • Web services Development

    A general question for the group (sorry if this is off-topic, if there's a better
    forum for this type of Q let me know).
    I'm a web services and web app developer who is new to BEA. In the past I've used
    toolkits like Axis for web services and I've always preferred this approach. It
    seems to me that using BEA I can develop Web Services in one of two ways. The
    'low-level' way where I could use the command line tools (or ant) to create, deploy
    and manage the code, or I could use WLW and the nice attribute driven approach.
    It strikes me (on first blush) that these techniques are not compatible, so if
    I choose one I have to stick with that, and I shouldn't (can't) mix and match
    the two.
    As a relative newcomer to this community which one should I choose?
    Which are people out there using?
    Can the approaches me mixed?
    What implications does using one or the other have in terms of deployment and
    the type of WLS I have installed?
    Again sorry if this is off topic, or an RTFM. If either of these is the case pointers
    to the FM would be appreciated.
    Thanks,
    Kevin Jones

    I think if you are looking for training in "BEA web services" then do
    it the WLW way.
    However, if you think your web service may be deployed to a non-BEA
    app server, then pick up the standards.
    This is true for regular web apps using struts vs. WLW's 'netui'
    and JSR 162 vs. WLW Portals as well.
    Kevin Jones wrote:
    Thanks Michael,
    anybody else have any comments?
    For example if you were looking for training in BEA web services would you expect
    it to be WLW or 'command line' based?
    Kevin
    "Michael Wooten" <[email protected]> wrote:
    Hi Kevin,
    The two web services development approaches are for two different audiences,
    so
    it's up to you to select which is more to your liking :-)
    Developers who are familiar with the Apache Axis Web Services Platform,
    will find
    lots of similarities in the Ant-scrpt based approach that the WLS 8.1
    Web Services
    Platform uses. This would also be the environment for those that really
    like to
    see that their code uses classes from a standard, like JAX-RPC or SAAJ.
    Workshop is really targeted at developers who are less interested in
    the mechanics
    of Web service construction, and more interested in what they want the
    web service
    to do. It offers developers with this mindset, almost complete isolation
    from
    the technologies associated with web service development (i.e. SOAP,
    WSDL, XML,
    etc.), while still producing a deployable web service that can interoperate
    with
    web services created by other Web Service stacks.
    Again, both of these approaches have healthy developer audiences, so
    I see no
    real reason to promote one over the other. Personally, I think it makes
    sense
    to become adept at both.
    All in all, I'd have to say that Workshop makes better use of the developer's
    time :-)
    Regards,
    Mike Wooten
    "Kevin Jones" <[email protected]> wrote:
    A general question for the group (sorry if this is off-topic, if there's
    a better
    forum for this type of Q let me know).
    I'm a web services and web app developer who is new to BEA. In the past
    I've used
    toolkits like Axis for web services and I've always preferred this approach.
    It
    seems to me that using BEA I can develop Web Services in one of twoways.
    The
    'low-level' way where I could use the command line tools (or ant) to
    create, deploy
    and manage the code, or I could use WLW and the nice attribute driven
    approach.
    It strikes me (on first blush) that these techniques are not compatible,
    so if
    I choose one I have to stick with that, and I shouldn't (can't) mixand
    match
    the two.
    As a relative newcomer to this community which one should I choose?
    Which are people out there using?
    Can the approaches me mixed?
    What implications does using one or the other have in terms of deployment
    and
    the type of WLS I have installed?
    Again sorry if this is off topic, or an RTFM. If either of these isthe
    case pointers
    to the FM would be appreciated.
    Thanks,
    Kevin Jones

  • About Sun Certified Web Component Developer for the Java 2 ... course

    i want to know if i take the Sun Certified Web Component Developer for the Java 2 course,then could i write j2EE application with oracle envirmet and the websphere enviriment or should i take extra course if i mant to work in any of these enviroments

    You can write j2EE application for all this enviroments. The code is the same, with little diferences in the applicantion servers configuration files.
    For more information try: http://www.sun.com/training/certification/java/java_busj23e.html
    "The Sun Certified Web Component Developer for J2EE Platform certification exam is for Sun Certified Programmers (any edition) who are using the Java technology servlet and JavaServer Pages (JSP) application program interface (APIs) to develop Web applications. Prior to beginning the Sun Certified Web Component Developer program, you must be a Sun Certified Programmer for the Java platform (any edition)."
    "The Sun Certified Business Component Developer for the Java 2 Platform, Enterprise Edition 1.3 exam is for programmers and developers who are responsible for designing, developing, testing, deploying, and integrating Enterprise JavaBeans (EJB) applications. It is also for those specializing in leveraging the Java 2 Platform, Enterprise Edition (J2EE platform) technologies used to develop server-side components that encapsulate the business logic of an application. Prior to beginning the Sun Certified Business Component Developer program, you must be a Sun Certified Programmer for the Java platform (any edition)."

  • Problem Installing: Web Services Developer Pack 1.3

    I am trying to setup an environment to develop and deploy a web application with jsp & servlets. When i tried to install the web services developed pack i got the following error found in the log file. I also just installed the j2sdk 1.4.2_03 and i have set my class path to the new java folder.
    Any help would be great.
    -Chris
    (Feb 7, 2004 5:16:21 PM), Install.product.install, com.installshield.product.service.product.PureJavaProductServiceImpl, wrn, Parent Component with UID = a8182b517735a528d4f8baa8438a8985 of installed Component with displayName = JAXP Version 1.2.4 (Java API for XML Processing) was not found in the VPD.
    (Feb 7, 2004 6:01:11 PM), Install.product.install, com.installshield.product.service.product.PureJavaProductServiceImpl$DiskSpaceCheck, wrn, String index out of range: -1
    (Feb 7, 2004 6:01:30 PM), Install.product.install, com.sun.jwsdp.installer.SaveEnvironmentVariablesAction, err, An error occurred and product installation failed. Look at the log file /usr/jwsdp-1.3/log.txt for details.
    (Feb 7, 2004 6:01:30 PM), Install.product.install, com.sun.jwsdp.installer.SaveEnvironmentVariablesAction, err, java.lang.NoClassDefFoundError
    STACK_TRACE: 13
    java.lang.NoClassDefFoundError
         at com.sun.jwsdp.installer.SelectJVMPanel.<init>(SelectJVMPanel.java:85)
         at com.sun.jwsdp.installer.SaveEnvironmentVariablesAction.install(SaveEnvironmentVariablesAction.java:177)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1916)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5149)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:369)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4532)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3727)
         at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:40)
         at java.lang.Thread.run(Thread.java:534)
    (Feb 7, 2004 6:01:31 PM), Install.product.install, com.installshield.product.service.product.PureJavaProductServiceImpl, wrn, Parent Component with UID = a8182b517735a528d4f8baa8438a8985 of installed Component with displayName = JAXP Version 1.2.4 (Java API for XML Processing) was not found in the VPD.
    My screen output when i got the error
    Installing Java(TM) Web Services Developer Pack 1.3. Please wait...
    |-----------|-----------|-----------|------------|
    0% 25% 50% 75% 100%
    |||||||||||||||
    Errors occurred during the installation.
    - An error occurred and product installation failed. Look at the log file
    /root/jwsdp-1.3/log.txt for details.

    Look at the log file /usr/jwsdp-1.3/log.txt for details.Doesn't the log file tell you what's wrong? From the error messages, the installer (InstallShield?) couldn't find some class. Review all of the install instructions, paying particular attention to the setting of environment variables like PATH and CLASSPATH, etc. You might want to check at the Installshield site for further information, also.

  • Error while deploying a web service whose return type is java.util.Date

    Hi
    I have written a simple web service which takes in a date input (java.util.Date) and returns the same date back to the client.
    public interface Ping extends Remote
    * A simple method that pings the server to test the webservice.
    * It sends a datetime to the server which returns the datetime.
    * @param pingDateRequest A datetime sent to the server
    * @returns The original datetime
    public Date ping(Date pingDateRequest) throws RemoteException;
    The generation of the Web service related files goes smoothly in JDeveloper 10g. The problem arises when I try to deploy this web service on the Oracle 10g (10.0.3) OC4J standalone. it gives me the following error on the OC4J console :
    E:\Oracle\oc4j1003\j2ee\home\application-deployments\Sachin-TradingEngineWS-WS\
    WebServices\com\sachin\tradeengine\ws\Ping_Tie.java:57: ping(java.util.Date) in com.sachin.tradeengine.ws.Ping cannot be applied to (java.util.Calendar) _result  = ((com.sachin.tradeengine.ws.Ping) getTarget()).ping
    (myPing_Type.getDate_1());
    ^
    1 error
    04/03/23 17:17:35 Notification ==&gt; Application Deployer for Sachin-TradingEngineWS-WS FAILED: java.lang.InstantiationException: Error compiling :E:\Oracle\oc4j1003\j2ee\home\applications\Sachin-TradingEngineWS-WS\WebServices: Syntax error in source [ 2004-03-23T17:17:35.937GMT+05:30 ]
    I read somewhere that the conversion between java to xml datatype and vice versa fails for java.util.Date, so it is better to use java.util.Calendar. When I change the code to return a java.util.Calendar then the JDeveloper prompts me the following failure:
    Method Ping: the following parameter types do not have an XML Schema mapping and/or serializer specified : java.util.Calendar.
    This forces me to return a String data.
    I would appreciate if someone can help me out.
    Thanks
    Sachin Mathias
    Datamatics Ltd.

    Hi
    I got the web service working with some work around. But I am not sure it this approach would be right and good.
    I started altogether afresh. I did the following step :
    1. Created an Interface (Ping.java) for use in web Service as follows :
    public interface Ping extends Remote{
    public java.util.Date ping(java.util.Date pingDateRequest)
    throws RemoteException;
    2. Implemented the above interface in PingImpl.java as follows :
    public class PingImpl implements Ping
    public java.util.Date ping(java.util.Date pingDateRequest) throws RemoteException {
    System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
    return pingDateRequest;
    3. Compiled the above 2 java files.
    4. Generated a Stateless Java Web Service with the help of JDeveloper. This time the generation was sucessful.(If I had "java.util.Calendar" in place of "java.util.Date" in the java code of the above mentioned files the web service generation would prompt me for error)
    5. After the generation of Web Service, I made modification to the Ping interface and its implementing class. In both the files I replaced "java.util.Date" with "java.util.Calendar". The modified java will look as follows :
    Ping.Java
    =========
    public interface Ping extends Remote{
    public java.util.Calendar ping(java.util.Calendar pingDateRequest)
    throws RemoteException;
    PingImpl.Java
    ================
    public class PingImpl implements Ping
    public java.util.Calendar ping(java.util.Calendar pingDateRequest) throws RemoteException {
    System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
    return pingDateRequest;
    6. Now I recompile both the java files.
    7. Withour regenerating the Web Service I deploy the Web Service on OC4j 10.0.3 from JDeveloper. This time the deployment was sucessful.(The Deployment fails if I don't follow the step 5.)
    8. Now I generated a Stub from JDeveloper and accessed the stub from a client. It works fine. Here if you see the Stub code it takes java.util.Date as a parameter and returns a java.util.Date. (Mind you I am accepting a java.util.Calendar and returning the same in my Web Service interface. Step 5)
    The confusing thing is the Serialization and Deserialization of Data from Client java data to Soap message and Soap message to Server java data.
    From Client to SOAP :
    java.util.Date to datetime
    From SOAP to Server :
    datetime to java.util.Calendar
    From Server to SOAP :
    java.util.Calendar to datetime
    From SOAP to Client :
    datetime to java.util.Date (I am not able to understand this part of the conversion)
    Any help or inputs would be appreciated.
    Thanks
    Sachin Mathias

Maybe you are looking for