Deleting Entity Services

Hi All:
I deleted an entity service call Status_Obj, but after Generate all Project Code, appears the following error:
Error               Status_ObjServiceLocal cannot be resolved (or is not a valid return type) for the method create     Status_ObjServiceLocalHome.java     NWD_agiletrk_Dpmg_env_orgejbmodule~agile.com/ejbModule/com/agile/pmg_env_org/besrv/status_obj     
Someone have an idea about how can resolve this.

Hi,
It seems that the you are returning same structure in one of your operations that you have used to create the Entity Service. Now that service is deleted .. its structure might as well not be there .. and thats why the project gives build error.
Hope this helps,
Ashutosh

Similar Messages

  • Error while deploying the project to ESB and deleting the services in ESB

    Hi,
    I am tiring to deploy a project to ESB, but I am getting this exception.
    error code: 0 : 10
    summary: An unhandled exception has been thrown in the ESB system. The exception reported is: "javax.transaction.RollbackException: Timed out
    at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:582)
    at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:244)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:130)
    at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:433)
    at oracle.tip.esb.console.XMLConsoleManagerImpl.commit(Unknown Source)
    at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.deploy(Unknown Source)
    at oracle.tip.esb.configuration.deployment.DeploymentServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Fix: -
    In the earlier thread
    Error while deploying the project to ESB
    I was told to do some corrections. I did that and also I have bounced the OPMN. It worked for me.
    But again I am getting the same error, and I did this for the second time. But it didn’t work now.
    And I also have one more problem. I am not able to delete the existing services in the ESB console. When I try to delete the services I am getting the same error.
    I even checked the LOGS. The last three error payloads I see are
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-04-03T13:15:30.846-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>usmlrh37.arrow.com</HOST_ID>
    <HOST_NWADDR>192.168.226.25</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>soauser</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>192.168.226.25:62472:1175620406177:7</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: ORABPEL-11207
    IO Failure in translator.
    IO failure because the Inbound XSD translator failed to DOM Parse InputStream .
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[ORABPEL-11207
    IO Failure in translator.
    IO failure because the Inbound XSD translator failed to DOM Parse InputStream .
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
         at oracle.tip.pc.services.translation.xlators.xsd.XSDTranslator.translateFromNative(XSDTranslator.java:136)
         at oracle.tip.adapter.mq.inbound.MessageProcessor.translateMessage(MessageProcessor.java:377)
         at oracle.tip.adapter.mq.inbound.MessageProcessor.processMessage(MessageProcessor.java:217)
         at oracle.tip.adapter.mq.inbound.MessageProcessor.run(MessageProcessor.java:165)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.UTFDataFormatException: Invalid UTF8 encoding.
         at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
         at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:187)
         at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
         at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
         at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2488)
         at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:1089)
         at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:3047)
         at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:521)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
         at oracle.tip.pc.services.translation.xlators.xsd.XSDTranslator.translateFromNative(XSDTranslator.java:134)
         ... 8 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-04-03T13:15:30.850-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>usmlrh37.arrow.com</HOST_ID>
    <HOST_NWADDR>192.168.226.25</HOST_NWADDR>
    <MODULE_ID>esb.monitor.manager</MODULE_ID>
    <THREAD_ID>29</THREAD_ID>
    <USER_ID>soauser</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>192.168.226.25:62472:1175620406325:10</UNIQUE_ID><SEQ>87</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Activity monitor manager received an unexpected exception while processing the activity messages. Due to the error "ORA-01653: unable to extend table ORAESB.ESB_FAULTED_INSTANCE by 8 in tablespace USERS
    ", the activity message could not be stored.
    </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.tip.esb.monitor.MonitorException: Due to the error "ORA-01653: unable to extend table ORAESB.ESB_FAULTED_INSTANCE by 8 in tablespace USERS
    ", the activity message could not be stored.
         at oracle.tip.esb.monitor.manager.database.AbstractFaultPersister.persist(Unknown Source)
         at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.persistMessage(Unknown Source)
         at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.store(Unknown Source)
         at oracle.tip.esb.monitor.manager.ActivityMessageManager.handleMessage(Unknown Source)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.process(Unknown Source)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.run(Unknown Source)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: ORA-01653: unable to extend table ORAESB.ESB_FAULTED_INSTANCE by 8 in tablespace USERS
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
         at oracle.oc4j.sql.proxy.PreparedStatementBCELProxy.executeUpdate(PreparedStatementBCELProxy.java:37)
         at oracle.tip.esb.monitor.manager.database.oracle.OracleFaultPersister.persist(Unknown Source)
         ... 11 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-04-03T13:15:30.853-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>usmlrh37.arrow.com</HOST_ID>
    <HOST_NWADDR>192.168.226.25</HOST_NWADDR>
    <MODULE_ID>esb.server.dispatch.agent</MODULE_ID>
    <THREAD_ID>29</THREAD_ID>
    <USER_ID>soauser</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>192.168.226.25:62472:1175620406325:10</UNIQUE_ID><SEQ>87</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Failed to process deferred message</MSG_TEXT>
    <SUPPL_DETAIL>oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: Error occured while handling monitor message dequeued from monitor topic. Message text is "<activityMessages><activityMessage order='0' type='2'><flowId>ECA97010E20611DBBFEBA191573C68FA</flowId><subFlowId>1175620530577</subFlowId><source>379D02F0DD5F11DBBF92D52E11DE817E</source><sourceQName>Demo_Inbound_Queue_to_DB.Demo_Inbound_Queue_to_DB_From_Queue</sourceQName><timestamp>1175620530577</timestamp><operationGUID>379E8990DD5F11DBBF92D52E11DE817E</operationGUID><operationQName>Demo_Inbound_Queue_to_DB.Demo_Inbound_Queue_to_DB_From_Queue_RS.Dequeue</operationQName><errorMessage><![CDATA[java.util.MissingResourceException
    java.util.MissingResourceException
    java.util.MissingResourceException
    ]]></errorMessage><exception><![CDATA[ORABPEL-13004
    java.util.MissingResourceException
    java.util.MissingResourceException
    java.util.MissingResourceException
         at oracle.tip.adapter.mq.inbound.MessageProcessor.translateMessage(MessageProcessor.java:388)
         at oracle.tip.adapter.mq.inbound.MessageProcessor.processMessage(MessageProcessor.java:217)
         at oracle.tip.adapter.mq.inbound.MessageProcessor.run(MessageProcessor.java:165)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    ]]></exception><inPayload><![CDATA[ediExtract850Header           4085537732     8670SSD23962-29     008675989102007032220070322
    [b]Can any one please help me.
    Thanks
    Rao.

    Hi Bastiaan,
    Thanks for the reply. I have asked my DBA analyst to work on this. He has increased the table space. Now if I try to deploy the projects to ESB the following error is show.
    Error 1:
    error code: 1000 : 5
    summary: /rh37/u01/app/soa/10.1.3.1/SOA/integration/esb/oraesb/deploy/OAGISApp_OAGIS.zip (Read-only file system)
    Fix: Contact Oracle Support
    Error 2:
    Entity Deployment Failed
    error code: 0 : 10
    summary: An unhandled exception has been thrown in the ESB system. The exception reported is:
    "oracle.tip.esb.infra.exception.ESBRuntimeException: An unhandled exception has been thrown in the ESB system. The exception
    reported is: "java.lang.NullPointerException
         at oracle.tip.esb.console.CacheManager.updateService(Unknown Source)
         at oracle.tip.esb.console.CacheManager.replaceEntity(Unknown Source)
         at oracle.tip.esb.console.XMLConsoleManagerImpl.updateServiceInRepository(Unknown Source)
         at oracle.tip.esb.console.XMLConsoleManagerImpl.updateServiceFromElement(Unknown Source)
         at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.createEntity(Unknown Source)
         at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.createServices(Unknown Source)
         at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.deploy(Unknown Source)
         at oracle.tip.esb.configuration.deployment.DeploymentServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         at oracle.tip.esb.console.XMLConsoleManagerImpl.updateServiceInRepository(Unknown Source)
         at oracle.tip.esb.console.XMLConsoleManagerImpl.updateServiceFromElement(Unknown Source)
         at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.createEntity(Unknown Source)
         at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.createServices(Unknown Source)
         at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.deploy(Unknown Source)
         at oracle.tip.esb.configuration.deployment.DeploymentServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at oracle.tip.esb.console.CacheManager.updateService(Unknown Source)
         at oracle.tip.esb.console.CacheManager.replaceEntity(Unknown Source)
         ... 26 more
    Fix: -
    I tried to stop and start the OPMN. It didn't work. Can you please help me.
    Thanks
    Rao.
    Message was edited by:
    user552961

  • How to addRecord in Web Dynpro to Model node (Entity Service ref)

    Hi,
    1) I create Entity Service in CAF and try to write web dynpro Table UI for it.
    2) is it possible with using Model Node? or I MUST use Value Node - Table must have possibilities for Add, Edit and Delete records.
    Now I can edit, and delete records, but I can't add records with AddRecord method
    Code below
      public void NewTS( )
         //@@begin NewTS()
       IServiceFacade serviceFacade;
    // Add new Model object TS
       ATS ts = TSServiceProxy.create();
       ts.setDate( new Date(System.currentTimeMillis()));
       ts.getAspect().sendChanges();
       serviceFacade = CAFServiceFactory.getServiceFacade(tsDefinition.class);
    // try to addRecord to Controller context     
       IWDNodeElement n = wdContext.nodeTS().createElement(ts);
       wdContext.nodeTS().addElement(n);
    The error is: com.sap.caf.rt.exception.CAFBaseRuntimeException:
    Aspect row is invalid for aspect:   <Aspect name="TS" >
    Thx for any help

    Hi Nikolai,
    implement it in the following way:
    wdInit()
         IAspect originalAspect = TSServiceProxy.FindByName(employee) ;
         wdContext.nodeTS().bind(originalAspect)
         //just create new attribute this java native type IAspect
         wdContext.currentContextElement().setOriginalAspect() ;
    public void NewTS( )
    //@@begin NewTS()
         IAspect originalAspect = wdContext.currentContextElement().getOriginalAspect() ;
            IAspectRow newTS = originalAspect.createAspectRow() ;
            newTS.setAttributeValue("date", new Date(System.currentTimeMillis())) ;
    or
    public void NewTS( )
         IAspect originalAspect = wdContext.currentContextElement().getOriginalAspect() ;
            IAspectRow newTS = originalAspect.createAspectRow() ;
         ITSElement tsElem = wdContext.nodeTS().getTSElementAt(originalAspect.indexOf(newTS)) ;
            tsElem.setAttributeValue("date", new Date(System.currentTimeMillis())) ;
    Best regards,
    Aliaksei

  • How to delete entity-Data in the Database?

    Hello!
    Problem:
    I want to change the the Datatype of an attribute of an Entity-Service. Doing so and deploying the Application afterwards I get an deployment error, because of the changed Datatype.
    Undeploying the application doesn´t delete the Data of the Entities and doesn´t solve my Problem. 
    Where can I manipulate or delete the Data-Tables of my Entity-Services? I´ve applied local peristency.
    Thank you for your effort in advance.
    Jörg

    Hi Ju00F6rg ,
    Two possible ways to solve this:
    1. Check deployment exception and understand that is the cause. Typically, that's clear from exception which db table can not be updated. You can remove those entries which restrict table updating or remove whole table from DB at all.
    2. Open your CAF dictionary project and check all tables names. Then connect to your DB and execute statement
    like this for all of the tables:
    DELETE FROM <YOUR_TABLE>
    DB name you can find by openening config tool:
    \usr\sap\<instance>\JC<id>\j2ee\configtool\configtool.bat
    Click "Yes" for "Do you want to use the default DB setting?" message box. Select the "secure store" entry under "cluster-data" entry. Check the "databasename" property for
    "jdbc/pool/<instnace>/Url" entry.
    So, after that connect to this DB using according DB client and access your tables.
    Best regards,
    Aliaksei

  • "Entity Service" update function - response possible?

    Hello,
    I have created a WSDL file in XI and imported it into my CAF application as External Service. The External Service is wrapped by an update operation from an Entity Service.
    As my External Service is a synchronous WebService, I also get a response if the update was successful or not. But in update function there is no possibility to map this response for return (same with delete).
    Do I have to create my own update funtion to be able to get information in my application services if update was successful or not? Or is it anyhow possible to expand the standard update operation?
    Thanks for your answers
    Joschi

    As I know it's possible to create additional custom method for business entity wrapper and map it to external service operation. For example: "Collection updateMyEntity(params)".
    The question is the following: why do you need to use standart update method if it does not satisfy your requirements ?
    The only reason is to use CAF runtime service access functionality in order to access your business entity in generic way. CRUDs operations are designed for this purpose (create, read, update, delete standart operations). These standart methods are required for all business entites and can not be removed. From architectural point of view "update" method wrapping does not make sense without wrapping of others: "create", "read", "delete". If all these methods are implemented properly, in this case business entity service is consitent in the CAF context and  you can use additional powerfull CAF features.
    If you just need to execute some query for updating your data using external service I recommend you to create new custom method in your business entity according to your requirements. Also, it will not probably confuse another developer who touched this entity design.
    Best regards,
    Aliaksei

  • Removing/updating data through CAF entity service

    Does anyone know a way to remove/update data through a CAF entity service from a web dynpro which uses the webdynpro model of the CAF project ?

    Hi Nicolaij,
    This example describes how UPDATE and DELETE works under SP8.
    Hopefully it helps.
    Regards
    Kamil
    UPDATE of entity called "Bank"
    =======================
    ABank recordBank;
    recordBank = BankServiceProxy.read(“000000024”);
    recordBank.setCountryId(„Germany“);
    IAspect aspectList = recordBank.getAspect();
    aspectList.sendChanges();
    DELETE from entity called "TransferID"
    ============================
    ATransferID recordTransferID;
    recordTransferID = TransferIDServiceProxy.read(„123115651“);
    IAspect aspectList = recordTransferID.getAspect();
    IAspectRow aspectRow = aspectList.getAspectRow(0);
    aspectList.removeAspectRow(aspectRow);
    aspectList.sendChanges();

  • Problems updating Entity services or application services

    Hello all,
    I'm working with SAP Netweaver Developer Studio creating a new CAF application.
    First all, I import the SAP Entreprise Service, then I model the entity service, I expose my application Service as a Web Service and finally I deploy it and test it.
    However, when I try to edit my entity service (for instance, including a new attribute) or application service (for instance, changing the bussiness logic code) and I redeploy it, the Web Service Navigator doesn't update the changes.
    So, sadly I must start again configuring the entity and application service.
    Any idea??
    Thanks,

    everytime you change the signature (structure of input/output) of the entity or application service, the change is not automatically propagated to the web service definition. you have to delete manually the web service configuration for the entity or application service or recreate it. you can call it a bug or a feature. it's up to you.

  • Deleting Web Services

    Hi All:
    I have to delete a Web service from a CAF application, but I don´t know what is the supposed  process to follow for  doing it. Sometimes I want to delete it from the application composite perspective but continue appearing.
    regards.

    Hi Martinez
    Before deleting that External service I would suggest you to do following which might solve your problem, looking at your build error it seems
    The web service which you imported as External Service was generated out of another CAF Application Service OrgApp
    and I guess it is in another dc or project because of which you are getting Error: is not a valid return type for
    the web service method getStatus, had the two Application Services been in one project or dc you would not have got this error. so what you can try is if return parameter for the getStatus method is a Java dictionary structure or constructed out of java dictionary simple types in OrgApp Application Service then goto to java dictionary project for that dc and expose it simple type  or return type  structure for getStatus method as public part ( both api & sda should be exposed ) come back to user dc or CAF Application Service
    which want to consume that web service as External Service goto to dc Metadata folder ( development configuration perspective inactive tab for trac CAF Main dc) and in Used DC add the exposed public part( both api and sda ) keep dependencies check box checked for build time and reload and rebuild your project your problem should get solved
    if still problem does not get solved delete web services that are like external services in other component. First ensure that the external service is not added in dependency tab of any other Application or Entity Service then Simply right click on that External service in your CAF Perspective and delete it. and rebuild your dc again
    this should solve the problem & dont forget to award points for previous answer & for this answer if your problem gets solved
    Thanks
    Asif
    Edited by: asif hirani on Jan 21, 2008 7:05 AM

  • Realationship enterprise service - application/entity service

    I read some books about ESA and CAF but I still don't know the relationship between enterprise services in ESA and application and entity services in the Netweaver DevStudio (CAS framework).
    Are application/entity services also enterprise services? Or is there a difference?
    Thanks for your answers.
    Joachim

    You can consume SAP Enterprise Services. You can also participate in the definition of the Enterprise Services  through the ES Community (see ES Community under Enterprise SOA in SDN) and even create your own Enterprise Services. You can use whatever web development tools you like. In Netweaver Java stack, you can use CAF to implement or develop Application Services (where business logic is coded) leveraging Entity Services taping into your local or remote data model(s). Enterprise Services can be modeled and coded in CAF Application Services but you can use plain J2EE as well. In SAP case, the interfaces for Enterprise Services are defined in XI (input/output/exception). Their implementation happen in the appropriate SAP solutions like ERP where business logic can execute against appropriate data.
    Practically CAF Entity Services cannot be called Enterprise Services unless you want to. They just perform basic CRUD (create/read/update/delete) operations on an data object. They're more like utility services. But like Anton's mention of "Private Enterprise Services", what's private remains your own business!

  • Getting import errors while building the Dc for entity services

    Hi all,
    I am trying to create entity services in CAS and following the following help document from help.
    http://help.sap.com/saphelp_nw04s/helpdata/en/05/3a0741b5b7ee6fe10000000a1550b0/frameset.htm
    But While building  I am getting following imports errors:
    Error:
    com.sap.caf.rt.bol.IPersistentBusinessObject cannot be resolved or is not a valid superinterface     
    com.sap.caf.rt.services.eventing cannot be resolved (or is not a valid type) for the field CarJDO
    com.sap.caf.rt.bol.da.jdo.JDODADataAccessService cannot be resolved or is not a type
    changedData cannot be resolved     ,CarJDO.java
    com.sap.caf.rt.bol.da.DataAccessFactory.DATASOURCE_LOCAL_DA cannot be resolved     CarJDO.java     
    The method removeACL(String, String) is undefined for the type CAFPermission     CarServiceBean.java     
    loadByCustomKeys(Car) is undefined for the type IDataAccessService     CarServiceBean.java     
    Can anyone help.

    Hi Ritu,
    The problem is due to the version of NWDS you are working on. If its an older version like 7.0.0 please try to upgrade it to 7.0.9. With this the problem would be solved.
    You can try by deleting only the .metadata folder in the following path
    D:\Documents and Settings\user\Documents\SAP\workspace
    If still the problem exists the only thing you can do is reinstalling the IDE. before reinstalling it be sure that you completely delete all the workspace, .dtr and .dtc folders.
    All the best...award if useful

  • Access to Entity Service from Portal Application

    Hi Experts,
    I have a hybrid application which will be making use of both Web Dynpro and Portal Applications. I decided to use Entity Services to store my back-end data and can access it fine from the Web Dynpro project. I have included the public part of my CAF project into the Used DCs of my Portal project and while I am able to call the methods of the Entity Service at compile time, at runtime I receive an error message on the page:
    An exception occurred while processing a request
    I know in order to get this to work for Web Dynpro I had to include sap.com/tccolapi.sap.com/cafruntimeuicouplingapilib as a Library Reference and a few Used DCs, but while I have added the Used DCs to the Portal project, I am unsure of how to add the Library Reference. I assume this has to be added to portalapp.xml, but I don't know the syntax.
    Could somehow please reply with how to do this and whether this is all that is required in order to call Entity Service methods from Portal applications?
    Thanks,
    JP

    Hi Smith,
    Write click on the Project then goto the Properties=>Webdynpro References=>Library references
    add
    caf/eu/gp/api
    sap.com/cafruntimeuicouplingapilib
    And add the following DC in your project.
    1> External in caf/eu/gp/api (CAF domain)
    2> caf/eu/gp/api/wd (CAF domain)
    3> com.sap.security.api.sda (SAP-JEE)
    portalapp.xml
    <?xml version="1.0" encoding="utf-8"?>
    <application>
    <application-config>
    <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal, SAPJ2EE::library:cafeugp~api"/>
    </application-config>
    <components/>
    Check this thread .
    Using CAF GP API in Portal Application project
    Regards,
    Mithu

  • Using different RFC's in one Application / Entity Service?

    Hello *,
    I just want to create my first Composite Application Service but before I begin I have some questions.
    The service will read out material master data from PLM. For that it has some findBy-operations with full-text search (creationDate, MatNr. ...) which return a result list and one operation which returns the material object for a given MatNr.
    For this operations I need to call different RFC's which are imported by external services.
    Now my questions:
    1. What kind of service should wrap my external services and provide the operations? Should I use one or more entity service to wrap external services and then realize the operations in an application service? Or should I just take an application service without entity services?
    2. The created service should not only be an internal CAF  service but also a Web service? How can I realize this?
    Thanks for your answers.
    Best regards
    Joschi

    Ok, thanks a lot. So nearly everything's clear now. Only one question remains:
    > 6. mark the entity service as "remote" and create a
    > web service from it
    > (note: this requires NW04s SP8)
    Is this possible? I can't find any checkbox to mark an entity service as "remote" like in an application service (NWDS 7.0.07 and NW04s SP8).
    So I have to map the findBy operations to an application service and create a web service from it!?
    Regards
    Joschi

  • IMP: How to delete the service order

    Hey Experts,
    Can you tell me how to delete the service order which was created in IW31..? or we have any Functions Module to delete the service order?
    and one more question is I have more than 100 service order in the table ,but it will display only 50 order when i execute this Functions Module BAPI_ALM_ORDERHEAD_GET_LIST
    can you tell me how to solve this problem...?
    Thanking you in advance,
    Regards
    J Sarathi

    This is what the BAPI_ALM_ORDERHEAD_GET_LIST documentation says
    "You can use this method to determine a list of orders according to a list of selection criteria. The number of hits that are produced for the person calling up the list, can be specifically reduced; without further parameter transfers, the first 50 hits are displayed. A complete list of the hits is stored internally. If you call up the selection again within a Logical Unit of Work (LUW) without changing the selection parameters, but with other refurbishment parameters, then you receive further partial quantities of the selection result, as specified by you."
    and for deletion
    check whether you can set any deletion status through the fm BAPI_ALM_ORDER_MAINTAIN
    Also check the business objects BUS2007, BUS2088

  • Error while building the DC for CAF entity services

    Hi all,
    I am trying to create entity services in CAS and following the following help document from help.
    http://help.sap.com/saphelp_nw04s/helpdata/en/05/3a0741b5b7ee6fe10000000a1550b0/frameset.htm
    But While building  I am getting following imports errors:
    Error:
    com.sap.caf.rt.bol.IPersistentBusinessObject cannot be resolved or is not a valid superinterface     
    com.sap.caf.rt.services.eventing cannot be resolved (or is not a valid type) for the field CarJDO
    com.sap.caf.rt.bol.da.jdo.JDODADataAccessService cannot be resolved or is not a type
    changedData cannot be resolved     ,CarJDO.java
    com.sap.caf.rt.bol.da.DataAccessFactory.DATASOURCE_LOCAL_DA cannot be resolved     CarJDO.java     
    The method removeACL(String, String) is undefined for the type CAFPermission     CarServiceBean.java     
    loadByCustomKeys(Car) is undefined for the type IDataAccessService     CarServiceBean.java     
    Can anyone help.

    Hi all,
    I am trying to create entity services in CAS and following the following help document from help.
    http://help.sap.com/saphelp_nw04s/helpdata/en/05/3a0741b5b7ee6fe10000000a1550b0/frameset.htm
    But While building  I am getting following imports errors:
    Error:
    com.sap.caf.rt.bol.IPersistentBusinessObject cannot be resolved or is not a valid superinterface     
    com.sap.caf.rt.services.eventing cannot be resolved (or is not a valid type) for the field CarJDO
    com.sap.caf.rt.bol.da.jdo.JDODADataAccessService cannot be resolved or is not a type
    changedData cannot be resolved     ,CarJDO.java
    com.sap.caf.rt.bol.da.DataAccessFactory.DATASOURCE_LOCAL_DA cannot be resolved     CarJDO.java     
    The method removeACL(String, String) is undefined for the type CAFPermission     CarServiceBean.java     
    loadByCustomKeys(Car) is undefined for the type IDataAccessService     CarServiceBean.java     
    Can anyone help.

  • 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

