Errot at creation of callable object (Web Dynpro Component (GP Interface))

Hi,
I have made a Web Dynpro component and it has been built and deployed without problems.
However, when I go to the Design Time in the portal to create the callable object, it dumps with this message:
500 Internal server error
The initial exception that caused the request to fail was:
java.lang.UnsupportedClassVersionError: bad  version number in .class file
Any ideas to what this is about ?

Hi Peter,
Check this link.It may be helpful.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/java/netweaver%252bdeveloper%252bstudio%252b(NWDS)
Regards,
Sumangala

Similar Messages

  • Create Callable object of Web Dynpro Component (GP interface) giving error

    Hi All,
    We are facing a strange error in Guided Procedure.
    While trying to create a new callable object of Web Dynpro Component (GP interface) after selecting the type and click on Next it is throwing below error.
    *javax.xml.stream.FactoryConfigurationError: Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located. Classloader =com.sap.engine.services.deploy.server.ApplicationLoader 3995fdb9 sap.com/cafeugpuidt
        at javax.xml.stream.FactoryLocator.loadFactory(FactoryLocator.java:120)
        at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:109)
        at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:54)
        at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:41)
        at org.apache.axiom.om.util.StAXUtils$7.run(StAXUtils.java:311)*
    Also while running the GP processses which are created in the past and working fine till few days back are also giving the same above error.
    Please help us in resolving the issue.
    Regards,
    Satish

    Hi Peter,
    Check this link.It may be helpful.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/java/netweaver%252bdeveloper%252bstudio%252b(NWDS)
    Regards,
    Sumangala

  • GP, callable object Web Dynpro Application (bespoke) not appearing in list

    Hey y'all
    We're developing our first GP, and we would like to call an existing bespoke Web Dynpro. When creating the callable object, we're selecting type Web Dynpro Application, but our Web Dynpro screen is not appearing in the drop down list on the next page. We think that this is because the application has been deployed to a different server (i.e. it has not been deployed onto the portal server).
    So the question is, has anyone faced this problem before, and is there a solution?
    Kind regards
    Jon

    Hi John,
    Please have a look at this Exception on creating GP Action
    This will solve your issue definitively. Do not take care of a given SDA, just redeploy everything and make sure that everything is overwritten by selecting the right option.
    Best regards,
    David

  • Web Dynpro Component cannot be found in list when Creating Callable Object

    Hi All,
        I have created a web dynpro component and implemented the IGPWebDynproCO interface, after that I deployed it into the J2EE engine.
        But in the step of choosing the web dynpro component as a callable object, I cannot find the one I created.
        Any suggestion or idea?
        Thanks,
    YiNing

    Hi,
    Check out these links :
    -> Composite Application Framework Tutorial Center
    SAP Composite Application Framework - CAF Tutorial Center [original link is broken]
    ->Creating a Callable Object: Composite Application Web Dynpro Component https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ac4c81d1-0c01-0010-adb0-bb14220343c2
    Regards,
    Indu
    Edited by: Indu Garg on Feb 28, 2008 12:33 PM

  • Dynamic insertion of MIME object into a web dynpro component

    Hi,
    I want to dynamically insert a MIME object of type JPEG or type GIF into my web dynpro component at runtime.
    I was unable to find the database table which contains the list of MIME objects for a particular web dynpro component.
    Can you please help me out with this?
    Thanks in advance,
    Adithya
    Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on May 23, 2011 9:55 AM

    Hi Muzammil Bichoo ,
                                   when you copy the wda component, it will be copied and will be in active state, once all the components are activated means, windows, views, everything will be available.
    now create application for your component, if you have more than one window(interface view) select the one which you need for the application.
    Regards
    Sarath

  • Is their any standard web dynpro component for Sales Order Creation

    Hi ,
          I want to  create a web dynpro component for Sales order creation.So i want to know is their any stardard web dynrpo component to use or we need to develop custom component.
    Thanks & Regards,
      Aditya Tanguturi.

    Hi Aditya,
    There is a standard component for Sales order maintenance : LORD_MAINTAIN_COMP
    Note: It is also used to create / change /display the quotation/inquiry as well
    Regards,
    Rama
    Message was edited by: Ramakrishnappa Gangappa

  • Callable Object - Web Service: Initialization failure in GenericServiceFact

    Hello,
    I am just trying to do the NetWeaver 7.0 exercise
    "Callable Objects: Web Service –
    ...In this exercise you will create a callable object as an external web service. A prerequisite to the exercise is that ... the web services container settings in the J2EE Visual Administrator must be set to allow access to the internet.
    Author: Composite Application Framework Product Management "
    However, when setting up the Callable Object, after entering the WSDL-URL given in the pdf I get the error "<b>Initialization failure in GenericServiceFactory when trying to load  http://www.webservicex.net/WeatherForecast.asmx?WSDL</b> ".
    Is it the missing activation of internet-access in the J2EE Web container? I can't find any such parameter in the J2EE-config tool (and where has the Visual Admin gone?).
    Regards,
    Jens

    .

  • No executionContext attribute in Web Dynpro Component Controller

    Hi All,
        I'm trying to write a Web Dynpro Component which can be used as a callable object by following the Link:[document|http://help.sap.com/saphelp_nw70/helpdata/en/43/e085d6421a4d9de10000000a155369/frameset.htm].
        I've successfully finished the getDescription method. In the execute method, I'm trying to get the executionContext attribute of the instance, but it always shows that no attribute name executionContext can be found here.
        Anyone can help me?
        Thanks,
    YiNing

    Hi,
    You should get the executionContext attribute as an inout parameter of the execute() method. You can also declare a instance variable to hold this to be later refered in other methods of the controller.
    Thanks,
    Dipankar

  • No component usage created in enhanced web dynpro component

    Hi experts,
    I am facing the following problem:
    I'd like to enhance a web dynpro component in order to add a popup window. The popup is triggered by the process_event method. So far everything works just fine.
    But the popup needs to know some context attributes from the main component, and I cannot create a component usage in order to set the context mapping.
    Does anybody know how to solve this issue?
    Thanks and regards
    Jan Phillip Höft

    Hi!
    Thanks for your answers first of all.
    I need the popup to be a stand alone web dynpro component, so I guess the assistant class doesn't do the trick because I can not access it in the popup component.
    The popup is called when the business object is saved. So that the user is asked to notify other users that the document has changed. In this popup the user should fill in the message and click a button to send it and close the popup.
    So I tried the OBN approach as well but with two problems :
    1. I cannot close the popup component by coding (button click) because it has no direct parent component
    2. The save event is not run through properly so the document stays locked by the user. But I didn't look into this yet.
    So it would be perfect to have an embedded popup component which is based on a stand alone web dynpro application so it can be closed properly but it need at least access to the guid of the main component.
    Anybody got an idea for this?
    Thanks and regards
    Jan Phillip Höft

  • Calling session bean's business method through web dynpro component

    Hi All,
    Can anybody tell me how to call a session bean's methods through a web dynpro WITHOUT java-model or web service model ??
    I have following scenario:-
    1. Stateless Session bean having two business methods
    2. Web Dynpro component
    3.Now i want to call business methods without using any model. I have got following piece of code but I dont know how to go about it.
    4.Where do i have to set JNDI name for session bean? which interface will be looked for?
    5. Do I have to declare public part for EJB DC? If yes, how?
    //This is inside web dynpro component
    InitialContext   context = new InitialContext();
    o = context.lookup(JNDIName);
    TestSessionbeanHome homeRef = (TestSessionbeanHome) PortableRemoteObject.narrow( o,                                                                               
    TestSessionbeanHome.class);
    TestSessionbean beanRef = homeRef.create();
    <returnValue> = beanRef.<ejb method name>
    Please help to get a step-by-step approach to this case.
    Thanks and regards,
    Amey Mogare

    Hi,
    If  I comment out the part that is using session bean's business method, DC is building fine.
    And if I uncomment, then compiler is unabl eto resolve business method(s).
    And i would like to mention that my EJB + J2EE App DC is building properly, but it havent yet deployed properly as I am waiting for data-source-alias name prefix to be configured by ERP team. So will this be a reason why Web Dynpro DC is not able to resolve business methods ??
    Because Web Dynpro DC is able to resolved all interfaces of Session bean and entity bean. But when it comes to business method, its not able to resolve.
    Any more ideas why it is not happening?
    Pls help.
    Now i went through some forum posts regarding this and found that we also need to add EJB DC to Java Build Path for WebDynproDC>Properties>Java Build Path.
    I did this and now it is able to resolve business methods and DTOs as well. So to summarize I did following:-
    1. Added EJB DC (complete DC) as a Used DC to Web Dynpro DC with Buid-n-Deploy-n-Run time dependency
    2. Added Sharing reference of J2EE application DC to Web Dynpro DC -->Properties
    This reference I constructed as follows:-
    <vendorname>/<name of j2ee application as appearing under display name tag in application.xml (replacing '/' with '~')>
    So my Sharing Reference becomes:- <vendorname>/reqpstapscreqpstapja_reqid
    3. Added EJB DC to Java Build Path in Web Dynpro DC's properties
    4. Then I added following piece of code to get object of SessionBean class
    InitialContext context = new InitialContext();
    Object o = context.lookup("java:comp/env/ejb/SessionRequestIDBean");
    SessionRequestIDHome homeRef = (SessionRequestIDHome) PortableRemoteObject.narrow(o, SessionRequestIDHome.class);
    SessionRequestID beanRef = homeRef.create();
    beanRef.<business method>
    But After doing this I am facing another problem :-
    The build fails saying it is not able find the package for DTOs. But when I see the Component Controller's code it is not showing any red or yellow marks.
    Can anybody pls help me out here?
    Thanks and regards,
    Amey Mogare

  • Transport issue when copying a web dynpro component

    Hello All.
    I have a web dynpro component lets say ZTest and now I want to copy this, I gave the new one a different name i.e. ZFINAL, now when I copied, it asked me for the trasnport and when I asked to create a new transport I got this message "Class ZIWCI_ZFINAL does not exist" and then I clicked the green arrow again and it created a transport for me. After this process I activated my web dynpro component successfully, my web dynpro component has 3 views and 3 windows. When I looked at my new transport (for ZFinal),  I only saw three tasks attached to teh transport i.e. 1. Interface 2. Info Object from the MIME Repository and 3. Web Dynpro Component but I didn't see Controller (Web Dynpro), Definition (Web Dynpro) and View (Web Dynpro) attached to my transport. Now I wonder when I release my transport to Q I may have issues.
    Note: My old trasnport (which has Ztest)has all the missing objects: (Web Dynpro), Definition (Web Dynpro) and View (Web Dynpro)

    I resolved it myself.. I had to write the transport entry manually for the views and windows and even the component controller definition.

  • Is it possible to serialize a web dynpro component controller?

    Hi,
    Is it possible to serialize a web dynpro component controller and deserialize it for use?
    I have one web dynpro application WDA1 for web dynpro component WDC1. And  another web dynpro application WDA2 for WDC2 will be opened in a new window triggered by a button action in WDC1.
    Iu2019d like to pass the object reference of WDC1 component controller to WDC2.
    I first tried to use a static member of a class object but found out that even the static member is initialized and set in WDC1, itu2019s still initial when I access it in WDC2.
    Then I searched the forum and found one article Passing Object ref to Webdynpro Application while calling from BSP screen .
    The recommended way is to serialize the object reference and store in a DB table, later on read it out and deserialize it for use.
    I tried serialization using the following code, but when itu2019s deserialized, the result is initial.
    Can anyone share some ideas on this?
    Serialize
      data: ostream type string,
               xslt_err type ref to cx_xslt_exception.
    ***** serialize model class
      try.
          call transformation id
          source model = wd_comp_controller
          result xml ostream.
        catch cx_xslt_exception into xslt_err.
      endtry.
    Deserialize
        data: istream type string,
              xslt_err type ref to cx_xslt_exception.
        istream = ls_db_sel-obj.
        data lr_wdc type REF TO ZIWCI_BY_WDC_SERIALIZE.
        try.
            call transformation id
            source xml istream
            result model = lr_wdc.
          catch cx_xslt_exception into xslt_err.
        endtry.

    When you say new window, I assume you mean new browser window. This is a separate user session then.  This is why the singleton pattern doesn't work.  Have you considered using a new dialog window instead of a new browser window.  It will be modal, but will share the same user session as the parent window.
    >Why do you choose this approach over cross-component usage ? component usage is the way webdynpro components are >to be reused.
    >You can also consider using Singleton OO pattern class to share data between these two components.
    Neither of these approaches will work if you are using separate browser windows. Such an approach results in two separate user sessions (perhaps even running on different application servers depending upon how you have load balancing setup) and therefore can't share data using either of these approaches.
    In general the idea of serialization and then writing the string ito a server cookie or other database table is sound.  I don't think you should try and serialize the component controller, however.  Serialization only saves and restores public attributes - not protected or private ones.  So in general a class has to be designed for serialization.  The component controller is much too complex and wasn't designed for such an operation. 
    I would suggest instead extracting the data you want to share out of component controller or context and serializing it into a custom class and passing that to the other component.

  • Changes in standard e-rec web dynpro component

    Hi ,
    I need to make some changes in standard e-rec web dynpro component. Needed to know what approach needs to be followed for the same. Can I make changes in the standard itself or do I need to copy the standard component and make changes in the Z component.
    Thanks in anticpation.
    Regards
    Nidhi Jain

    Hi Nidhi,
    Its better to make changes in the Enhancement Framework itself.It will be too complex to make it to Z applications since there will be lot of dependent objects involved. I was also in the state of dilema when i was about to make changes to the standard E-travel applications using ABAP webdynpro(EHP2) and finallly i was able to meet all the customer requirements using Enhancement Framework and yesterday the UAT ended successfully..:-).
    I have also implemented the e-recruiting using BSP in my last project.So i am able to give the above suggestion to you.
    Since E-rec applications will have lot of methods, you can be able to meet all the changes in the Pre and the Post exit methods itself.
    All the Best.
    Thanks,
    Rajkumar.S

  • Copying a web dynpro component

    Hi All..
        I want to copy the web dynpro component. I have saved it as local object.It contains two windows and some four views.When i try to copy this component, it is getting copied, but when i try to create the "web dynpro application" of it, it is asking for "Interface View " and plug name . If i press f4 it  shows "The Web Dynpro component "name of component" does not contain
    interface views"
    Plz help.

    Hi Muzammil Bichoo ,
                                   when you copy the wda component, it will be copied and will be in active state, once all the components are activated means, windows, views, everything will be available.
    now create application for your component, if you have more than one window(interface view) select the one which you need for the application.
    Regards
    Sarath

  • Doubts while doing  example on WDJ-Using Web Dynpro Component Interface

    Hi
    I am doing the example mentioned in the PDF file WDJ - Using Web Dynpro Component Interface Definition.
    In the PDF file its mentioned the following code inside onActionCreateDC1:
    g_Usage.createComponent("com.sap.wd.childdc1comp.ChldDC1Comp");
    wdThis.wdGetWDCompInterfInstInterface().passInfo(
    "Created Child DC 1");
    I have one query that what is com.sap.wd.childdc1comp.ChldDC1Comp?Is it the component name of DC or the package name of DC?
    I have deployed the application.When i click on button Create Child DC1 i am getting follwing exception:
    com.sap.tc.webdynpro.services.sal.deployment.api.WDDeploymentException: Failed to load deployable object part 'com.wartsila.test.ChileDC1Comp', type 'Component' of deployable object 'wartsila.com/DP_TutWDInterfaces'.
    When i click on Create Child DC2 i am getting follwing exception:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException:Failed to create delegate for custom controller com.wartsila.test1.ChildDC2CompInterfaceCfg. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
    Can anybody tell how can i solve it?
    Is it required to deploy the two child component also that is ChildDC1Comp and ChildDC2Comp?If yes then how to deploy these two child DC as when i am tryng to create application for these two component then default plug is showing blank thats why i am unable to deploy these child Dcs.
    Thanks
    Susmita

    Hi Susmita,
                      Is it required to deploy the two child component also that is ChildDC1Comp and ChildDC2Comp?
    Yes , u have to deploy both the components.
    when i am tryng to create application for these two component then default plug is showing blank thats why i am unable to deploy these child Dcs.
    U need not create an Application for deploying the component .Right Click on ur project --> Deploy.
    The problem is with ur Component, while creating a Component u should have created a Interface view and default StartUp plug.
    Just check whether u have Created the startup plug for ur interface view.
    Open the controller editor of ur interface view --> Select Plugs Tab .
    and in the plug tab , check whether u have Default Start plug (in Inbound Plugs Table).
    if there is no Default Start Plug , then click the Button New to create a Default Plug .
    in the pop up window -- select Stsrt Up and Give the name of the plug as "Default".
    After doing this , select the default plug and Right click on the plug -->copy  and Open the window Controller editor -- > select Plugs Tab --> check whether u have default plug (in Inbound plugs) in the Window controller .
    if the plug is not there , then paste the plug in the Window's Inbound Plug Table .
    Hope it helps
    Thanks and Regards

