CAF Application services project -Error
Hi
I'm creating in CAF Application services project
Application is deployed but go to the CAF UI Admin part get Bellow Error
Failed to get service module: error <null>
Failed to read configuration data from XML fail. Configuration name: <null> Error: Configuration does not exist.
Regards
Srinivas
closed
Similar Messages
-
Error in executing RFC or CAF Application Service
Hello Everybody,
I am creating course approval process, in which I am calling RFC for user info and after course approval, calling CAF application service to persist this data.
But, both services are not working in process. I have tested callable objects for these services and tested successfully.
But, when I am attaching it in the process then process can't go forward from this point.
I have checked in Log viewer and found following error:
Path to object does not exist at com.sap.caf.eu.gp.model.pfw.local, the whole lookup name is sap.com/com.sap.caf.eu.gp.model.pfw.local/GPUWLBridge.
What should be the problem in this?
If I remove these services then whole process works fine.
Thanks in advance,
BhavikHello All,
Is there any concept like, I call perticular backgound object first time then I cannot call that object for some period of time?
I am getting same error in calling RFC callable object as well as CAF service callable object.
I can execute these callable objects in the process first time successfully. But, When I execute this process second time, these callable objects won't execute.
I can execute same process after 3 to 4 hours successfully once.
What should be the reason behind this? -
Accessing CAF application service from outside
Hi,
Can CAF application service be called from outside the CAF? Example from a pure JSP page?
MayukhYou can also call a CAF service via the EJB protocol from JSP. Each CAF Service gets deployed as a Stateless Session bean. You can view these in the IDE if you switch to the J2EE perspective in your CAF project.
-
How to log Exceptions raised in CAF Application Services
Hi All,
When there is an Exception rasing in CAF Application Service custom method implementation what are the steps need to follow for send that exception details to log files & where those log files will be generated i.e either in server, local system, etc.
If we use following 2 different lines please explain me where that trace is going to written:
1) System.out.println(e);
2) e.printStackTrace();
Thanks in Advance,
Uday.Hi Uday,
Try this (in my case I'm using that in Background CO that implements IGPBackgroundCallableObject ):
public static Location logger =
Location.getLocation(<yourClass>.class);
Catch block:
} catch (GPInvocationException e) {
throw new GPTechnicalCallableObjectException(
logger,
resourceAccessor,
"ERROR_PARAMETERS",
e);
} catch (GPEngineException e) {
throw new GPTechnicalCallableObjectException(
logger,
resourceAccessor,
e.getMessage(),
e);
Reward points if it's helpful. -
Unable to instantiate GP process from CAF application service
Hi,
I am trying to instantiate a process from my CAF application service as follows.
IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate("7CE44BF090BF11D99817000D60B211F1",user);
When the execution reaches this step, I am getting the following exception.
com.sap.engine.frame.core.load.SAPClassNotFoundException
I suspect that CAF runtime is not able to load GPProcessFactory class. Is there any settings that need to be done or I have to deploy something on the server?
Please help.
Thanks
RaghavHi Raghavendra,
It seems you are using SPS7 !
Check runtime reference for J2ee application in application-j2ee-engine.xml :
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="library">cafeugp~api</reference-target>
</reference>
Best regards,
Aliaksei -
Web Service and CAF Application Services - How to return a table
Hello,
I'd like to build a CAF Application Service and expose it as a Web Service. This service should return an array or table which I'd like to display in a Visual Composer model.
I understand that there're limitations at CAF regarding supported data types.
Does anyone know how to get a workaround?
Any information is very appreciated.
Kind regards
StefanHi,
You can return a list.
The standard way to do this is you have to create a complex data type for response.
Configure the cardinality of this data type to 1..n so as to accomodate a list.
In your implementation add your list to this response message and return the list.
This waly you can return collections.
Hope it helps.
Regards,
Srinivasan Subbiah -
Exception in CAF application service
Hi All
I am trying to access the BAPI bapi__mddataset__get__axis__info
from a CAF application service. But receive following exception. Any clue how to solve it.
at com.sap.caf.rt.bol.da.remote.MessageEntityConverter.createNewInstance(MessageEntityConverter.java:788)
at com.sap.caf.rt.bol.da.remote.MessageEntityConverter.retrieveElementValue(MessageEntityConverter.java:494)
at com.sap.caf.rt.bol.da.remote.MessageEntityConverter.retrieveMessageValue(MessageEntityConverter.java:447)
at com.ibm.cer_test.extsrv.MPConnector.process(MPConnector.java:65)
at com.ibm.cer_test.extsrv.bapi__mddataset__get__axis__info.BAPI__MDDATASET__GET__AXIS__INFOBean.BAPI__MDDATASET__GET__AXIS__INFO(BAPI__MDDATASET__GET__AXIS__INFOBean.java:40)
at com.ibm.cer_test.extsrv.bapi__mddataset__get__axis__info.BAPI__MDDATASET__GET__AXIS__INFOLocalLocalObjectImpl0.BAPI__MDDATASET__GET__AXIS__INFO(BAPI__MDDATASET__GET__AXIS__INFOLocalLocalObjectImpl0.java:115)
at com.ibm.cer_test.appsrv.mdapp.MdAppBean.getMdDataSet(MdAppBean.java:295)
at com.ibm.cer_test.appsrv.mdapp.MdAppLocalLocalObjectImpl0.getMdDataSet(MdAppLocalLocalObjectImpl0.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.caf.rt.services.serviceaccess.ServiceWrapper.findByDataObject(ServiceWrapper.java:269)
at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessBeanImpl.findByDataObject(CAFServiceAccessBeanImpl.java:223)
at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessLocalLocalObjectImpl20.findByDataObject(CAFServiceAccessLocalLocalObjectImpl20.java:875)
at com.sap.caf.rt.ui.cool.generic.AspectServiceAccess.findBy(AspectServiceAccess.java:275)
at com.sap.caf.rt.ui.cool.generic.Query.execute(Query.java:218)
at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.TableViewCC.execute(TableViewCC.java:323)
at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.TableViewCC.setup(TableViewCC.java:276)
at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.InternalTableViewCC.setup(InternalTableViewCC.java:192)
at com.sap.caf.ui.servicebrowser.components.visualizer.views.ServiceBrowserCV.onActionExecuteQuery(ServiceBrowserCV.java:180)
at com.sap.caf.ui.servicebrowser.components.visualizer.views.wdp.InternalServiceBrowserCV.wdInvokeEventHandler(InternalServiceBrowserCV.java:215)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:707)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)
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.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
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: java.lang.ClassNotFoundException: com.ibm.cer_test.extsrv.bapi__mddataset__get__axis__info.output.AXIS__INFO
Loader Info -
ClassLoader name: [ibm.com/cer_test]
Parent loader name: [Frame ClassLoader]
References:
common:service:http;service:servlet_jsp
service:ejb
common:service:iiop;service:naming;service:p4;service:ts
service:jmsconnector
library:jsse
library:servlet
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:ejb20
library:j2eeca
library:jms
library:opensql
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:webservices
interface:cross
interface:ejbserialization
sap.com/cafruntimeear
library:com.sap.guid
library:com.sap.util.monitor.jarm
sap.com/com.sap.jdo
library:cafmetamodellib
sap.com/caf~core
library:cafruntimeconnectivity
library:cafruntimeconnectivity~base
service:applocking
interface:security
library:cafruntimeapi~lib
service:tcsecdestinations~service
interface:tcsecdestinations~interface
Resources:
C:
usr
sap
J17
JC01
j2ee
cluster
server0
apps
ibm.com
cer_test
src.zip
C:
usr
sap
J17
JC01
j2ee
cluster
server0
apps
ibm.com
cer_test
EJBContainer
applicationjars
ibm.comcer_testejbmodule.jar
C:
usr
sap
J17
JC01
j2ee
cluster
server0
apps
ibm.com
cer_test
EJBContainer
clientjars
clientibm.comcer_testejbmodule.jar
Loading model: {parent,references,local}
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:382)
at com.sap.caf.rt.bol.da.remote.MessageEntityConverter.createNewInstance(MessageEntityConverter.java:781)
... 50 more
Thanks in advance
SudipHi,
I too got an exception like that.
1. Instead of code
patentServiceLocal local = this.getpatentService();
local.update(OBJECT);
use the following
this.getpatentService().update(OBJECT);
I got by problem solved this way.
Regards,
Srinivasan Subbiah -
Error when trying to create a Composite Application Services project
Hi Experts,
I am facing a problem while trying to create a project using NWDS 7.0 SP 13
New Development Component Project-> Composite Application Services
then pressing finish, it throws an error as follows
"Generation can not completed due to one or more error"
Reason :
Errors occurred during code generation
Warning :
EAR-META-INF generation failed : null
Plz help me to solve this
Thanks in advance,
JohnHi John,
It looks like there might be issue with CAF services related plugins. Check if there are any errors in log file under metadata folder of your workspace.Try deleting the metadata folder & restart the NWDS or start in a new workspace.
I feel if the issue persists, it is a bug & you can raise an OSS ticket.
Kind Regards,
Nitin -
CAF-Application Service not visible in GP
Hi ,
I've created a composite appliocatioon service which contains an entity service and an application service.
After deploying, I also tested it successfully.
Now I want to use this service in callable object in GP.
But I'm not able to see the application service there.
My application is visible there, but next two column(Service name and method name) remains blank.
Wat I've read from tutorials is that only application service can be used in GP.
It is showing service name and method name for caf.core and caf.tc,but not for my application.
Can anybody tell me the reason what is the possible cause for that ?
regards,
PiyushHi Dipankar,
I have already tested the service by the procedure you have mentioned.It is working fine from service browser window.
Is there anything else need to be done to use that service in CAF GP(some configurations etc)?
While creating CO, it is showing the service name and methods for caf.core but not for my Application.
Regards,
Piyush -
Working with the line item table in CAF application service
Hello SDNs,
I am trying to retrive a value from the Nested list of one of my application service.
for example, suppose i have 2 operations in a application service, 1, calls the BAPI_PO_GETDETAIL1 based on the PO number given it returns the POItem, POServices tables.
2, operation accepts itemno and PO number as a input, and inside calls the 1st operation and wants deal with the POItem and POServices tables which of type standard BAPI classes nested under the main structure created in application service.
For example, i want to compare the item number given as input with the item numbers in the Item table, which is a output of 1st operation .
How to get the itemnumber from the POItem table, as this is a nested structure under POOut(defined in AS level) and how to compare this.
i have written the code as follows but it is returning the error. Can any look into this and suggest me.
public com.xxx.demo.goodsnserviceack.types.POProcessOut getPOServices(@javax.jws.WebParam(name="PONumber")
* java.lang.String PONumber, @javax.jws.WebParam(name="POItem")*
* java.lang.String POItem) {*
// POProcessOut is a output node of current operation
* POProcessOut PPO= new POProcessOut();*
//POHeader details is the nested structure under POProcessOut
* POHeaderdetails header=new POHeaderdetails();*
//POOutDetails is the output structure of 1st operation
* POOutDetails pt=new POOutDetails();*
* try{
//calling the first operation *
* pt= executeBAPIPOGetDetail(PONumber,"X","X");*
* //setting header details*
* header.setPO_NUMBER(pt.getPOHeader().getPO_NUMBER());*
* header.setVendor(pt.getPOHeader().getVENDOR());*
* header.setCOMP_CODE(pt.getPOHeader().getCOMP_CODE());*
* header.setSTATUS(pt.getPOHeader().getSTATUS());*
* PPO.setPOHeaderdetails(header);*
* //comparing the POItem number from POItem table and input of current operation
List<BAPIMEPOITEM> itemlist= pt.getPOItem();*
* while(itemlist.isEmpty()==false){*
* String itemnum= itemlist.get(0).getPO_ITEM();*
* if(itemnum.equals(POItem))*
* PPO.setItemno(itemnum);*
* catch(CAFServiceException e){*
* e.printStackTrace();*
* return PPO;*
Your inputs will be appreciated.
Thanks,
Sireesha.Have you accessed the external webservice in this way:
EJBLocalHome localHome = HomeFactory.getInstance().getLocalHome("localejbs/sap.com/comptest/ACCRJAVAWSVI__DOCUMENT");
Method m = localHome.getClass().getMethod("create", new Class[]{});
ACCRJAVAWSVI__DOCUMENTLocal srv = (ACCRJAVAWSVI__DOCUMENTLocal)m.invoke(localHome, new Object[] {});
srv.validateLogin(input) ;
Aliaksei -
How to use an Interactive form in a CAF Application service operation ?
Hi,
I have a peculiar requirement here:
The user wants that on the trigger of a specific operation an operation of the Application service should get invoked: this operation should pick up a Adobe form template from a destination and then prefill this forms with some values and then store the same in the backend DMS.
It's very easy to accomplish this task in WD Java with the use of Interactive form element but here we don't want any kind of user interaction for these forms, just the form templates will be prefilled with some dynamic values and then the same will be saved as is.
Can some one please provide some insight into how the same can be acieved, any API's etc?.
Please reply ASAP.
Regards,
ManishHi Manish,
If I get you correctly then you want to Upload a prefilled Adobe IF from some location without any user interaction and save it to some Backend/Temp storage: You need to have something like you have a user inbox and mail comes to this with the Adobe Form as an attachment, you extract the attachment and read it using available Java apis for reading. You can also specify a particular folder where you can place the filled form and then read it using FileInputStream and can save it in the backend after you have it in binary form in your application.
Hope this helps!!
Cheers,
Arafat -
NW 04s SP 7: CAF, External Service Configuration Error
Hi,
i get an error by calling the <i>Service Registration</i> for External Services (CAF Runtime) in the <i>External Service Configuration</i> Admin Tool.
At the moment i have n external services deployed. The error appeared when i've called the Service Registration for the first time.
The installation was finished without any errors.
The first lines of the exception:
java.lang.NullPointerException
at com.sap.caf.mp.mmr.adapter.ServiceDefinitionTypeConverter.convertExternalInterface(ServiceDefinitionTypeConverter.java:507)
at com.sap.caf.mp.mmr.adapter.MMServiceRetrievalAdapter.getExternalInterfaces(MMServiceRetrievalAdapter.java:547)
Against the link for the <i>Business Entities</i> in the <i>External Service Configuration</i> works fine.
Regards
WolfgangHi Wolfgang,
I am getting the same Problem ? Have you got the Solution ?
Thanks in Advance
Ashutosh -
CAF Application Service - can not delete record
Hello All. I have some problem.
Code:
public java.util.List addGoodsItem(java.util.List inputGoodsItem) throws com.sap.caf.rt.exception.CAFDeleteException, com.sap.caf.rt.exception.ServiceException, com.sap.caf.rt.exception.CAFUpdateException, com.sap.caf.rt.exception.CAFFindException {
java.util.List retValue;
try {
//@@custom code start - addGoodsItem(java.util.List)
retValue = new ArrayList();
String temp = "";
for (Iterator it = inputGoodsItem.iterator(); it.hasNext();)
InputGoodsItem item = (InputGoodsItem) it.next();
try {
GoodsItemServiceLocal serv = this.getGoodsItemService();
List iList = this.getGoodsItemService().getById(new QueryFilter(item.getId()));
if (iList != null && iList.size() > 0)
int size = iList.size();
for (int i = 0; i < size; i++)
GoodsItem tmpItem = (GoodsItem) iList.get(0);
temp = "T2 [ " + i + "]";
iList.remove(tmpItem);
temp = "T3[" + i + "]";
temp += " class:" + tmpItem.getClass().getName();
temp += " id:" + tmpItem.getId() + " key [ " + tmpItem.getKey() + "]";
serv.delete(tmpItem);
temp = "T4 [ " + 5 + "]";
catch (Exception e)
retValue.add(item);
InputGoodsItem i = new InputGoodsItem();
i.setDescription(e.getClass().getName()
+ "[" + temp + "]"
+ " [" + e.getMessage() + "]");
retValue.add(i);
//@@custom code end - addGoodsItem(java.util.List)
return retValue;
} finally {.........}
in result i have this:
>com.sap.caf.rt.exception.CAFDeleteException[T3[0]
class:com.j.shell.besrv.goodsitem.GoodsItem id:ART00501
key[3332db84-1ae2-11df-a512-22348000c006]] [MMR object ID: GoodsItemService cannot be found]Full log
Full Message Text
Caught com.sap.caf.rt.exception.DataAccessException: MMR object ID: GoodsItemService cannot be found
at com.sap.caf.rt.bol.da.jdo.JDODADataAccessService.remove(JDODADataAccessService.java:194)
at com.j.shell.besrv.goodsitem.GoodsItemServiceBean.delete(GoodsItemServiceBean.java:274)
at com.j.shell.besrv.goodsitem.GoodsItemServiceLocalLocalObjectImpl0_0.delete(GoodsItemServiceLocalLocalObjectImpl0_0.java:478)
at com.j.shell.appsrv.shellservice.ShellServiceBean.addGoodsItem(ShellServiceBean.java:639)
at com.j.shell.appsrv.shellservice.ShellServiceBean.addGoodsItem_R(ShellServiceBean.java:584)
at com.j.shell.appsrv.shellservice.ShellServiceObjectImpl0_0.addGoodsItem_R(ShellServiceObjectImpl0_0.java:971)
at com.j.shell.appsrv.shellservice.ShellService_Stub.addGoodsItem_R(ShellService_Stub.java:770)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy247.addGoodsItem_R(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
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(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sap.caf.rt.exception.DataAccessException: MMR object ID: GoodsItemService cannot be found
at com.sap.caf.rt.metamodel.MetaModel.getBusinessEntityInterface(MetaModel.java:193)
at com.sap.caf.rt.metamodel.MetaModel.getBusinessEntityInterface(MetaModel.java:80)
at com.sap.caf.rt.internal.bol.da.BEReferencesRemover.removeReferences(BEReferencesRemover.java:260)
at com.sap.caf.rt.bol.da.jdo.JDODADataAccessService.remove(JDODADataAccessService.java:175)
... 39 more -
Problem when Creating Project (Composite Application Services) in NWDS
I've seen a few posts regarding this but I don't feel as if any real solution was given.
I just installed Netweaver Developer Studio (7.0.15) with the current JDK/JRE (1.6.0_07). When trying to create a new Composite Application Services project within the Studio, using the new project wizard, I get an error: Problem when Creating Project.
I get the EJB Module and Dictionary to create within my navigator with no problems, however, during the creation of the metadata, the error occurs. I do have the metadata folder appear within the navigator, but nothing in it. None of the other three items are created.
I have tried the attempt at deleting the metadata folder within my workspace directory and trying again but the same exact result occurs.
Is there any other solution out there for this problem besides attempting to find older versions of NWDS, etc. that are more "stable"?
Thank you!Durga,
Very simple but effective solution.
I had tried uninstalling / re-installing NWDS with no effect but uninstalling / re-installing NWDS AND all java related products on my machine did work.
Note: For anyone else with this issue in the future. I installed the Java SDK / JRE 1.4.2_18 with NWDS 7.0.15 in case this is also a possible issue with versions.
Thanks, Durga! -
Accessing BAPI web services from CAF External Services
We have wsdl files that corresponds to BAPI calls. Using CAF, we want to create an external service using those wsdl files and then create an application service which will be in turn used by web dynpro for developing our composites. We did the following steps:
1. Created a new Composite Application Service project
2. Then right click on the External Services, select import, choose Web service.
3. Select 'Local File System or URL' option. Copy the URL from the wsdl file and pasted the URL in the 'Browse' text field and click Next. Got an error in loading the web service.
4. Removed the Proxy Server settings in Developer Studio but in vain. Tried all possible combinations with the URL also (such as with and without the wsdl key at the end of the URL and using the 'UDDI or URL' option under the Proxy Definition of the External Services Import and also with the Window => Preferences => Proxy settings).
5. Since the above options failed, copied the wsdl files to the local drive and then choose that WSDL from the file system. Able to import.
6. Created the application service and provided the custom code for the request and response.
7. Registered the external service in the CAF browser -> Administrative tools -> External Service Configuration
8. Tested the service through the Developer Studio.
The error I get is: ERROR: IOError while working with the message. Check the nested exception: Connect Refused: connect:
Any idea on what needs to be done to resolve it?authentication is required at design time to read the wsdl from bapis. did you provide username and password when importing the web service.
you can always add the username and password to the url to see if you can successfully get to the wsdl. Like that http://<webas_abap_servername>:<portnumber>/sap/bc/soap/wsdl11?services=BAPI_PO_CREATE&sap-client=<clientnumber>&sap-user=<username>&sap-password=<password>
Maybe you are looking for
-
Restore entire Mail and Address Book files
Hi, I reformatted my computer (erase and reinstall) to clear out all the clutter. I figured I could use the Time Machine records to restore whatever files I needed. I have encountered 2 problems: I have consulted this Apple article for assistance: ht
-
Loss of sound on my system (pavilion dv6)
I ve lost sound on my system and cant seem to play any of my audio files on windows media player
-
ITunes update wont load. asking for Drive F. There is no drive F.
Tried to load iTunes update. I proceeds and gives a window that says that there is no room on Drive F. I do not have a Drive F. iTunes should load to the C drive.
-
How to create barcode form in Acrobat Pro XI
i have checked a few video's regarding creating bar code eForm in Acrobat Pro X. However, i am finding difficulities to adding a bar code (No such field is available) in Acrobat Pro XI FormsCentral, is there any plug-in/update required?
-
Question: Updating T61 with SSD and Win 7 64bit?
First, my apologies for giving up so quickly and posting after my initial searching. The support pages and forums have changed considerably since I've been here last and drivers/updates don't seem as easy to find as they were before. I have a 2008-