Maybe you are looking for

  • DECODE function in Oracle gives duplicate data

    Hi, I want to retrieve distinct result using decode function and given below are the queries for that. SELECT DISTINCT O.*, DECODE(TA,'AP',AMT,'AC1',AMT,'AC2',AMT,'AC3',AMT,'AC4',AMT,NULL) AS CA, DECODE(TA,'AD1',AMT,NULL) AS DA FROM HT O, HIS H, V_CV

  • Function module to read Comma Seperated File (CSV)

    Hi, Is there any Function module to read CSV file from presentation server or Application server? Regards, Madhu

  • Playing different Movie Clips onRollover?

    I have several buttons that I would like to play different movie clips onrollover on the stage. So if button 1 is rolled over it plays a clip in the lower right corner and when rolled off it stops and if button 2 is rolled over it does the same. How

  • Force Rebuild Thumbnails?

    Hey everyone, When editing images in iPhoto'08, the thumbnails do not update. Is there a way of forcing the thumbnails to rebuild? Thanks

  • AYUDA PARA SINCRONIZAR

    BUENAS TARDES, DE FAVOR SOLICITO EL APOYO DEBIDO A QUE NO HE PODIDO HACER FUNCIONAR LA SINCRONIZACION DE LAS CARPETAS, YO CUENTO CON UN EQUIPO MAC, HE DESCARGADO E INSTALADO EL  SOFWARE PERO NO SE ACTIVA LA FUNCION DE SINCRONIZACION, MUCHO AGRADECERI