Problem in creating entity service record

Hello!!!
I am creating new record in service
    AEs_Employee emp;
    emp = es_EmployeeServiceProxy.create();
    emp.setPernr("12345123");
    emp.getAspect().sendChanges();
Some mistakes occur during application launch:
The initial exception that caused the request to fail, was:
   java.lang.NoClassDefFoundError: com/sap/tc/col/client/generic/api/IAspectRow
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for view com.sap.ogk2.caf.training.V_GeneralRequestTraining. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
     at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
     at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
     at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:657)
     at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:694)
     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:756)
     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
     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:401)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
     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:102)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
     at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
     ... 33 more
Caused by: java.lang.NoClassDefFoundError: com/sap/tc/col/client/generic/api/IAspectRow
     at com.sap.ogk2.caf.training.wdp.InternalV_GeneralRequestTraining.<init>(InternalV_GeneralRequestTraining.java:267)
     ... 38 more
Edited by: Vadim Sotnikov on Jul 31, 2008 7:30 AM

Hi,
Generally, "No class Definition found" Exception comes in these cases.
1. If we dont add the corrosponding jar file in the "lib" folder.
2. If the class is not accessible(private or protected).
3. Place where you are accessing the class and where the class is defined are in two different packages...
Check for the above,
Regards,
Srinivas.

