EJB model showing arg1 , arg2 etc as input parameter attributes

Hi All ,
I am working on EJB models. I have done all required settings at EJB session and application dc and deployed EJB Dcs
successfully. When i am adding application dc as used dc i can see public part which i have created for EJB model. when i create EJB model my input parameterts are not showing exact names. they are shown as agr1 ,arg2 etc. i have worked earlier
on EJB models but never faced such issue. What can be reason for this? How to resolve this?
Thnx in advance.
Regards
Kavita

Hi,
Check the procedure you followed in the below links if helpful:
http://help.sap.com/saphelp_nwce10/helpdata/en/45/dd45e4bc295595e10000000a1553f7/content.htm
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20b21892-c31c-2a10-f484-fcef1eaf8c4f?overridelayout=true
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0914ef0d-0d01-0010-beb9-d85ef5a6188d?overridelayout=true
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c?overridelayout=true
Using EJB as model
Regards,
Charan

Similar Messages

  • How to use a WebService Model with String Arrays as its input  parameter

    Hi All,
    I am facing the following scenario -
    From WebDynpro Java i need to pass 2 String Arrays to a Webservice.
    The Webservice takes in 2 input String Arrays , say, Str_Arr1[] and Str_Arr2[] and returns a string output , say Str_Return.
    I am consuming this WebService in WebDynpro Java using WEB SERVICE MODEL. (NWDS 04).
    Can you please help out in how to consume a WSModel in WD where the WS requires String Arrays?

    Hi Hajra..
    chec this link...
    http://mail-archives.apache.org/mod_mbox/beehive-commits/200507.mbox/<[email protected]>
    http://www.theserverside.com/tt/articles/article.tss?l=MonsonHaefel-Column2
    Urs GS

  • Error in execution of EJB model

    Hi All ,
            I am using EJB model in my web dynpro dc which is having two wd comp.CompA is firing plug to interfaceview of compB.b4 firing plug its calling showDetails() method from interface controller of compB and executing model based on data sent by compA. When i am clicking link for the first time its working fine.i click link for the second time i am getting error as given below.
    also this EJB model is used by both (compA , compB). I have written code to create model instance in init of controllers of both components.
    com.sap.tc.cmiimpl.base.exception.BaseCMIImplRuntimeException: No object for mandatory target role 'return' of model class 'Response_HrHelpDeskLocal_getAllPolicyDocuments' with cardinality 'ONE' maintained
      at com.sap.tc.cmiimpl.base.model.BaseGenericModelClass.getRelatedModelObject(BaseGenericModelClass.java:403)
      at com.apl.hrhlpdyn.model.Response_HrHelpDeskLocal_getAllPolicyDocuments.getReturn(Response_HrHelpDeskLocal_getAllPolicyDocuments.java:33)
      at com.apl.hrhlpdyn.policydoc.wdp.IPublicPolicyDocs$IGetAllPolicyDocumentsReturnNode.doSupplyElements(IPublicPolicyDocs.java:1660)
      at com.sap.tc.webdynpro.progmodel.context.DataNode.supplyElements(DataNode.java:100)
      at com.sap.tc.webdynpro.progmodel.context.Node.getElementListAsObject(Node.java:242)
      at com.sap.tc.webdynpro.progmodel.context.MappedNode.createMappedElementList(MappedNode.java:78)
      at com.sap.tc.webdynpro.progmodel.context.MappedNode.supplyElements(MappedNode.java:69)
      at com.sap.tc.webdynpro.progmodel.context.Node.getElementListAsObject(Node.java:242)
      at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:259)
      at com.sap.tc.webdynpro.progmodel.context.Node.getChildNodeInternal(Node.java:950)
      at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:1368)
      at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:1339)
      at com.sap.tc.webdynpro.progmodel.context.Paths.isValid(Paths.java:922)
      at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.Table._isValidBindingOfPrimaryProperty(Table.java:973)
      at com.sap.tc.webdynpro.progmodel.view.UIElement.getEnabled(UIElement.java:366)
      at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter._init(TableAdapter.java:22926)
      at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter.setViewAndNodeElement(TableAdapter.java:360)
      at com.sap.tc.webdynpro.clientserver.uielements.adaptmgr.URAdapterManager.getAdapterFor(URAdapterManager.java:348)
      at com.sap.tc.webdynpro.clientserver.uielements.adaptmgr.URAdapterManager.getAdapterFor(URAdapterManager.java:124)
      at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.getAdapterFor(AbstractAdapter.java:814)
      at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GridLayoutAdapter$Cells.getContent(GridLayoutAdapter.java:978)
      at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GridLayoutAdapter$Cells.getParameter(GridLayoutAdapter.java:692)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutCellFragment(LSGridLayoutRenderer.java:830)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutRowFragment(LSGridLayoutRenderer.java:423)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutFragment(LSGridLayoutRenderer.java:350)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.render(LSGridLayoutRenderer.java:124)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSTrayRenderer.renderTrayFragment(LSTrayRenderer.java:1648)
      at com.sap.tc.ls.renderer.ie6.LSTrayRenderer.render(LSTrayRenderer.java:157)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.renderViewContainerFragment(LSViewContainerRenderer.java:202)
      at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.render(LSViewContainerRenderer.java:118)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.renderViewContainerFragment(LSViewContainerRenderer.java:202)
      at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.render(LSViewContainerRenderer.java:118)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer.renderFlowLayoutItemFragment(LSFlowLayoutRenderer.java:271)
      at com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer.renderFlowLayoutFragment(LSFlowLayoutRenderer.java:243)
      at com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer.render(LSFlowLayoutRenderer.java:118)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer.renderScrollContainerFragment(LSScrollContainerRenderer.java:672)
      at com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer.render(LSScrollContainerRenderer.java:131)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSTabStripRenderer.renderTabStripStaticContainer(LSTabStripRenderer.java:1795)
      at com.sap.tc.ls.renderer.ie6.LSTabStripRenderer.renderTabStripFragment(LSTabStripRenderer.java:1039)
      at com.sap.tc.ls.renderer.ie6.LSTabStripRenderer.render(LSTabStripRenderer.java:154)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutCellFragment(LSGridLayoutRenderer.java:830)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutRowFragment(LSGridLayoutRenderer.java:423)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutFragment(LSGridLayoutRenderer.java:350)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.render(LSGridLayoutRenderer.java:124)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSTrayRenderer.renderTrayFragment(LSTrayRenderer.java:1648)
      at com.sap.tc.ls.renderer.ie6.LSTrayRenderer.render(LSTrayRenderer.java:157)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.renderViewContainerFragment(LSViewContainerRenderer.java:202)
      at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.render(LSViewContainerRenderer.java:118)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutCellFragment(LSGridLayoutRenderer.java:830)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutRowFragment(LSGridLayoutRenderer.java:423)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutFragment(LSGridLayoutRenderer.java:350)
      at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.render(LSGridLayoutRenderer.java:124)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)
      at com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer.renderScrollContainerFragment(LSScrollContainerRenderer.java:672)
      at com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer.render(LSScrollContainerRenderer.java:131)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)
      at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:273)
      at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.getHtmlEtc(HtmlClient.java:1588)
      at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:892)
      at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:2207)
      at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:243)
      at com.sap.tc.webdynpro.clientserver.phases.RetrieveDataPhase.execute(RetrieveDataPhase.java:69)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)
      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)
      at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)
      at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1431)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1251)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:158)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
      at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:81)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:507)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:527)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:458)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:249)
      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:699)
      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:231)
      at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
      at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
      at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
      at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)

    Hi
    No object for mandatory target role 'return' of model class.
    Do the following checks
    1. Return node is model node or its a mapping to model node.(Both r different), Since u have bound it to table  so it should be mapping to model node.(for check --create one context node here u will find 4 option Mapping ,Model binding etc I am talking about this mapping)
    2.Check the size of that return node if it is 0 then see the mapping .
    3.If is it working fine in WSnavigator then most probably its a problem of mapping, and other could be after executing  the model invalidate the response node(I considered u know this)
    Let see
    Best Regards
    Satish Kumar

  • Importing EJB Model in NWDS

    Hi,<br>
    There is a simple Stateless Session Bean which uses an external library (JAR); and there is only 1 business method with just 1 line of code:
    RecordEx r = null;
    <br>
    RecordEx is one of the library classes;<br><br>
    While trying to import this as an EJB Model in Web Dynpro DC in NWDS (7.1 EHP1 SP01 Preview Version), it fails with a NoClassDefFoundError;<br>
    Below are the steps followed;<br><br>
    1. Create an External Library DC "ext"<br>
          1.1 Add the third party library to this DC<br>
          1.2 Create public parts ppC (Compilation) & ppA (Assembly) and add the library to both of these<br>
          1.3 Build the DC<br>
    2. Create an Enterprise Application DC "util"<br>
          2.1 Add Buildtime dependency to ppA public part of "ext" DC<br>
          2.2 Build & deploy<br>
    3. Create EJB Module DC "ejb"<br>
          3.1 Add Buildtime dependency to ppC public part of "ext" DC<br>
          3.2 Create a Session Bean (Stateless - Transaction: Container - Local Interface) <br>
          3.3 Create 1 business method, and create an object of one of the library classes in it<br>
          3.4 Add the business method to Local Interface<br>
          3.5 Check Component Properties > Permissions > Entity Forwarding<br>
          3.6 Build the DC - there are no build errors; default client & ejbjar public parts are created;<br>
    4. Create an Enterprise Application DC "app"<br>
          4.1 Add the "ejb" as Referenced Project<br>
          4.2 Add "util" as Used DC with Deploy Time & Runtime dependencies; (informs "util" EAR DC has no public parts)<br>
          4.3 Create a Compilation public part "EjbClasses" > Reference Entities > Select client public part of "ejb" DC<br>
          4.4 Build & Deploy the DC<br>
    5. Create a Web Dynpro DC "wd"<br>
          5.1 Add dependency to the "app" EAR DC<br>
          5.2 Add Buildtime dependency to ppC public part of "ext" DC<br>
          5.3 Add "util" as Used DC with Deploy Time & Runtime dependencies;<br>
          5.4 Import EJB Model Wizard > Select "app" EAR > Display 1 business method<br>
          5.5 But when that method is selected & click Next, nothing happens in NWDS. The Wizard windows stays like that with no processing<br><br>
    And the NWDS log has this NoClassDefFoundError:<br>
    <br>
    !MESSAGE Unhandled event loop exception
    <br>!STACK 0
    <br>java.lang.NoClassDefFoundError: com/sap/mdm/extension/data/RecordEx
    <br>     at java.lang.Class.getDeclaredMethods0(Native Method)
    <br>     at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
    <br>     at java.lang.Class.getMethod0(Class.java:2642)
    <br>     at java.lang.Class.getMethod(Class.java:1579)
    <br>     at com.sap.tc.webdynpro.model.ejb.importer.EJBCMIRuntimeMetadataFactory.createEJBModelInfo(EJBCMIRuntimeMetadataFactory.java:223)<br>
         at com.sap.tc.cm.ejb.modeltype.importer.dialog.EJBModelCreationDialog.afterEJBSelectPage(EJBModelCreationDialog.java:374)<br>
         at com.sap.tc.cm.ejb.modeltype.importer.dialog.EJBModelCreationDialog.nextPressed(EJBModelCreationDialog.java:172)<br>
         at com.sap.ide.cmi.core.internal.newmodelwizard.NewModelWizardDialog.nextPressed(NewModelWizardDialog.java:64)<br>
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)<br>
         at com.sap.ide.cmi.core.internal.newmodelwizard.NewModelWizardDialog.buttonPressed(NewModelWizardDialog.java:88)<br>
         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)<br>
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)<br>
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)<br>
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)<br>
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)<br>
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)<br>
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)<br>
         at org.eclipse.jface.window.Window.open(Window.java:796)<br>
         at com.sap.ide.cmi.core.internal.services.CreationServiceUI.createModel(CreationServiceUI.java:76)<br>
         at com.sap.ide.cmi.core.browser.actions.CreateModelAction.run(CreateModelAction.java:60)<br>
         at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionSingleAction.run(BaseSelectionSingleAction.java:39)<br>
         at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionAction.runInternal(BaseSelectionAction.java:78)<br>
         at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionAction.run(BaseSelectionAction.java:70)<br>
         at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)<br>
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)<br>
         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)<br>
         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)<br>
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)<br>
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)<br>
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)<br>
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)<br>
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)<br>
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)<br>
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)<br>
         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)<br>
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)<br>
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)<br>
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)<br>
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)<br>
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)<br>
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)<br>
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)<br>
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)<br>
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)<br>
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
         at java.lang.reflect.Method.invoke(Method.java:592)<br>
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)<br>
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)<br>
         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)<br>
         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
    <br>-----<br>
    Please let me know if any step is missed or if something is done incorrectly;<br><br>
    Thank you very much,<br>
    - Harish<br>
    Edited by: Harish Gali on Apr 30, 2010 11:37 AM

    informs "util" EAR DC has no public parts
    this is probably the issue. see if you can make the external library show up in the public part of the util DC
    Edited by: Christian Loos on May 3, 2010 1:03 PM

  • Normally if anyone buys an apple product (mac) , it comes with a built-in-apps that should be considered ( built in ) , Then why when the mac faces a mistake or an error that forces it to format , these apps don't show up ? etc : iMovie , garageband

    normally if anyone buys an apple product with a specific model (mac) , it comes with a built-in-apps that should be considered ( built in ) , Then why when the mac faces a mistake or an error that forces it to format , these apps don't show up ? etc : iMovie , garageband ...
    considered it should be '' BUILT IN APPS '' ??
    So does it really make sense that i should buy these apps again after i already payed an extra amount of money in the first place to get a model that includes them ??
    after formatting my mac these apps should be there like its a whole new device that i opened !!!
    I hope anyone with any useful information can share his thoughts or help with further steps .

    Downloading past purchases from the App Store, iBookstore, and iTunes Store   

  • How to achive multi-line editing (CRUD) with a table-UI on a ejb-model

    Hello community,
    i'm working on an prototype. we want to migrate an existing web-application to nw 7.1 with web-dynpro as ui-technology. the old application often uses javascript-/ajax- driven table-grid-controls. this table controls allowed editing the data in it. the conrol "records" every action. for example which rows were deleted, which were updated and which were appended.
    when the user has finished editing, he simply clicks a save-button. the table-grid control then sends the changes via ajax-calls to the server.
    now i want the achive such behavior in web-dynpro (7.1)
    for getting the data to be edited, i wrote an ejb and created an ejb-model in web-dynpro. so viewing the data works fine so far. the view-controller with the table-ui-element is bound to the view-controllers context, which is mapped to the context-controller to which again a model-object is bound, which retrieves the data from the ejb.
    inserting, updating and deleting single rows with a detail-view-controller also works, using additional context nodes (again mapped to addtional model-classes for crudp.
    but i know want to have all rows and cells to be editable. the user should be able to insert, update and delete in that table without neccessarily using a detail-view-controller.
    how would you achive this? holding every creates, update, deletes in single nodes? and when clicking a button to fire the save action to go to that nodes and apply that action? Or would you create an addtional flag-attribute in the node that shows what was done with that row? after pressing save also iterating the nodes, checking for the flag and doing the appropriate actions (but this maybee is performance critical when having a lot of rows)?
    any ideas how to achieve multiple crud-operations on a context-node, viewed with a table-ui-element would be welcome.
    regards
    Matthias

    Matthias,
    Let's address your questions one by one.
    1. You can make the table cells editable by chosing 'InputField' as TableCellEditor.
    2. Since you have bound your table to 'View Context' and 'View Context' to 'Component Context', all changes made by you in table will be visible in Component Context after every round-trip to server.
    3. To modify the data in 'backend', you need to modify your 'Save' method to check for every changed element and modify the data only if element was changed by user. To see if the element has been changed by user, use [IWDNodeElement.isChangedByClient()|https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/progmodel/api/IWDNodeElement.html] method. This method returns true if element was changed by user - this is what you need.
    To learn more about WD Table UI element, you may want to see [this link|http://help.sap.com/saphelp_nw70/helpdata/en/eb/220a415a47f06fe10000000a1550b0/frameset.htm].   
    Hope this helps.
    Vishwas.

  • TS4062 I can't sync music on my computer to my ipod touch; the ipod shows up under Devices in itunes but does not show buttons (Summary etc.) when I click on it. Suggestions?

    I can't sync music already on my computer to my ipod touch; the ipod shows up under Devices in itunes but does not show buttons (Summary etc.) when I click on it. I've read through all the Help tutorials but none of them say what to do if the sync options don't pop up when you highlight the device.  I've already spent way too much time trying to figure this out and it's driving me crazy!  Thanks for any help you can offer.

    This is correct.  It will not show in finder.  It is not an external storage device.
    The music sync is one way - computer to ipod.  The only exception is itunes purchases.  Open itunes connect ipod, do not sync, click File>Transfer Purchases

  • Creative Zen (16GB Model) showing incorrect song information

    <Creative Zen (6GB Model) showing incorrect song information I was given a Creative Zen for christmas, and I'm very happy with it.
    The only thing is, I've noticed that it seems to occasionally display the wrong title for the song it's playing. I have a playlist called RandomAll which I created using the Media Explorer software. Sometimes, when I look down at the player, I'll notice the wrong song information on screen. Not just the title or anything, but completely wrong information. For example, right now, my player is telling my that a Rihanna song is playing, and gives me all the details for that song (including the extended details if I go into the menu). But the song that's actually playing is a cover of Fraggle Rock by Me First & The Gimme Gimmes. It doesn't seem to be the same songs every time or anything like that, so I don't think it's a problem with the files.
    Is this an issue that has been noticed by anyone else? Is there anything I can do to fix it's And if not, is it the kind of thing I need to send my player back for?

    @ It could be incorrect ID3 tags on your .mp3s, if the source for your music had the wrong ID3 information, your Zen won't show the correct information unless you use an? ID3 Tag Editor to correct the source.

  • Error while importing EJB model in Web dynpro: Unable to fetch the EJBs.

    Hi,
    We are getting the below error while importing ejb model to Web dynpro.
    Error :
    Unable to fetch the EJBs. Check if the selected Enterprise Application contain the EJBs.
    I have created the public part-> It has a reference to EJB client and the enterprise application also has reference to the EJB project.The EJB is also added in dependency list.
    But still we are getting this error. Could anyone please explain what can i do to solve this issue.
    Best Regards,
    Karthika

    Hi Vishweshwara,
    Thanks for your reply.
    Please find the steps i followed while importing EJB model in webdynpro.
    1. The Entity forwarding permission has been enabled.
    2. public part reference has been created and through the reference entity option the ejbDC->Client public part is selected.
    I followed all the steps mentioned in the document. But still i am getting that error. In EJB DC we have list of JPA entities and stateless session beans are exposed as a webservice(top-down manner).The enterprise application has a reference to the EJB DC.
    I could be able to invoke the ejb service beans from ejb explorer and Webservice navigator.
    I am able to insert,delete and modify the records from there.
    Please let me know what could i do to resolve this error?
    Best Regards,
    Karthika
    Edited by: SAKarthika on Apr 29, 2011 1:43 PM

  • TS2529 I understand that iTunes 10.7 is available, but when I try to download, I still show 10.6. etc.  Is this just a matter of the servers being overloaded with requests right now ?  TIA

    I understand that iTunes 10.7 is available, but when I try to download, I still show 10.6. etc.  Is this just a matter of the servers being overloaded with requests right now ?  TIA

    There are intermittent issues reported with iTunes reporting that the update is available, but ASU not showing it as an option to install. (Got that a bit with the last 10.6.x version, too.)
    If that's what is going on, I'd try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

  • Build failed when use EJB Model

    Hi experts.
    I have one eb dynpro DC that contains a model type enterprise java beans.
    When i apply template "Service Controller" in component controller and after deploy i get the follow error in Build log:
    [javac] Compiling 26 source files to D:SAPWorkspacesSAPEHPWorkspace.jdi4     E7D65AC4087E200E11A14DD40E7DE510classes
         [javac] An exception has occurred in the compiler (1.5.0_17). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
         [javac] com.sun.tools.javac.code.Symbol$CompletionFailure: file javaxxml indannotation.class not found
    Error: D:SAPWorkspacesSAPEHPWorkspace.jdi4     2E7D65AC4087E200E11A14DD40E7DE510defaultlogs uild.xml:256: Compile failed; see the compiler error output for details.
         at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
    Can someone help me about that?
    i use NetWeaver EHP1 7.1 SP04.
    Best Regards
    Marcos Brandã

    Hi
    I have developed a CAF application.
    In my web dynpro i created a EJB Model from the Application Service of this CAF. The ear dependencies is ok to CAF.
    After that i made an apply template for Service Controller in my Web Dynpro component controller.
    When i build the component the errors occurs.
    I think this could be an error of my java version. I use 1.5_17. I reinstalled that version and dont work.
    I installed version ..5_22 and don't work. Then i installed version 6, and works. It's strange, because never happened this before.
    I did the same other times and always work. But now i have this error.
    I have alreday reinstalled the NWDS and change the workspace too. But don't work.
    Regards
    Marcos.

  • EJB Model Builder: class is not available in the ejb module archive file.

    Hi,
    We are testing
    SAP NetWeaver Developer Studio and
    SAP NetWeaver Application Server, Java(TM) EE 5 Edition.
    We created a sample EJB project(EJB 2.1) with an ejb and an EAR project, we deploy it using SAP NetWeaver Developer Studio.
    But when we see in the log of the server , there is a message like this:
    "EJB Model Builder: Bean class com.saptest.ejb.TestEJBBean is not available in the ejb module archive file., file: TestSAPEJB.jar#TestSAPEJB.jar"
    The jar contains this class, we don't know what is wrong.
    Thanks
    Germán Santana
    Bogota,Colombia

    You should place the file at:
    C:/JRun4/servers/default/default-ear/default-ejb/com/zbeans/Entity1Bean.class
    []s
    Michael

  • How to use byte[] in EJB Model

    Hi Colleagues,
    I have problem with binding byte[] to model attribute.
    So I have methos myMethod(byte[] byteArr).
    byte[] in the model is represent as Byte_Item type.
    So I fill this attribute in this way:
    inputFile is of type byte[]
    for (byte b: inputFile) {
                IImportedFileElement el = wdContext.nodeImportedFile().createAndAddImportedFileElement();
                el.setItem(b);           
    Then when I'm executing model object Ireceive.
    java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of an object loaded from local variable 'value'
    at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.setPropertiesForModelClass(EJBGenericModelClassExecutable.java:485)
    at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.buildModelClassListFromCollection(EJBGenericModelClassExecutable.java:655)
    at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.setPropertiesForModelClass(EJBGenericModelClassExecutable.java:553)
    at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.fillReturnParameterToMc(EJBGenericModelClassExecutable.java:711)
    at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.execute(EJBGenericModelClassExecutable.java:158)
    Could you help me with this problem.
    Best Regards,
    Dimitar

    You can put your Javascript code in the Onmouseover property of the column.
    I don't have the Javascript code for changing the color but for example the following will pop up an alert
    <af:outputText value="#{row.DepartmentId}" onmouseover="alert(\'Unload event fired!\')">

  • Oracle or MS SQL Server, EJB Models and Web Dynpro Application

    Hi
    I've a table in MS SQL database. I've created in Visual Admin, the datasource(jdbc/MyAlias) for the above. SQL Server has Employee Table with EmpId, FirstName, LastName and Description as its Columns.
    I want to display, modify , insert and delete entries from the Employee Table using web Dynpro. For this we have used JDBC method by which we create class file which will have JDBC connectivity and logic for getting data from backend. This class file then used for display, update and other operations. And the context is built at design time.
    This is not proper method, as this doesn't come under perview of MVC concept.
    I want to use EJB Models for this case. But I'm stuck with some problems.
    1. How do I implement EJB models in this scenario.
    2. How do EJB module (entity bean) connects to external database.
    3. What are the most logical steps to be used in this case.
    Any pointers for this will greatly appreciated with points?
    So far I was able to do create EJB module of Entity Bean type with all interfaces. But beyond this I'm not able to proceed. Do let me know the step wise procedure for this kind of scenario.
    Thanks
    Srikant

    Hi Srikant,
    I have worked on similar stuff, but the scenario was a little different. I worked on creating Web Services using EJBs, but the basic part was that, the web service was supposed to interact with the SQL Server database. So maybe I can help you...
    First thing which is needed is that you have created the JDBC Connector in your Visual Administrator correctly. If you wish to cross check, you can see my answer in the following thread:
    JDBC error
    In this thread itself I have given the code which is the solution to your problem (this is what i believe). I am pasting the code again:
    <b>InitialContext initialContext = new InitialContext();
    DataSource dataSource = (DataSource)initialContext.lookup("jdbc/MyAlias");
    java.sql.Connection connection = dataSource.getConnection();</b>
    You can use this code in the method of your EJB, and then you can easily use this connection object to access your database tables using SQL queries.
    And if by any chance you are looking for a step wise procedure for creating a web service from an EJB, then give me your email address, i will send you the doc.
    Bye
    Ankur
    Do reward points if it helps!!

  • WSDL for portlet based taskflow - doesn't show up input parameter

    Hi,
    I have created a taskflow which takes an input parameter in an ADF application. When I drag and drop on the page it works as expected.
    My requirement is to show this taskflow as part of webcenter portal app.
    I have created portlet entry based on this taskflow. When I deploy this ADF application, in the generated wsdl I am not finding the inputParameter which I have defined in taskflow. I am looking for how to pass parameter when I embed/consume this portlet in webcenter portal.
    I can see the parameter in generated [portlet.xml|http://adf-sample.googlecode.com/files/wsrp2.xml] file. And for the taskflow (in portlet section) the parameter is picked in public render parameters.
    Any hints would be appreciated.
    I am using Jdev 11.1.1.5

    Hi Daniel,
    Thanks for the update.
    Well, I haven't thought of this approach. I will try and let you know. Pls share if you have any reference for this.
    Appreciate if you can also share, when to go for taskflow based portlets vs consuming taskflows directly in portal app.
    Thanks,
    Srini.

Maybe you are looking for

  • E3200 - USB port does NOT work for more than one device

    We needed a new router that had the dual band connectivity as our previous router stopped working properly when we started using a baby monitor operating on the same 2.4 GHz. The choice was between E3200 and E2500. We chose the E3200 mainly because i

  • Ho do I search for a specific song in the new itunes store?  The search button is missing.

    I have always searched the iTunes store for specific songs by the song title and not by the album or artist.  Is this still possible?  I have spend an hour looking and have not found any way to search inside the store. 

  • Photos from iphone 4 to iphoto on macbook

    not sure if i should post this on macbook or iphone site. i (or a genius at apple) have moved my iphoto library to an external hard drive. my itunes library is on there as well. whenever i connect my iphone to my macbook to sync, the iphoto icon pops

  • Migration from 8i to 9i

    hello all can some one pleace tell me what is the best way to move from oracle 8.1.7.0.0 to oracle 9i. i have just install the oracle 9i and want to migrate my old DB to the new one beffor installing all the new patches. thanks

  • Installing Flash Player content debugger in Windows 8

    Operating system version: Windows 8, 64-bit Web browser and version: Internet Explorer 10, version 10.0.9200.17183, update version 10.0.23 (KB3008923) (I am also using Google Chrome version 40.0.2214.115 m (64-bit) for surfing the internet but I gave