JAX-RPC: restrictions on service exception field types?

When I define a service-specific exception type that has String fields only, it works fine. But if the exception class has an int field, xrpcc complains. It also fails if I change the field to Integer.
Since JAX-RPC supports both int and Integer as operation argument and return types, I expected exceptions to be able to use these types as well. Are there restrictions on exception fields types?
Here is the class with the int fields and the xrpcc errors it generates:
public class InvalidRecordingIdException extends Exception {
     private int id;
     public InvalidRecordingIdException() {
          super();
     public InvalidRecordingIdException(int id) {
          this.id = id;
     public int getId() {
          return id;
xrpcc-server:
     [echo] Running xrpcc for the server:
     [exec] rain\RainOrder_orderRecording_Fault_SOAPSerializer.java:69:
       Method serialize(int, javax.xml.namespace.QName,
       null, com.sun.xml.rpc.streaming.XMLWriter,
       com.sun.xml.rpc.encoding.SOAPSerializationContext)
       not found in interface com.sun.xml.rpc.encoding.CombinedSerializer.
     [exec] myns2__int__int_Int_Serializer_Serializer.serialize(((
       rain.InvalidRecordingIdException)detail).getId(),
       ns1_InvalidRecordingIdException_QNAME, null, writer, context);
     [exec]                                                                ^
     [exec] rain\RainOrder_orderRecording_Fault_SOAPBuilder.java:32:
     Invalid cast from java.lang.Object to int.
     [exec] instance.setDetail(new rain.InvalidRecordingIdException((int)detail));
     [exec]                                                                         ^
     [exec] 2 errors
     ...Here's the error for the Integer field in an exception:
xrpcc-server:
     [echo] Running xrpcc for the server:
     [exec] error: generator error: generator error: java.lang.ClassCastException:
     com.sun.xml.rpc.processor.model.soap.SOAPSimpleType
     [exec] 1 error

You have run into a bug that will be fixed in the next release of the JWSDP dealing with Exceptions with only one member that is a primitive type. However, changing that member to a boxed (Integer) representation should work, what version of JAXRPC are you using? As a work around you should be able to eliminate the problem by adding one more member to the Exception using a different type.
Thank you for your interest in JAXRPC

Similar Messages

  • JAX-RPC Java Web Services

    In the tutorial
    Access J2EE 1.4 JAX-RPC Java Web Services from Web Clients
    http://www.oracle.com/technology/products/jdev/101/howtos/jaxrpc/java14_ws_web_clients.html#creating_web_service
    A MyWebService1SEI.java interface is also required to be added to generate a JAX-RPC Web service.

    The MyWebService1SEI.java interface does not get generated as indicated in the tutorial.
    If the Web service is generated with
    File>New>Business Tier>Java Web Service with the
    Autogenerate Service Endpoint Interface checkbox selected,
    the MyWebService1SEI.java interface does not get generated.
    The Autogenerate Service Endpoint Interface feature does not autogenerate java interface.

  • Publish a JAX-RPC Java Web Service - HELP

    Hi,
    I try to generate a JAX-RPC web services as described in the tutorial : http://www.oracle.com/technology/tech/webservices/htdocs/series/jaxrpc1/index.html. but when generating the web services I have an exception : an unexpected error was encountered. Generation aborted. and when I click details I have the following message :
    java.io.FileNotFoundException: C:\jdev10g\jdev\mywork\WS2-TestOracle\Project1\src\__temp_assembler\public_html\WEB-INF\wsdl\MyWebService3.wsdl (Le chemin d'accès spécifié est introuvable)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:481)
         at oracle.ide.net.URLFileSystemHelperDecorator.openInputStream(URLFileSystemHelperDecorator.java:242)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1028)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.populateWSDLWithEndpoint(JAXRPCGenerator.java:2153)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateServiceImpl(JAXRPCGenerator.java:896)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateService(JAXRPCGenerator.java:241)
         at oracle.jdeveloper.webservices.JAXRPCSvcModel.saveEdit(JAXRPCSvcModel.java:1613)
         at oracle.jdevimpl.webservices.wizard.WebServicePublishWizard.runWizard(WebServicePublishWizard.java:504)
         at oracle.jdevimpl.webservices.wizard.WebServicePublish.invoke(WebServicePublish.java:95)
         at oracle.ide.WizardManager.invokeWizard(WizardManager.java:484)
         at oracle.ide.WizardManager$1.run(WizardManager.java:538)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Can any one help,
    Thanks,

    The MyWebService1SEI.java interface does not get generated as indicated in the tutorial.
    If the Web service is generated with
    File>New>Business Tier>Java Web Service with the
    Autogenerate Service Endpoint Interface checkbox selected,
    the MyWebService1SEI.java interface does not get generated.
    The Autogenerate Service Endpoint Interface feature does not autogenerate java interface.

  • Use JAX-RPC or SAAJ service?

    As far as I know we can set up web service with JAX-PRC or SAAJ.
    It seems that SAAJ is simpler than JAX-RPC for me, because it don't need to use WSDL.
    Is there any difference between them? How to choose between them?
    Please help!
    Thanks in advance!

    Hi,
    You should choose SAAJ in the case where the client has absolute knowledge of the SOAP messages that the web service receives and sends, and there is no reason for it to parse a WSDL in order to discover the web service's specification.
    You should choose JAX-RPC in the case where the client knows nothing about the web service at runtime, and it needs to dynamically construct the call to it.
    As far as complexity is concerned, i believe that JAX-RPC is much simpler than SAAJ, because it gives the programmer a simple API that wraps everything concerning the SOAP messages and their complexity. The programmer does not have to manually construct or parse the SOAP message. Instead, he just makes a rpc with the appropriate parameter values.
    I hope i helped
    Regards

  • Invoking a jax-rpc based web service from a jsp

    hello
    i'm trying to invoke a WS from a jsp page, working on tomcat + jwsdp
    the ws i'd created and deployed on the server is named TestCNRPS, it contains the method: int exist(int ..)
    i wrote this jsp page for testing :
    <%@ page contentType="text/html;charset=windows-1252" import="cnrps.*" %>
    <HTML>
    <HEAD>
    <TITLE>Appel service Web</TITLE>
    </HEAD>
    <BODY>
    <%
    int num_cin=45475645;
    TestCNRPSIF_Stub stub = (TestCNRPSIF_Stub)(new TestCNRPSService_Impl().getTestCNRPSIFPort());
    stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,System.getProperty("endpoint"));
    out.println(stub.exist(num_cin));
    %>
    </BODY>
    </HTML>
    but i received this exception:
    java.rmi.RemoteException: Erreur de transport HTTP : java.lang.NullPointerException; nested exception is:
    Erreur de transport HTTP : java.lang.NullPointerException
    cnrps.TestCNRPSIF_Stub.exist(TestCNRPSIF_Stub.java:87)
    org.apache.jsp.invoqueWS_jsp._jspService(invoqueWS_jsp.java:58)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:268)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:258)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:205)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    Has someone an idea ??
    thx
    ps : i tested the WS from a client class and it worked fine

    Hi Paul,
    This sound familiar, but I cannot at the moment locate a reference to
    the issue. I would encourage you to seek the help of our super support
    team [1].
    Regards,
    Bruce
    [1]
    http://support.bea.com
    [email protected]
    Paul Merrigan wrote:
    >
    I'm trying to invoke a secure 8.1 web service from a 6.1 client application and keep getting rejected with the following message:
    Security Violation: User: '<anonymous>' has insufficient permission to access EJB:
    In the 6.1 client, I've established a WebServiceProxy and set the userName and password to the proper values, but I can't seem to get past the security.
    If there something special I need to do on either the 8.1 securing side or on the 6.1 accessing side to make this work?
    Any help would be GREATLY appreciated.

  • J2EE Web services and JAX-RPC

    Hello..
    While working with J2EE web services using JDeveloper and OC4J, I noticed that it really doesn't confirm to Sun's JAX-RPC standard. The Web Service interface class does not extend the "Remote" and all methods don't throw "RemoteException" as mandated by JAX-RPC standard.
    I have few questions:
    (1) Are the OC4J J2EE web services completey different from JAX-RPC based web services.??
    (2) Does Oracle have any implementation of JAX-RPC??
    (3) Is Sun the only one promoting and implementing the JAX-RPC standard? Or are there other players?
    thanks...

    (1) Are the OC4J J2EE web services completey different from JAX-RPC based web services.??
    OC4J J2EE Web Services originate from Oracle/Apache SOAP with several differences:
    a. A model where each type of implementation gets a specific servlet (e.g. one for EJB's, one for PL/SQL, one for stateless and stateful Java classes. Architecturally, you can see the picture here:
    http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/b10004/orawebservices.htm#1024808
    (scroll down a half page for the picture)
    b. The packaging of the Web services rather than using the Apache SOAP registration mechanism uses something closer to JSR 109 (also known as Web Services for J2EE, part of J2EE 1.4 with JAX-RPC, SAAJ [SOAP API forAttachments in Java] and JAXP [Java API for XML Parsing]), where the Web service is packaged as an ordinary ear file for deployment.
    Oracle built this implementation by extrapolating from the JAX-RPC documentation that was available last year before it was a final specification in an effort to release a production quality Web services implementation that was aligned with JAX-RPC. It has been through two releases - Oracle9iAS 9.02 and Oracle9iAS 9.0.3 and is now being evolved to JAX-RPC as we move to J2EE 1.4.
    (2) Does Oracle have any implementation of JAX-RPC??
    We are planning to release a JAX-RPC implementation in the new year (I don't have specific dates yet) on OC4J. The production implementation of this will be as seamless a migration as possible from the existing implementation. Oracle9i JDeveloper will also add support for JAX-RPC as a 3rd option in its list of choices available. You can get a sense of how such a migration would work by running the Web services wizard in JDev for Apache SOAP and then, in a separate project, running it for Oracle9iAS J2EE Web Services - imagine there being another option for JAX-RPC. The work to migrate should be as simple as running a wizard or command line utility (known as the Web Services Assembler tool in Oracle9iAS).
    (3) Is Sun the only one promoting and implementing the JAX-RPC standard? Or are there other players?
    Pretty much every one in the Java side of industry will be implementing JAX-RPC. The important time to note is when J2EE 1.4 is released ... sometime in the new year ... I believe around March but may be mistaken. Part of J2EE 1.4 is required support for JAX-RPC, SAAJ, Web Services for J2EE etc etc. This will standardize the implementation of Web services. Oracle, like others in the industry, supports the standard protocols, (SOAP), interfaces (WSDL) and registries (UDDI) - what J2EE 1.4 does is standardize the packaging, deployment and implementation (the wrappers generated by the tooling).
    My guess is that around JavaOne (June 2003) there will be a rash of announcements from J2EE vendors announcing support of JAX-RPC and J2EE 1.4 (or early implementations) as we will be in the same race that happened in 2001/2002 when J2EE 1.3 was the spec to announce implementations around.
    Mike.

  • How to run a JAX-RPC web service

    I wrote the essential interface and classes to build a JAX-RPC web service, and I installed the J2SE 1.4.2 and Java Web Services Developer Pack 1.2 in Windows XP.
    I have read the Java Web Services Tutorial, but is so confusing for me.
    Anyone can provide the steps about the environment config, compile, package, and run the web service in Tomcat? thx

    I wrote these interface and class to create a simple web service:
    package test;
    import java.rmi.*;
    public interface HelloIF extends Remote {
    String sayHello(String s) throws RemoteException;
    package test;
    public class HelloImpl implements HelloIF {
    public String sayHello(String s) {
    return message + " " + s;
    I compiled these 2 and the *.class files exist in D:\backup\JAVA\fyp\test
    and then I wrote the config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service name="MyHelloService" targetNamespace="urn:Foo" typeNamespace="urn:Foo" packageName="test">
    <interface name="test.HelloIF" />
    </service>
    </configuration>
    I placed the config.xml in D:\backup\JAVA\fyp, then I type the following command:
    D:\backup\JAVA\fyp>wscompile -define config.xml -model model.gz
    the system response is:
    error: RmiModeler error: java.lang.ClassNotFoundException: test$HelloIF
    what's wrong?

  • JAX-RPC documentliteral with -model option problems in JWSDP 2.0

    Hello,
    I am trying to deploy a service generated with JAX-RPC. Howeverr when I write URL (http://localhost:8080/webservicedeployable/webservice001) in a browser I am getting message: 404 Not Found: Invalid request. Appending ?WSDL shows propers wsdl code, so endpoint URL is allright.. There is my config file delow:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
      <service name="webservice001"
               targetNamespace="http://scdjws/webservices/wsdl"
               typeNamespace="http://scdjws/webservices/types"
               packageName="com.service001">
        <interface name="service.MyServicePort" servantName="service.MyServiceImpl"/>     
      </service> 
    </configuration>I am using command:
    wscompile -gen:server -f:documentliteral -s "C:\Documents and Settings\Michal\jbproject\mojservice\src\" -classpath WEB-INF/classes -d build -model webservice001.xml.gz config.xml -keepmy jaxrpc-ri.xml is:
    <?xml version="1.0" encoding="utf-8"?>
    <webServices xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
                 version="1.0"
                 targetNamespaceBase="http://java.sun.com/xml/ns/jax-rpc/wsi/wsdl"
                 typeNamespaceBase="http://java.sun.com/xml/ns/jax-rpc/wsi/types"
                 urlPatternBase="/ws">
      <endpoint name="service001"
                displayName="Service 001"
                description="This is service001"
                interface="service.MyServicePort"
                implementation="service.MyServiceImpl"
                model="/webservice001.xml.gz"/>
      <endpointMapping endpointName="service001"
                       urlPattern="/webservice001"/>
    </webServices>I am using Tomcat 5.5.16 and JWSDP 2.0.
    Making a call to the service throws exception:
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/webservicedeployable/webservice001
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:791)
    Thank you in advance for all suggestion.
    Michal

    Hi,
    I reselved the problem by just copying the FastInfoset to the jaxrpc\lib directory (I am sure this should work in a different way).
    Well, the next problem I am getting is that the "XMLStreamWriter" class cannot be found. This class is contained in jsr173_api.jar.
    I guess my main question is the following:
    Which projects are necessary to get this simple helloWorld example to work?
    I did set the JWSDP_HOME varible. Is there another setting I have to make to have all necessary jar-files available and to be able to run the samples?
    Could anybody point me to a tutorial that does not only show a few lines of code (as the HelloWorld sample in the JWSDP-Tutorial) but that would instead lead me through a step-by-step sample application that I write by myself and actually runs at the end? The example in the JWSDP-Tutorial uses all kinds of existing config files which are not explained.
    Thanks for your help.

  • JAX-RPC screen does not appear when generating a WS proxy

    I'm using JDev 11.1.1.2. When I tried to generate a Web Service proxy, this screen does NOT appear most of the time. I only saw it appear one time. Do you know why?
    It's step 2 of the wizard.
    Client Style
    + JAX-RPC Web Logic Style
    + JAX-WS Style

    Whenever one tries to generate web service proxies for the first time, JDeveloper allows the user to choose the client style (JAX-RPC Web Logic Style OR JAX-WS Style).
    Once the option is selected, JDeveloper automatically adds the dependent jars in the classpath. When one tries to generate the proxies a second time,
    JDeveloper does not provide an option to select the client type. It defaults to the one which was selected for the first time.
    I was able to overcome the problem using the following approach.
    1. For JAX-RPC client style:
    Right Click the Model (or ViewController) project -> Project Properties -> Libraries and Classpath ->
    Add Library -> select JAX-RPC Web Logic Client, JAX-RPC 11 Web Services
    Remove JAX-WS Web Services library (if present)
    2. For JAX-WS client style:
    Right Click the Model (or ViewController) project -> Project Properties -> Libraries and Classpath ->
    Add Library -> JAX-WS Web Services
    Remove JAX-RPC related libraries (if present)
    I am using Jdeveloper Version 11.1.1.4.0
    - Pranab Garad

  • JDeveloper JAX-RPC vs AXIS

    Hi everybody,
    I find that working with Axis and it's tools (wsdl2java) is easier than working with Oracle's SOAP implementation(webservicesassembler.jar).
    One advantadge of using oracle's solution is that ws that
    returns an Element type does not need a custom deserializer and Axis needs.
    Which more advantages do you think oracle's solution has?
    Why should we use jDev10's JAX/RPC web services?
    Thank you.

    Hello
    The first thing is you should really say "JAX-RPC vs AXIS", since both of them are Web Services Runtime/Development APIs. And Jdeveloper is just a tools that simnplifies the development and developmen of Web Services using JAX-RPC.
    So what about JAX-RPC vs Axis?
    I would say that Axis is/was a de-facto standard fro developing WS, since it is running in most of the application servers - OracleAS 10g included-. Where JAX-RPC is the standard defines by the Java Community Process (JCP) and is a mandatory features of J2EE 1.4 specifications. So by using JAX-RPC you will be able to use a set of API that are really standard based. Also as part of your decision you should take a look in more details about the services provided by JAX-RPC: http://java.sun.com/xml/jaxrpc/index.jsp and the different standards involved.
    Also I think that one important thing to take in consideration when you will make your decision is the future of Axis as we know it today release 1.0 If you see the Axis 2.0 Web site, it says that:
    "Axis2 is an effort to re-design and totally re-implement both Axis/Java and (eventually) Axis/C++ on a new architecture."
    Other considerations:
    Some of the important things to watch when you select your framework are also related to:
    - how you can interop with other framework (consuming or providing a service that is created with another stack)
    - how to handle attachement (size, types, performances, ..)
    When you will start to use Web Services in your system you may need to add different quality of services for example adding security (authentication, encryption, ...) or reliability (how I can be sure that my response has been received by my client application)
    All the Web Service Management (security, reliability, etc etc) is not currently well integrated in the Axis stack, so you will have to use a third party solution to have this type of features. (you can for example use Oracle Web Services Manager for that purpose)
    All these, and more, are more than just the 'SOAP' stack.
    Oracle, JAX-RPC, and more:
    First of all OC4J 10.1.3 support JAX-RPC as any J2EE 1.4, in addition we support WS-Security, WS-Reliability to integrate them to your enterprise, and a full integration with Oracle Web Services Manager.
    Oracle JAX-RPC implementation has also specific focus to ensure interoperability firs WS-Interoperability compliant -[url=http://www.ws-i.org/]WS-I is an open organization that defines the interoperability around WS.- services, but also based on 'real life validation scenarios' -especially with .Net- where we use our customer applications to validate our platform interoperability.
    Also, on the tooling side, our Web Services stack is fully integrated to Oracle JDevelope that allow you to develop easily JAX-RPC base Web Services (client or provider), based on several type of object/business logic (simple Java class, EJB, PL/SQL, SQL, ...); and deploy them very quickly to your application server
    Regards
    Tugdual Grall

  • EJB 3.0 and JAX-RPC 1.1 Not Working Together

    I've came across a strange behavior when building a JAX-RPC 1.1 service in WebLogic 10 on top of a EJB 3.0 bean:
    Business Interface
    @Remote
    @WebService(targetNamespace="http://coronelado.sf.net")
    public interface AuthenticationBO {
      boolean login(String email, String password) throws AuthenticationBOException;
    Bean
    @Stateless(name="AuthenticationBO")
    @TransactionManagement(BEAN)
    @WLHttpTransport(contextPath="coronelado-service", serviceUri="AuthenticationBOService")
    @WebService(endpointInterface="net.sf.coronelado.business.AuthenticationBO")
    public class AuthenticationBOBean implements AuthenticationBO {
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" version="3.0">
      <enterprise-beans>
        <session>
          <ejb-name>AuthenticationBO</ejb-name>
          <service-endpoint>net.sf.coronelado.business.AuthenticationBO</service-endpoint>
        </session>
      </enterprise-beans>
    </ejb-jar>After I deploy the bean, two web services, not one, are listed in the console: AuthenticationBOService and AuthenticationBOBeanService (a duplicate), and the following error message is printed:
    [JAM] Warning: failed to resolve class net.sf.coronelado.business.AuthenticationBOBeanAm I missing something here?

    http://fernandoribeiro.eti.br/2007/06/27/bug-in-weblogic-10-web-services/

  • ERROR:com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException

    Dear All,
    We have taken a par file from another project and deployed in the J2EE engine using SDM.It was succesfully deployed with out any warnings.I have created an iview also.When we are trying to access that i view i am getting an error as follows:
    500   Internal Server Error
    Web Dynpro Container/SAP J2EE Engine/6.40
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.dictionary.runtime.DdException: Type com.bel.holidaycal.model.types.Zhrt029 does not exist
        at com.sap.dictionary.types.mdi.util.ProviderUtil.createAbapTypeXmlMap(ProviderUtil.java:400)
        at com.sap.dictionary.runtime.mdi.DataProvider.createSimpleTypeFromAbapType(DataProvider.java:586)
        at com.sap.dictionary.runtime.mdi.DataProvider.getDataType(DataProvider.java:286)
        at com.sap.dictionary.runtime.DdDictionary.getDataType(DdDictionary.java:95)
        at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:164)
        ... 51 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type     HTML Client
    User agent     Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Version     null
    DOM version     null
    Client Type     msie6
    Client Type Profile     ie6
    ActiveX     enabled
    Cookies     enabled
    Frames     enabled
    Java Applets     enabled
    JavaScript     enabled
    Tables     enabled
    VB Script     enabled
    Server
    Web Dynpro Runtime     Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Mon Mar 03 21:11:10 GMT+05:30 2008
    J2EE Engine     7.00 patchlevel
    Java VM     Java HotSpot(TM) 64-Bit Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
    Operating system     Windows 2003, version: 5.2, architecture: ia64
    Session & Other
    Session Locale     en
    Time of Failure     Thu Apr 10 14:31:31 GMT+05:30 2008 (Java Time: 1207818091497)
    Web Dynpro Code Generation Infos
    local/WDHolidayCalendar
    SapDictionaryGenerationCore     7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:24:21[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates     (unknown)
    SapGenerationFrameworkCore     7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:12:57[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer     7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:30:00[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon     7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:13:46[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore     7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:13:38[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary     7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:21:59[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro     7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:26:52[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates     7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:45:29[UTC], changelist=413534, host=pwdfm101)
    SapWebDynproGenerationCore     7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:30:11[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates     7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:45:29[UTC], changelist=413534, host=pwdfm101)
    sap.com/tcwddispwda
    No information available     null
    sap.com/tcwdcorecomp
    No information available     null
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type extern:com.bel.holidaycal.model.types.WDModelHolical:com.bel.holidaycal.model.types.Zhrt029 could not be loaded: com.sap.dictionary.runtime.DdException: Type com.bel.holidaycal.model.types.Zhrt029 does not exist
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:305)
         at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:234)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:448)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:386)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:415)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:79)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:121)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:117)
         at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:212)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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.dictionary.runtime.DdException: Type com.bel.holidaycal.model.types.Zhrt029 does not exist
         at com.sap.dictionary.types.mdi.util.ProviderUtil.createAbapTypeXmlMap(ProviderUtil.java:400)
         at com.sap.dictionary.runtime.mdi.DataProvider.createSimpleTypeFromAbapType(DataProvider.java:586)
         at com.sap.dictionary.runtime.mdi.DataProvider.getDataType(DataProvider.java:286)
         at com.sap.dictionary.runtime.DdDictionary.getDataType(DdDictionary.java:95)
         at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:164)
         at com.sap.dictionary.runtime.DdBroker.getStructure(DdBroker.java:180)
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:303)
         ... 49 more
    I have created the JCO connections also ,i am able to test them also.I have imported the same into NWDS and deployed the application , its deploying but the out put is the same error.
    I have cross checked the models and found that the Model is there in the model types.
    Can any one help me regarding this.
    Waiting for the response ASAP.
    Thanks
    Ravi.S

    Hi,
      I think you mean ear file and not par file. Check these threads. The exception is mentioned to be because of JCo problems only.
    Type com.sap.xss.ser.xssmenu.model.types.P_Pernr does not exist
    WDTypeNotFoundException: type model.types.Zbtr_Wbselement could not be load
    WebDynpro using BAPI has an error
    Regards,
    Harini S

  • [Beginner] Help! How to change the packet name for an jax-rpc example

    Hi
    I am new to the JWSDP, I tried to build and deploy the helloservice application (the example in
    tutorial), it works fine. But I want to change the packet name from helloservice to books, it
    returns error message during the building process.
    Here is what I did.
    I changed the folder name from helloservice to books.
    In helloIF.java and helloImp1.java, changed to "package books"
    In build.properties:
    example=books
    war.path=${tut.root}/examples/jaxrpc/books/${dist}/${deployable.war}
    context.path=${hello.context}
    portable.war=${context.path}-portable.war
    deployable.war=${context.path}.war
    In jaxrpc-ri.xml,
    <?xml version="1.0" encoding="UTF-8"?>
    <webServices
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
    version="1.0"
    targetNamespaceBase="urn:foo"
    typeNamespaceBase="urn:foo"
    urlPatternBase="/ws">
    <endpoint
    name="MyHello"
    displayName="HelloWorld Service"
    description="A simple web service"
    interface="books.HelloIF"
    model="/WEB-INF/model.gz"
    implementation="books.HelloImpl"/>
    <endpointMapping
    endpointName="MyHello"
    urlPattern="/hello"/>
    </webServices>
    In config-interface.xml,
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service
    name="MyHelloservice"
    targetNamespace="urn:foo"
    typeNamespace="urn:foo"
    packageName="books">
    <interface name="books.HelloIF"/>
    </service>
    </configuration>
    When I run "ant build", it returns the following error message:
    run-wscompile:
    [echo] Running wscompile:
    [echo] C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wscompile.bat -define -d bui
    ld -nd build -classpath build config-interface.xml -model build/mo
    del.gz
    [exec] error parsing configuration file: XML parsing error: com.sun.xml.rpc
    .sp.ParseException:1: com.sun.xml.rpc.sp/P-067
    [exec] Result: 1
    All I want to do is just change the packet name, anyone know how to do it?
    Please help me.
    Thank you.

    For future reference, please post JAXRPC related questions to [email protected]
    There is something syntatically wrong with your config.xml. Try reverting back to the original, and try that. Then try modifying it again making sure to only change the packageName.

  • JDeveloper reports: The JAX-RPC extension is not installed

    Hi. I'm attempting to publish a JAX-RPC Web Service, following the instructions in the "Publish a JAX-RPC Java Web Service" document from Oracle Magazine (http://www.oracle.com/technology/tech/webservices/htdocs/series/jaxrpc1/index.html). I get all the way to the point of creating the Web Service from the Emp.jpr (step 13). When I select "JAX-RPC Web Services" as my "Deployment Platform" and press "Next" I get a dialog saying "The JAX-RPC extension is not installed. Either install the extension or choose a differrent platform for the service." I have, in fact, installed the JAX-RPC extension (following the instructions at http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jaxrpc/readme.html).
    Does anyone know the cause of this problem? Thanks.

    I"m also getting this message while trying to launch mini bridge on a Mac. I went to the Library folder you noted and the mini bridge extension is not there. I have 4 extensions present: BuzzwordAccessBundle, CSREviewBundle, Knowledge, and STORY. However the PS menu item Window>Extensions, the Extensions is grayed out. Also when I click on the "CS Live" button in the upper right of PS window, nothing happens.
    I havn't used mini bridge much because I use Lightroom for organization, but I know I've used it in the past and it worked, so I can't understand how it would just disappear, and why these other things would stop working.
    How can I reinstall mini bridge and get the CS Live button and extensions working again?
    I'm back. I installed a couple of extensions to see what would happen and the Extensions button was still grayed out. Too shorten the story; it occurred to me to check what mode PS was running in. I had switched it to 32 bit mode so some not yet updated plugins would work. I switched it to 64 bit mode and bingo, everything works now, including mini bridge, though it is still not present in the Library folder you mention.

  • Exception when running a JAX-WS client against a JAX-RPC service

    I have a JAX-WS client invoking a JAX-RPC web service on Weblogic 10.3. The service was originally built for Weblogic 9.2, it's been rebuilt and runs fine on 10.3.
    Some operations work fine, but invoking one operation results in the following exception:
    at secsvc.client.GetRolesForUserInApplicationResponse$JaxbAccessorF_role.get(Unknown Source)
         at com.sun.xml.internal.bind.v2.runtime.reflect.NullSafeAccessor.get(Unknown Source)
         at com.sun.xml.internal.bind.v2.runtime.reflect.Accessor.getUnadapted(Unknown Source)
         at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$7.get(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.ResponseBuilder$DocLit$PartBuilder.readResponse(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.ResponseBuilder$DocLit.readResponse(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
         at $Proxy29.getRolesForUserInApplication(Unknown Source)
    This operation works fine if invoked by an RPC client.
    Any idea what's going on?
    Mikey

    Hi Jitu,
    I changed the wsdl. And so I don�t get the warning anymore. My Webservice also runs well, now. Thanks anyway for the reply.
    There is a nice tech article on the sun network, which solved my problem. The basic idea is to split the wsdl into 2 wsdl documents. one containing all the porttypes messages and so on. And the other wsdl contains the binding and service elements.
    If you are interested check out this link:
    http://java.sun.com/developer/technicalArticles/xml/jaxrpcpatterns/index2.html
    thanks,
    footman

Maybe you are looking for

  • Sharing More than One Movie with iDVD????

    Okay.. I would like to know if there is another way to burn MORE than one movie an iDVD project. It seems that sending the movie straight to iDVD creates it's own project, and when you try to send another movie, it creates a completely different proj

  • To remove line items from invoice which have 0 qty.

    Dear Friends, Requirement: To remove line items from invoice which have 0 qty. For this I wrote the code in RV60AFZZ. It is very well happening, but when last line item comes it is failing. What I have written is " DELETE XVBRP WHERE FKIMG = '0' ." .

  • How to get the index of a pressed button in control array?

    Greetings, I have 3 parallel arrays--one containing buttons and the other two containing string indicators.  I'd like to be able to push a button and get the values in the other arrays.  How can this be done? (P.S.  Illustrations are great and most w

  • Add additional table in Outgoing payment PLD.

    Dear Expert, Can i know how to add additional table which is VPM4 to my Outgoing payment PLD to show out the Bank GL account number? In original outgoing payment PLD does not have this table. Regards, Vivian

  • Norton Antivirus X

    I recently installed Norton Anti-Virus 10 for MAC OSX 10.4. When I did a virus scan, it found 28 files infected with a virus, all files, I believe received from PC users. Norton Anti-virus was unable to repair the files and did not quarantine them. A