Deploy J2EE Web Service with otherwise than SUN1AS

Right now i have a webservice up and running on a Sun1 that comes with J2EE1.4 tutorial.
But if i try to deploy the war to other AS (say OC4J), saving the web.xml transformed to 2.3, the call to this WS fails because it says the Servlet is not a Servlet (wich is quite right). So, what is going on?
Can't I deploy a WAR containing a WS generated with deploytool to other AS?
Thanks and thanks again,
Mariano.

Things I've learnt these days.
1-) J2EE is still too new for many Application Servers.
2-) Developing web services is a tough, long way to go.
I finally realized war's containing web services are not that portable at all.
I had to download Jdev's 10g preview in order to deploy 1 miserable JAX-RPC web service in OC4J.
And I still can't return a java.util.HashMap in the service's response...not to mention trying to add its mapping in JDev's web service creating process...
So, hold still gentleman, for it's rough.
Thanks,
Mariano.

Similar Messages

  • Deploy a web service with the deploy tool (J2EE)

    Hi!
    I want to deploy a web service with the Deploy Tool (J2EE 1.4).
    (For info, I'm working on Win 2000.)
    I have the following error when I'm trying to deploy:
    distribute: C:\monHello2\monApp.ear
    Deploy action running...
    Deployment failed on target localhost:4848_server : Fatal Error from EJB Compiler -- jaxrpc compilation exception
    !!! Operation Failed !!!
    Someone can help me, please? What's the problem?
    Other question: when I create the WAR file, I have to add : my interface class, my implementation class, my others java classes, my WSDL file and my mapping.xml file.
    Should I add the .jar that is used by one of my class???? I think yes, but...
    thank you and excuse me for my english... ;o)

    Only primitive types can be returned? Is thatcorrect????
    true - for more details check out section 3.4.1.3 of
    this book which is available for purchase or online
    http://java.sun.com/blueprints/guidelines/designing_w
    ebservices/I meant to say primitive type and "special POJOs" called "JAXRPC Value Types" - check out the reference I listed

  • Web Service with more than one operation?

    Hey,
    a web service could contain 1..N operations. It is possible
    to define this with XI? Normally I took an outbound interface
    and create a web service, but this outbound interface defines
    the structure of the only operation of this web service, did it?
    Does SAP XI supports only a one-operation web service?
    thanks
    chris

    This is supported from PI 7.1 onwards.
    VJ

  • Developing, Deploying, Managing Web Services with Oracle9i

    HOWTO: The "Hello, World!" Sample Project
    Follow these steps to create, compile, and run a simple Java program in JDeveloper:
    1.Create a project. Choose File | New Empty Project. A new project node, with a name resembling
    MyProject1.jpr will appear in the Navigation pane.
    2.Create a Java file. Make sure your project node is selected, and choose File | New. The Object Gallery opens.
    Select the Objects tab and double-click the Class icon. In the Class Wizard dialog that opens:
    1.Replace the default class name with "HelloWorld".
    2.Click OK.
    A new file node, named HelloWorld.java will appear under your project node.
    3.Edit the file. Double-click the file node to open the file. Edit the file, adding this method to the definition of the
    HelloWorld class.
    public static void main(String[] args) {
    System.out.println("Hello, World!");
    4.Build the project. Choose Project | MakeProject. A message will appear, reporting success or failure, in the
    Status line at the bottom of the JDeveloper window. If there are errors they will be listed in the Message View
    pane, under the Compiler tab.
    5.Run the project. When the project has been successfully built, Choose Run | Run. Your message will be printed in
    the Message View pane, under the HelloWorld tab.
    null

    That seems to be it. Thanks a lot. I guess it was simply a confusion of terminology. They call the material "Web Services" in the white paper (like the rest of the world), and "Dynamic Services" everywhere else. Thanks again.

  • Calling j2ee web service with portal user

    Hello,
    I created web service using Nwds Ejb.
    I want to run this web service from sap portal iview and to receive the same user Id that logon to the portal , on the web service side.
    In the j2ee Ejb code I am using :
    try{
      String username = myContext.getCallerPrincipal().getName();
    IUser user =
    UMFactory.getUserFactory().getUserByUniqueName(username);
    return user.getUniqueName;       
    } catch(UMException e) {
    return e.getMessage();                
    But the result is  always Guest ?
    even if I selected use sap authentication on the wsdl descriptor.
    Need some help solving this issue?
    Thanks in advance
    Nir

    Hi,
    And Could we know how you manage this?
    I'm also interested in resolving this kind of issue.
    Edited by: Xavier Tendron on Oct 19, 2009 3:23 PM

  • Compilation Error while trying to Deploy my Web Service

    My main problem right now is that I can build my classes without error but when it is time to deploy the web service with Jdeveloper I am getting a compilation error without to get info about what is the error itself:
    Started application : RTAService-RTAService-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application RTAService-RTAService-WS to site default-web-site under context root RTAService-RTAService-context-root
    Operation failed with error:
    Error compiling :C:\Stephane\Jdeveloper\jdevstudio10131\j2ee\home\applications\RTAService-RTAService-WS\WebServices: compilation error occurred
    I don’t know where to look at for this issue. I don't get information about what compilation error it is.
    I am using the embedded oc4J application server coming with Jdeveloper Studio Edition 10.1.3.1.0_NT_0610009.1404.3984.
    I was able with the same configuration to deploy a very simple Web Service you have in your tutorials named GetDates
    This is the Class I try to deploy has a web service:
    package rtaservice;
    import javax.jws.WebService;
    @WebService(serviceName = "RTAWebService")
    public class RTAWebService {
    public RTAWebService() {
    public TransactionResult Process(Transaction Trans) {
    TransactionResult TransResult;
    TransResult = new TransactionResult();
    TransResult.Account_type ="";
    TransResult.Address_Line1 ="";
    TransResult.Amount ="";
    TransResult.Approval_Cd ="";
    TransResult.Approval_Cd_returned ="";
    TransResult.Approved ="";
    TransResult.Avs_Response_C ="";
    TransResult.Avs_Response_M ="";
    TransResult.BCFerries_Error_description ="";
    TransResult.BCFerries_Processing_Mode =true;
    TransResult.BCFerries_Resp_Code ="";
    TransResult.BCFerries_Trans_approved =true;
    TransResult.CardType ="";
    TransResult.CVV_Code ="";
    TransResult.CVV_response ="";
    TransResult.DateTime ="";
    TransResult.Display_Msg ="";
    TransResult.ExtendedOPId ="";
    TransResult.ID_Seq_Number ="";
    TransResult.Invoice_num ="";
    TransResult.Invoice_num_returned ="";
    TransResult.ISOResponseCode ="";
    TransResult.OperatorID ="";
    TransResult.OperatorLanguage ="";
    TransResult.OperatorMessage ="";
    TransResult.Receipt_Msg ="";
    TransResult.Receipt_Msg_Account ="";
    TransResult.ReceiptRefNum ="";
    TransResult.Response_Code ="";
    TransResult.RFU1 ="";
    TransResult.RFU2 ="";
    TransResult.Statement_Desc ="";
    TransResult.Term_ID ="";
    TransResult.Term_ID_Group ="";
    TransResult.Track2_Acc ="";
    TransResult.Trans_Code ="";
    TransResult.Transaction_Handle ="";
    TransResult.TransactionCounter ="";
    TransResult.TransactionHandle ="";
    TransResult.Zip ="";
    TransResult.Account_type_returned ="";
    return TransResult;
    There are 2 others classes to define the objects Transaction and Transaction Result
    package rtaservice;
    public class Transaction {
    public Transaction() {
    // Eigen parameters
    public String Invoice_num; // format AA XXXXXXXX with AA application name and XXXXXXXX unique invoice num
    public String Term_ID; // should be the merchant ID
    public String Term_ID_Group; // not used
    public String Trans_Code; // should be all the time 27 right now
    public String Track2_Acc; // ! there is a specific format to respect here
    // Track2_Acc contains the data as read by a card reader from track 2 starting by ;
    // for manually entered card the format is M<Credit card number>=<Expiry Date(YYMM)>0?
    public String Amount; // in Cents
    public String Approval_Cd;
    public String DateTime; // format is YYYYMMDDHHMMSS
    public String OperatorID; // Optional
    public String ExtendedOPId; // Optional
    public String OperatorLanguage; // Optional
    public String Account_type; // not use for now
    public String Statement_Desc; // not use for now
    public String CVV_Code;
    public String Address_Line1; // Optional
    public String Zip; // Optional
    public String TransactionHandle; // Optional
    // additional parameters for future use
    public String RFU1; // Reserved for future use
    public String RFU2; // Reserved for future use
    package rtaservice;
    public class TransactionResult extends Transaction {
    public TransactionResult() {
    public String BCFerries_Resp_Code;
    public String BCFerries_Error_description;
    public Boolean BCFerries_Trans_approved;
    public Boolean BCFerries_Processing_Mode;
    // Eigen parameters
    public String ID_Seq_Number;
    public String Display_Msg; // Optional
    public String Receipt_Msg; // Optional
    public String Response_Code;
    public String Approval_Cd_returned; // Optional
    public String ISOResponseCode;
    public String ReceiptRefNum;
    public String TransactionCounter;
    public String Approved;
    public String OperatorMessage;
    public String Receipt_Msg_Action; // Optional
    public String Receipt_Msg_Account;
    public String CardType;
    public String Invoice_num_returned; // Optional
    public String Account_type_returned;
    public String CVV_response;
    public String Avs_Response_C;
    public String Avs_Response_M;
    public String Transaction_Handle; // Optional
    Thanks for your time

    Hi mythri.
    Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
    Thanks in advance.
    Renan

  • Urgent: Is it possible to deploy a web service EAR/JAR to a container other than WebLogic?

    Hi,
    Is it possible to deploy an EAR/JAR created using JwsCompile to any J2EE container?
    Ideally, I would like to make use of the features that are only provided by WebLogic
    Workshop, like State Management, Callbacks too. If possible, what are the steps
    involved?
    There is an example for interoperability included in the samples that demonstrates
    the use of a WebLogic Workshop web service from an ASP.NET web service, participating
    in a conversation and accepting a callback. Is it possible to do the same using
    a normal C# windows or webforms app instead of using an ASP.NET web service? So,
    I would like to access the WebLogic workshop generated web service with state
    management and callbacks from a C# windows app.
    Thanks in anticipation,
    August

    [att1.html]

  • Deploy SOAP Web Service (generated with JDev) in JBOSS

    Hi all,
    I generated a very simple SOAP-Service with the JDeveloper 10.1.3 Release.
    The service runs very well in the oc4j. But If I try to deploy it with JBOSS 4.0.3 I get manny errors starting with the following:
    16:13:39,421 INFO [TomcatDeployer] deploy, ctxPath=/WebServices, warUrl=.../tmp/deploy/tmp644SOAPServiceTest01-SOAPService-WS.jar-contents/WebServices-exp.war/ 16:13:39,531 ERROR [Digester] End event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    16:13:39,531 ERROR [ContextConfig] Parse error in application web.xml
    java.lang.IllegalArgumentException:
    Invalid <url-pattern> GEOEngineServiceSoap12HttpPort in servlet mapping
    at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2719)
    my web.xml:
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <servlet>
    <description>Web Service GEOEngineServiceSoap12HttpPort</description>
    <display-name>Web Service GEOEngineServiceSoap12HttpPort</display-name>
    <servlet-name>GEOEngineServiceSoap12HttpPort</servlet-name>
    <servlet-class>soap.service.connection.ServicePortal</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>GEOEngineServiceSoap12HttpPort</servlet-name>
    <url-pattern>GEOEngineServiceSoap12HttpPort</url-pattern>
    </servlet-mapping>
    </web-app>
    I deployed it with the auto-generated deployment-profile and I changed nothing.
    Please, can someone help me?
    greetings
    Florian
    Message was edited by:
    FlorianTT

    Hello,
    is there someone out there who has experience with deploying JDeveloper SOAP Services with JBOSS?
    I get one error after an other.
    Here is just the next one:
    2006-02-24 10:43:21,671 DEBUG [org.apache.catalina.loader.WebappClassLoader] Loading class from local repository
    2006-02-24 10:43:21,671 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[Engine]] Marking servlet testport as unavailable
    2006-02-24 10:43:21,671 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[Engine]] Servlet /Engine threw load() exception
    java.lang.ClassCastException: soap.service.connection.ServicePortal
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    The class soap.service.connection.ServicePortal is my Java RMI ServiceEndPoint (mapped name: Engine) with only one invoceable method and no class casts in it.
    Hope that this monolog will get to an end and someone can help me.
    best regards
    Florian

  • 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

  • Learning Web Services with J2EE

    Hi:
    I've been developing in J2EE for 3 years now, using Servlets/JSP/Tag Libraries etc.... I want to find a good source (book) that teaches you web services with J2EE, does anyone recommend any good starters to advance books for Web Services.
    Thank you
    Goce

    Have you looked at the J2EE 1.4 Tutorial?
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
    It includes chapters on developing both Web applications and enteprise beans as Web service endpoints.
    -Ian Evans

  • Help Needed compile, deploy Web Service with Annotations on Web Logic 9.2

    Hi,
    I am new web logic and need some help in compiling, creating deployment file i.e. war, ear on Web Logic 9.2. I have the following sample web service with annotations code code but need help in compiling, creating deployment file (war,ear), creating proxy for testing etc. How to compile and create deployment files in WebLogic 9.2. Any help is really appreciated.
    package sample_ws;
    import java.rmi.RemoteException;
    import javax.jws.*;
    import javax.jws.soap.SOAPBinding;
    import org.w3c.dom.Document;
    @WebService
    @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL,
                 parameterStyle = SOAPBinding.ParameterStyle.BARE)
    public class EchoService {
        public EchoService() {
        @WebMethod(action="echo")
        @WebResult(targetNamespace="http://exa.org", name="echoResult")
        public Document echo(@WebParam(targetNamespace = "http://exa.org",
                                       name = "echoMsg")
            Document doc) throws RemoteException{
            return doc;
    }Thanks

    I am using Oracle Jdeveloper as an IDE and created a war file and deployed on Oracle App. Server it works fine. Now if I deploy the same war on Web Logic it gives me the following error:
    java.lang.IllegalStateException: could not find schema type named {{http}//exa.org}>>echoResult
    Errors were encountered while performing this operation. Here is the code I have:
    package webservice2 ;
    import java.rmi.RemoteException;
    import javax.jws.*;
    import javax.jws.soap.SOAPBinding;
    import org.w3c.dom.Document;
    @WebService
    @SOAPBinding(style = SOAPBinding.Style.DOCUMENT,
                 use = SOAPBinding.Use.LITERAL,
                 parameterStyle = SOAPBinding.ParameterStyle.BARE)
    public class EchoService {
        public EchoService() {
        @WebMethod(action="echo")
        @WebResult(targetNamespace="http://exa.org", name="echoResult")
        public Document echo(@WebParam(targetNamespace = "http://exa.org",
                                       name = "echoMsg")
            Document doc) throws RemoteException{
            return doc;
    }And here is the wsdl file I have:
    <definitions
         name="EchoServiceService"
         targetNamespace="http://webservice2/"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:tns="http://webservice2/"
         xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
         xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
         xmlns:ns1="http://exa.org"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        >
        <types>
            <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://exa.org" elementFormDefault="qualified"
                 xmlns:tns="http://exa.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
                <element name="echoMsg" nillable="true">
                    <complexType>
                        <sequence>
                            <any/>
                        </sequence>
                    </complexType>
                </element>
                <element name="echoResult" nillable="true">
                    <complexType>
                        <sequence>
                            <any/>
                        </sequence>
                    </complexType>
                </element>
            </schema>
        </types>
        <message name="EchoServicePortType_echo">
            <part name="echoMsg" element="ns1:echoMsg"/>
        </message>
        <message name="EchoServicePortType_echoResponse">
            <part name="echoResult" element="ns1:echoResult"/>
        </message>
        <portType name="EchoService">
            <operation name="echo">
                <input message="tns:EchoServicePortType_echo"/>
                <output message="tns:EchoServicePortType_echoResponse"/>
            </operation>
        </portType>
        <binding name="EchoServiceSoapHttp" type="tns:EchoService">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="echo">
                <soap:operation soapAction="echo"/>
                <input>
                    <soap:body use="literal" parts="echoMsg"/>
                </input>
                <output>
                    <soap:body use="literal" parts="echoResult"/>
                </output>
            </operation>
        </binding>
        <service name="EchoServiceService">
            <port name="EchoServiceSoapHttpPort" binding="tns:EchoServiceSoapHttp">
                <soap:address location="http://localhost:8888/EnableSrc-WebService2-context-root/EchoServiceSoapHttpPort"/>
            </port>
        </service>
    </definitions>Any ideas what might be wrong.

  • Deploy a J2EE Web Services App in CE 7.1 SP1 SDN Preview

    Hi,
    I am new to SAP CE 7.1 SP1 (SDN Preview). I have a SAP J2EE (web services) application developed for SAP Netweaver 7.0.
    How to deply the application in CE 7.1 SP1.
    thanks in advance,
    Nagarjuna.

    Hi Nagarjuna,
    the easiest way will be to use the Deployment perspective in NWDS. Just choose Window > Open Perspective > Other > Deployment.
    If you have the application packages in a deployable archive (EAR, SCA, SDA, ...) in the file system, right-click External Deployable Archive and select Add. You can also choose archives to be deployed from the workspace.
    If your application cannot be deployed or doesn't run properly, you might have to make some changes to it in order to port it from NW 7.0 to 71.
    Other methods of deployment:
    - There's a program called JSPM which is aimed primarily at non-development, admin users (the guys running the production system).
    - There's a command-line deployment tool - have a look at <Install drive>\usr\sap\CE1\J00\j2ee\deployment\scripts.
    Cheers,
    Thorsten

  • Deploying ADF BC as J2EE Web Service

    I am attempting to deploy some ADF BC components (just the data model) as a J2EE web service. In the Application Module Editor I have selected the "Remoteable Application Module" and selected the "J2EE Web Service" option. Some of my public methods that I have exposed on the Client Interface (which return primitive types or serializable complex types) of the AM are placed into the WSDL of the web service. I would like to return a representation of one of the View objects and understand since the view itself is not a serializable type, I cannot return this directly. I created a public method on the Application Module that returns a RowSet (which I grabbed from the view) and it allows me to put that method on the Client interface but it does not show up in my web service. Is there anyway to directly return a representation of the view without manually retrieving the data and placing it in a custom class/bean that I return and then have to turn back into a view on the calling side?
    Thanks for any help

    Hi,
    exposing a VO as a WebService will come a s a feature in JDeveloper 11. Until then you can only expose methods
    Frank

  • Error While Deploying A Web Service

    Hello All,
    I am trying to deploy a Web Service however when I am doing so I keeping getting this exception any idea what could be wrong:
    5056bf5661#SAPEngine_Application_Thread[impl:3]_130##0#0#Error#1#/System/Server#Java#deploy_5029##Exception in operation update with application sap.com/reg~equip.#2#update#sap.com/reg~equip#
    #1.5#005056BF5661006E000009A100000F5000043492CC869AC9#1183705008343#com.sap.engine.services.deploy##com.sap.engine.services.deploy#J2EE_ADMIN#93423####0d48d6a02b8e11dcba6b005056bf5661#SAPEngine_Application_Thread[impl:3]_130##0#0#Error#1#/System/Audit#Java###Exception {0}#1#com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception in operation update with application sap.com/reg~equip.
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.rollbackPart(ApplicationTransaction.java:394)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:294)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3155)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:667)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:309)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:194)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Cannot deploy application sap.com/reg~equip.
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:328)
         at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         ... 13 more
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application sap.com/reg~equip. . Additional info: none
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
         at com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate(WSDeployer.java:274)
         at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:319)
         ... 15 more
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The reason is: Error occurred, trying to generate web services deployment files for application sap.com/reg~equip. . The error refers to application: none, jar: {2}, web service: {3}.
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
         ... 21 more
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, parsing com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application sap.com/reg~equip, web service EmmServiceWS, location message: type: jar file, location: D:\\usr\\sap\\ERP\\DVEBMGS10\\j2ee\\cluster\\server0\\.\\temp\\deploy\\work\\deploying\\reader1183705000828\\sap.com~reg~equip~ejbmodule.jar . . Additional info: {1}
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
         ... 23 more
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to parse source type: zip entry, zip file location: D:\\usr\\sap\\ERP\\DVEBMGS10\\j2ee\\cluster\\server0\\.\\temp\\deploy\\work\\deploying\\reader1183705000828\\sap.com~reg~equip~ejbmodule.jar, entry: com/sap/reg/equip/appsrv/emmservice/EmmServiceWSVi.videf . Additional info: {1}
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:925)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:817)
         ... 26 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML Node [VirtualInterface.Functions][http://xml.sap.com/2002/10/metamodel/vi] have minOccurs>0 in schema definition but is missing in node [VirtualInterface][http://xml.sap.com/2002/10/metamodel/vi].
         at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType._loadInto(GeneratedComplexType.java:1197)
         at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:945)
         at com.sap.engine.services.webservices.server.deploy.descriptors.vi.VInterfaceParser.getVInterface(VInterfaceParser.java:46)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:920)
         ... 27 more

    Hi,
    Could not diagonise from this stack trace alone. But what doubt is that there is something wrong with cardinality in your web service. Otherwise something may have gone wrong like you mishandling a list or some mismatch like that.
    Regards,
    Srinivasan Subbiah

  • JAX-RPC vs OC4J J2Ee web service

    Hi,
    Currently we use Oracle10G 10.0.3 developer preview edition. we deployed same web service on both JAX-RPC platfrom and OC4J J2EE web service platfrom (RPC encoding style). We found that old platform seems to perform better than JAx-RPC platfrom with regard to serialization and de-serialzation. We also did the test on Doc/literal style in JAX-RPC platfrom and its performance is not as good as the one deployed on old platform. We understand JAX-RPC is new implementation and Oracle10.0.3 is under developer preview edition and so it may not be optimized. We have following questions
    1. Is this a known issue in JAX-RPC platform?
    2. Is there anyway to optimize JAX-RPC web service? Like using different XMl parser (instead of Oracle XML parser)
    3. When is the final release of 10.0.3 expected?
    4. Will Oracle be supporting old web service platfrom (OC4J J2EE web service platform)? If so how long?
    Thanks and regards
    __Hari

    Hi,
    Currently we use Oracle10G 10.0.3 developer preview edition. we deployed same web service on both JAX-RPC platfrom and OC4J J2EE web service platfrom (RPC encoding style). We found that old platform seems to perform better than JAx-RPC platfrom with regard to serialization and de-serialzation. We also did the test on Doc/literal style in JAX-RPC platfrom and its performance is not as good as the one deployed on old platform. We understand JAX-RPC is new implementation and Oracle10.0.3 is under developer preview edition and so it may not be optimized. We have following questions
    1. Is this a known issue in JAX-RPC platform?
    2. Is there anyway to optimize JAX-RPC web service? Like using different XMl parser (instead of Oracle XML parser)
    3. When is the final release of 10.0.3 expected?
    4. Will Oracle be supporting old web service platfrom (OC4J J2EE web service platform)? If so how long?
    Thanks and regards
    __Hari

Maybe you are looking for