Maybe you are looking for

  • Prevent Outbound Delivery creation against Purchase Order

    Hi All, we have a Intecompany (IC) process composed as following: 1) IC purchase order 2) Outbound delivery 3) Good Issue 4) Good Receipt 5) Invoice and billing I'd like to prevent the outbound delivery creation in the purchase order as the delivery

  • Problem with SIM

    Hello! I have inserted a SIM Into my tablet Z. (mobile broadband) It finds the card and the operator (Telia), but when I disable Wifi and enable mobile data there is no Internet connection. Is there some setting I must do in the tablet, or is it more

  • "Can't copy the type. There isn't enough memory. ID=-108"

    I'm running Illustrator, Dreamweaver, Fireworks, Photoshop, iTunes and Suitcase. In Illustrator I get an error: "Can't copy the type. There isn't enough memory. ID=-108" How is this possible with 4gb of ram and 242 gb available on my hard drive? Is m

  • Error in cancelling excise document

    Hi, When i try to canccel the excise document in J1IH, i get the error as Message: 4F235,Reference of xxxxx/YYYY exists in open ARE document.  but, no ARE exists for this document. Please let me know how to cancel this document. The ETT is DLFC. Than

  • RFEULIST - report for Poland

    Hello, I have a problem with VAT report RFEULIST, if I created this report I have different value in fields DMSHB and LWBAS This item has field SHKZG equal H , so there should be minus. may any idea , why ? Thanks