Similar Messages

  • Problems while creating Web Services in development server

    Hello,
    We are facing problems while creating Web services . The transaction like WSADMIN, WSCONFIG are not there in development server. Its gives message u2018This transaction is obsoleteu2019.
    Due to this while creating Webservice, there is and error message . Kindly guide me whats needs to be done.
    We have also tried the transaction WSADMIN2 as suggested by SAP, but didnu2019t know wat needs to be done.
    Regards,
    Rachel
    Edited by: Rachel on Feb 3, 2009 9:15 AM

    Hi,
    With your help, we were configuring WEB Service through soamanger.Due to some problem, we couldn't proceed further.Kindly guide us with the further steps.
    *steps followed *
    Step 1 : Entered Service Registry Parameters in WSPARAM .
    Step 2 : In transaction SOAMANAGER->Technical Configuration -->System Global settings
    Step3 : From u2018SE80u2019 transaction, selected the package ZHR and then right clicked to create the enterprise service -> Client Proxy (Service Producer)
    We have followed steps in se80.Don't know how to proceed further.
    We are unable to find the service in soamanger .How to find the service name in soamanager?
    Regards,
    Rachel
    Edited by: Rachel on Feb 3, 2009 12:38 PM
    Edited by: Rachel on Feb 3, 2009 12:48 PM

  • Create Entity Service as Web Service wrapper for Netweaver dev studio 7.1

    Hi,
    I am totally new to Netweaver.
    I was trying to create a CAF service that wraps my own service.On searching i found this document
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11669cea-0c01-0010-63b2-b98c35b1b370] where the process was mentioned.But this document is on netweaver 7.0 and i am working on 7.1 .
    Here while trying to create a entity service, its mentioned in the doc to right click on the entity service node..but in my netweaver i dont find that node anywhere..the only nodes i see are external and modeled..I am assuming the components must have chaged for version 7.1..
    Can anyone tell me where i can find the updated documentation for Netweaver 7.1 to create a entity service as a webservice wrapper.
    Thanks in advance.
    Regards
    Siri

    Thank you Dipankar..that solved my problem.
    Regards
    Siri

  • [ICSS B2B] Problem  when creating a service request due to language

    Hi everyone.
    We have a web portal based on icss_b2b wich is linked with our backend (CRM).
    On the web portal, we should be able to create service requests and it works fine when we are using english.
    But if we log using german language, when we try to create a service request we have an error and creation ins't done.
    Do we need do to do any configuration in the xcm ? Crm ? to allow to create service request in a new language ?
    Thanks for your help.

    Hi,
    We are facing the same problem, were you able to solve this?
    Our Portal takes the language from the browser but we only want to allow people access to ICSS in French and English.
    Example:
    If browser language = French --> French ICSS
    If browser language = English --> English ICSS
    If browser language = Dutch --> English ICSS (English = default language)
    Many thanks for any feedback.
    Cheers,
    Geert

  • Error while testing the created entity service

    Hi
    I have an error  "access forbidden.please login again" while testing the entity service  in the service browser.Please help.
    Regards
    ms.

    Hi,
    I think this is not a problem from your end.  You please check for another entity service. If you get the same error then this is the problem from server side. If possible please restart the server and try it again.
    Thanks
    Chandan

  • Problem in creating Data/Service in FlashBuilder 4 beta 2 with this error .cvc-elt.1: Cannot find the declaration of element 'model'

    hi
    i have a problem after installing flashBuilder 4 beta2 .
    when i want to create Data/Service with BlazeDs and when i click on button finish
    this error shown and I can't do anything with it .
    in flashBuilder beta1 it's work perfect .
    if any one in thereand know why?
    please help me
    ERROR: XML parse error : Error on line 1 of documen : cvc-elt.1:Cannot find declaration of element 'model'. Nested exeption:Cannot find declaration of element 'model'.
    thanks

    Hi,
    Thanks for your feedback
    Can you attach your sample project and provide details on the Flash Builder and BlazeDS builds you are using?
    Also add your vote to http://bugs.adobe.com/jira/browse/FB-23479 a similar known issue
    Thanks,
    Balaji
    http://balajisridhar.wordpress.com

  • Problem in creating 0027 infotype record in background

    Hi Experts,
    I am facing the problem in creating 27(Costs distribution) infotype record in back ground.
    Whenever there is a change in position of the employee or when we hire a new employee (Through PA40)
    i have to ctreate 0027 infotype record in background.For that i am using IN_UPDATE method of BADI
    HRPAD00INFTY.
    Here i am getting 2 problems.
    1. I am unable to get the latest positions that is assigned to the employee.
       Through NEW_IM AGE structure we can get the latest position but if a person is assigned to multiple   positions for the same period then i am getting only one position from NEW_IM AGE but not all.can any body help me?
    2. I am calling HR_INFOTYPE_OPERATION FM to create the IT0027 record in background in the above method (IN_UPDATE). but it is not updating the PA0027 table. any idea?
    Full points will be rewarded.
    Regards,
    Sai.

    I am sending a sample program , which is on infotype 0105 (communication). I hope that this program will help u out............
    REPORT ZSAPHR_SAMP.
    tables: pa0105.
    infotypes: 0105.
    DATA : I_RETURN TYPE BAPIRETURN1,
    I_KEY TYPE BAPIPAKEY,
    PERNR TYPE P0001-PERNR,
    I_P0105 TYPE TABLE OF P0105 WITH HEADER LINE,
    ENDDA TYPE P0105-ENDDA,
    BEGDA TYPE P0105-BEGDA.
    MOVE '00000010' TO PERNR.
    BEGDA = SY-DATUM + 1.
    ENDDA = SY-DATUM + 1.
    i_p0105-pernr = PERNR.
    i_p0105-infty = '0105'.
    i_p0105-subty = '0002'.
    i_p0105-endda = ENDDA.
    i_p0105-begda = BEGDA.
    I_P0105-USRTY = '0002'.
    I_P0105-USRID = '[email protected]'.
    APPEND i_p0105.
    CALL FUNCTION 'DEQUEUE_ALL' .
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
    EXPORTING
    NUMBER = PERNR.
    IF SY-SUBRC = 0.
    WRITE 'Employee Locked Successfully'.
    ENDIF.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    EXPORTING
    INFTY = '0105'
    NUMBER = PERNR
    SUBTYPE = '0002'
    VALIDITYEND = BEGDA
    VALIDITYBEGIN = ENDDA
    RECORD = i_p0105
    OPERATION = 'INS'
    TCLAS = 'A'
    DIALOG_MODE = '0'
    NOCOMMIT = 'X'
    IMPORTING
    RETURN = I_RETURN
    KEY = I_KEY.
    IF SY-SUBRC = 0.
    WRITE : 'FM returns sy-subrc 0'.
    ENDIF.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
    EXPORTING

  • Problems with creating web service system

    Hello,
    I seem to have made some changes that made my unable to create web service systems for EP or Visual Composer.
    The change I made is in NetWeaver Administration > Configuration > Application Resources > WebServicesFactory, I added the Configuration Property "UseCacheByDefault" with Boolean value = true.
    After this, if I create a web service system in Enterprise Portal, the Connection Tests fail. In Visual Composer when I define a web service system, the error I am getting is: "Connector Factory not found for value WebServicesFactory".
    I have tried to delete the UseCacheByDefault property I added as well as restart the server but I am still getting the error.
    However when I test my web service using the Web Services Navigator, I am not getting any problems. So my guess is the problem lies with the connection factory.
    Can anyone help me with this issue?
    Thanks.

    Hello,
    Since creating WS system in the portal resulted with failed connection test, the issue has nothing to do with VC.
    I'm just guessing, but try to configure proxy in the J2EE engine.
    If that doesn't help I suggest you raise this question in the portal forum.
    Best regards,
    Shay

  • Problems while creating local service order on client in MAM

    I have MAM2.5 on PC. I have created a local notification and synced it. based on that notif , I am trying to create a service order.But after Sync , I get following error in monitor (merep_mon on MI server) under MAM_001:
    Return code from RFC BAPI Wrapper call:Business area required (Please enter)
    Return code from RFC BAPI Wrapper call:Service/maintenance order type PM02 not completelymaintained in plant 4510
    Return code from RFC BAPI Wrapper call:Business area required (Please enter)
    While creating service order on backend , we have to fill in the business area. but I dont see any such option on client. may be it picks up the business area from some other detail ( like equipment / personnal number ) ..If so , which from where does it pick that?
    Regards
    Rucha Atre

    Hi,
    You may try this option which might allow you to create orders without business area in the client;
    In the back-end, Goto,
    SPRO>Plant Maint. & customer service>maintenance & service orders>Define field selection for order header data.
    Uncheck the business area from required field.
    If it still doesnt work, goto tcode KOT2_OPA and click on change field selection and then remove the required check from business area.
    Regards
    Boby
    Regards.

  • Problem in creating Entity for view which has "INSTEAD OF " trigger

    Hi ,
    I have an entity based on a Non updatable Database view (DB_VIEW).this database view has an INSTEAD OF trigger which validates
    and save data into a table.
    And I have a BC4J view based on this entity.
    Problem :
    When I try to insert a record using bc4j view object,I get following error
    ORA-22816: unsupported feature with RETURNING clause
    Query sent by view Object is :
    BEGIN INSERT INTO DB_VIEW(COLUMN1,COLUMN2,COLUMN3) VALUES (:1,:2,:3) RETURNING ROWID INTO
    :4; END;
    I am not able to insert any record in that view.
    I tried removing rowID from my BC4J entity and View but problem is that in Databae view there is no
    column which can be set as a primary key other then ROWID.

    I had the same problem.
    Oracle 9.2 sadly does not support the RETURNING clause for database views with INSTEAD OF triggers.
    Here is Steves Solution:
    1. Create a custom entity def impl class for your entity on the Java panel
    2. override the isUseReturningClause() and return false
    That should work in 9.0.3.4, 9.0.4 build 1419, and 9.0.5.1 production.
    from How to disable generation of RETURNING clause?
    Hth, Markus

  • Integration directory problem while creating business service

    HI,
    CURRENTLY I AM FACING A PROBLEM IN INTEGRATION DIRECTORY. WHEN I TRY TO CREATE A BUSINESS SERVICE INSIDE THE SERVICE WITHOUT PARTY WHICH I AM TAKING AS A SENDER, I AM UNABLE TO GET THE SOFTWARE COMPONENT VERSIONS IN THE SENDER PARAMETERS.
    IF ANYONE CAN GIVE THE COMPLETE CONFIGURATION STEPS FOR SENDER AND RECIEVER SYSTEM THAT WILL BE VERY HELPFUL.
    BEST REGARDS,
    MONA

    Hi Mona,
    Let me explain you in detail:-
    First, Activate the Change List in the Integration Repository once the design objects are complete.  By activating the change list, the object becomes available for Configuration in the Integration Directory.
    Secondly, to transfer Integration scenario from Integration Repository - you need your Integration Scenario to be created correctly and when you run this wizard you actually pull the Integration scenario in the Integration directory.
    You also have the option of 'Configuration Wizard'.
    This tool is a wizard for creating your Recevier Determination, Receiver Agreement, Sender Agreement and Interface Determination. For this tool, you do not need the Integration scenario
    It is not mandatory to use any of these tools to configure your scenario.
    All you have to do for configuring your scenario is
    1. Create Business system/Business service
    2. Create Communication Channel
    3. Create Receiver Determination
    4. Create Interface Determination
    5. Sender Agreement
    6. Receiver Agreement
    I hope this provides you a solution.
    Regards.
    Praveen

  • Problem in updating entity sevice record

    i am doing a POC for update through Web Dynpro
    I have made an entity sergvice with a field as fname-short text- i create a record in it as  below and save its guid in a context varialbe
    AFirstOne one = FirstOneServiceProxy.create();
    one.setFname("hello");
    one.getAspect().sendChanges();
    wdContext.currentContextElement().setKey(one.getGuid());
    Now i am trying to update the same record --
    AFirstOne first = FirstOneServiceProxy.read
    (wdContext.currentContextElement().getKey());
    if (first ==null)
    {  wdComponentAPI.getMessageManager().reportSuccess("null");
    else
    {  wdComponentAPI.getMessageManager().reportSuccess("not null");
    wdComponentAPI.getMessageManager().reportSuccess(first.getGuid());
    first.setFname("bye");
    first.getAspect().sendChanges();
    The not null and guid  is printed but the record is not updated  inn the table
    Can anyone plaes suggest me the reason  for this?
    What am i doing wrong ?

    Hi
    Data is Saved to database in two Steps.
    Step 1 : call sendChanges() method on <entity>.getAspect()
    Step 2 : call save method on ServiceFacade.
    IServiceFacade  serviceFacade =
    CAFServiceFactory.getServiceFacade(
    <class Name>);
    serviceFacade.save();
    This will save the entty .
    The Call to the "Save" Method  is missing in your Code.
    regards
    Rajendra

  • OA Framework problem to create Entity Objects

    Hello my friends!!!
    I´m starting to work with OA Framework and I have a problem somewhat complicated.
    When adding a new entity Object Database the option Database Objects is disabled can not select the table.
    View the link:
    https://plus.google.com/photos/105051623226021373169/albums/5727536008728326817?authkey=CPf33qfkz-jUqgE

    Before you come to the above screen, it might have asked you for database credentials. There you need to provide the username and password. Then in the following screen(the screenshot you gave), just above the Tables, views etc checkboxes you can see a poplist called Database Schema with available schemas in the selected db.
    If the EO wizard didn't ask for any db then you first needs to create a connetion in JDev with connections manager.
    Regards,
    Peddi

  • Problem while creating web service proxy in Jdeveloper 10.1.3

    I am using Jdeveloper 10.1.3 to create a web service proxy so that I can track my request/response in HTTP Analyzer.
    I am following the steps as mentioned in the follwoing uRL:
    http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm
    But I get the following warning while creating the web servcice proxy:
    Generating proxy
    WARNING: value type package prefix is ignored for the types defined in the schema that has same target namespace as the target namespace of wsdl: <my web service namepsace>
    Proxy generation finished
    After adding my code in the main methoad of proxy, I get the following error while compiling:
    WARNING: Unable to connect to URL: <my web service proxy URL> due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
    java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
    Please help as how to solve this.
    Edited by: user11258855 on 02-Jul-2009 03:38

    I am using Jdeveloper 10.1.3 to create a web service proxy so that I can track my request/response in HTTP Analyzer.
    I am following the steps as mentioned in the follwoing uRL:
    http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm
    But I get the following warning while creating the web servcice proxy:
    Generating proxy
    WARNING: value type package prefix is ignored for the types defined in the schema that has same target namespace as the target namespace of wsdl: <my web service namepsace>
    Proxy generation finished
    After adding my code in the main methoad of proxy, I get the following error while compiling:
    WARNING: Unable to connect to URL: <my web service proxy URL> due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
    java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
    Please help as how to solve this.
    Edited by: user11258855 on 02-Jul-2009 03:38

  • Problem while creating Complex Attirbutes of Entity Service in CAF Applicat

    I am Creating one CAF Application.
    while creating Entity Service i have Used one Complex Attribute. but in Application Services Implementation part when am assigning value to this Complex Attribute.it gives error that no method exist.
    Kindly provide some information on how to use Complex Attributes while creating Entity Service.
    Can i use NWDS2.0.11 for CAF Application?

    Guys,
    I have solved the problem successfully. Thanks for your attention.

Maybe you are looking for

  • How can i separate my skipe account from Hotmail

    Hi All, can any one please advice how can i seperate my skipe and hotmail accounts

  • Trying to go legit, but it's not working

    I've just recently purchased Final Cut Studio 3. It wasn't directly from Apple, but a third-party retailer: www.cheapestlegalsoftware.com. It seemed (and still seems) legit (or so I hope). I've installed the Studio and all programs run fine except fo

  • Include driver in jar file

    Hi, i need include de jdbc driver for postgres en my jar application file... i use netbeans 4 but i dont know make this... Help meeeeeeeeeeeeeee

  • Missing plugin from CS4

    InDesign CC2014 will not package file due to missing plugin from CS4. Help, please.

  • How to uninstall dw CS3 completely to reinstall

    have tried to uninstall but it will not uninstall completely the Icon continues to stay in my control panelbut instead of the green icon it is just a page icon am using vista platform and would like to reinstall but when i try to reinstall it will no