Problem in using Web Dynpro project as GP Callable Object.

Hi Experts,
I am working on a process which consists of 2 steps
   - Proposal Creation by Employee
   - Evaluation & Approval by Manager
Now i created a WD component for the first activity.
The ouput parameters are
      - Title of Proposal       (Input Field)
      - Type of Proposal      (a drop down list)
      - Description              (Input Field)
      - History                    (Input Field)
Now this object is working absolutely fine.
Now i need to show the current user & system date at the time of creation.
I am retrieving the current user details using the IWDClientUser services. The context field is mapped to the detaisl retrieved.
In the view, the field is a "Text View" bound to the context node.
Now when i test this object in GP, on creation of proposal the CO execution doesnt ends and it keeps refreshing the page.
Any clue how to resolve this????
Thanks a lot.
Cheers
Gaurav Raghav

Hi Experts,
I have zeroed on the problem.
i guess there is some problem with my complete() method coding.
here is the coding.
Method technicalDescription()
IGPAttributeInfo user = output.addAttribute("USER", IGPAttributeInfo.BASE_STRING);
            user.setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
Method execute()
//Retrieve Current User Details
            try {
               IWDClientUser user = WDClientUser.getCurrentUser();
               String firstName = user.getFirstName();
               String lastName = user.getLastName();          
               String userName = lastName + " " + firstName;
               contextElement.setUserName(userName);
          } catch (WDUMException e1) {
               // TODO Auto-generated catch block
               e1.printStackTrace();
Method complete()
output.setAttributeValue("USER", wdContext.currentContextElement().getUserName());
Can you please help me out find my mistake????
Thanks a lot.
Cheers
Gaurav Raghav

Similar Messages

  • Problems by sharing Web Dynpro Project in SVN or CVS Repository

    Hi,
    I am trying to share a Web Dynpro Project with an 3rd-Party Repository like SVN or CVS instad of DTR.
    As help to share this project I used the guideline from Wolf Hengevoss
    ("The Fast Way to Component-Based Development with the SAP NetWeaver CE 7.1 u2013 Part III",
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/703268e0-06c9-2b10-c69c-8cc830175ab3).
    But as soon as I am sharing the project in an repository (equal if I am using SVN or CVS),
    I am getting the following error during deploy process:
    1st popup:
    Internal Error
    Unable to write to read-only file: /DSBBI5vhsgui(2fvhs_callcenterform_wdpdsb.net/WEB-INF/web.xml
    Details
    Message:
      Internal Error
        Plugin name: Web Dynpro Archive Builder
        Internal error: com.sap.ide.webdynpro.archivebuilder
    Plugin ID:  com.sap.ide.webdynpro.archivebuilder
    Error Code: 0
    Exception StackTrace:
      java.lang.Exception: Call Stack of internalError call
         at com.sap.ide.tools.services.ui.dialog.DialogService.internalError(DialogService.java:79)
         at com.sap.ide.mmservices.core.eclipse.ui.ServicesUI.internalError(ServicesUI.java:68)
         at com.sap.ide.webdynpro.archivebuilder.ArchiveBuilderPlugin.internalError(ArchiveBuilderPlugin.java:23)
         at com.sap.ide.webdynpro.archivebuilder.ArchiveService.createWebInfContent(ArchiveService.java:536)
         at com.sap.ide.webdynpro.archivebuilder.ArchiveService.createFolderStructure(ArchiveService.java:308)
         at com.sap.ide.webdynpro.archivebuilder.ArchiveService.createFolderStructure(ArchiveService.java:229)
         at com.sap.ide.webdynpro.archivebuilder.ActionGenerateArchive$CreateArchiveJob.doGeneration(ActionGenerateArchive.java:283)
         at com.sap.ide.webdynpro.archivebuilder.ActionGenerateArchive$CreateArchiveJob.runInWorkspace(ActionGenerateArchive.java:212)
         at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    2nd popup:
    Problem Occured
    Getting repository state for resource:
    L/DSB~BI~5~vhsgui(2fvhs_callcenterform_wdp~dsb.net/WEB-INF/web.xml
    (Time of error: 27. April 2009 09:16:54 MESZ)
    Reason:
    java.lang.UnsupportedOperationException
    Runtime exception occured while executing job 'Getting repository state for resource:
    L/DSB~BI~5~vhsgui(2fvhs_callcenterform_wdp~dsb.net/WEB-INF/web.xml':
    java.lang.UnsupportedOperationException
    Although it doesn't matter if I check-in the whole Web Dynpro project or just the src-folder and .dcdef-file.
    By the way, the deployment happend successfully...
    Has anybody an idea what could be the reason of this problem?
    Regards,
    Jens
    Edited by: Jens Geissler on Apr 27, 2009 9:34 AM
    Edited by: Jens Geissler on Apr 27, 2009 9:35 AM

    Hi Jens,
    I think the other repositories (apart from SAP's own DTR, part of NWDI) are not supported as in base CE 7.1 release & support may be in higher CE release versions.
    I feel if they are supported, then it is a bug and you can get things clarified by raising an OSS message.
    Hope this info helps you.
    Kind Regards,
    Nitin

  • Problem with importing web dynpro project

    we did a web dynpro project and we want work on this project on another computer wich conecting to the same server.
    we checked all the definations include the JCO definations and all the same.
    when we try deploy and run the project we get internal server error.
    can someone help what wrong and what to do?
    this is the error log:
    #1.5#000423886958006E0000066B00000A24000437A7577C8C11#1187091773681#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#2####7e4347524a5b11dcc145000423886958#SAPEngine_Application_Thread[impl:3]_15##0#0#Error##Plain###Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.taldor.tablecapabilties.CTablecapabilties. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:381)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         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.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java: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.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
         ... 27 more
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Unable to create connection for RFC Metadata Repository WD_RSDAS_RFC_METADATA_DEST
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.RFCMetadataRepository.getSingleton(RFCMetadataRepository.java:198)
         at com.taldor.tablecapabilties.model.Bapi_Bank_Getlist_Input.<init>(Bapi_Bank_Getlist_Input.java:51)
         at com.taldor.tablecapabilties.CTablecapabilties.<init>(CTablecapabilties.java:252)
         at com.taldor.tablecapabilties.wdp.InternalCTablecapabilties.<init>(InternalCTablecapabilties.java:246)
         ... 32 more
    Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection.
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:170)
         at com.sap.tc.webdynpro.services.sal.sl.core.SystemLandscapeInternal.getJCOClientConnectionUnMapped(SystemLandscapeInternal.java:36)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.RFCMetadataRepository.getSingleton(RFCMetadataRepository.java:192)
         ... 35 more
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_RSDAS_RFC_METADATA_DEST' in the SLD. No such JCO destination is defined in the SLD.
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:467)
         at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:233)
         at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:218)
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:129)
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:168)
         ... 37 more
    #1.5#000423886958006E0000066D00000A24000437A7577C9187#1187091773681#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#2####7e4347524a5b11dcc145000423886958#SAPEngine_Application_Thread[impl:3]_15##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.taldor.tablecapabilties.CTablecapabilties. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
    Exception id: [000423886958006E0000066B00000A24000437A7577C8C11]#

    Hi,
    I think the development components are missing in the new system.
    In this case...instead of importing the developed web Dynpro components into another computer... copy the entire folder (DC-Development Components) from the original system to the new system. Make sure the path and folder name are same in new system. Hope it should resolve the issue.
    Regards,
    Padman

  • Using Web Dynpro WDUrlGenerator from within J2EE Application deployed on NW

    I have two applications deployed on a NetWeaver Application Server 2004s.
    1. A Web Dynpro application.
    2. A J2EE Application
    What I want to do is to be able to build a url to the Web Dynpro application from within the J2EE application. Obviously the problem is using Web Dynpro classes within the J2EE application.
    So I edited the Java Build Path of the J2EE application to include the werbdynproservices.jar file and exception.jar files by extending ECLIPSE_HOME variable in the libraries section. I also checked them in Order and Export. I verified the built .war file and it does contain the two .jar files.
    This was sufficient to get my project build and deployed, however the servlet in my J2EE application shows NoClassDefFoundException when I run it. My guess is there's more I need to do to get the WDUrlGenerator to run in my J2EE class.
    Is this possible or is there a better way? I am trying to avoid the client having to modify a web.xml for each depployment.
    Thanks in Advance.

    This looks like what I want, but I am unable to test it.
    I found the application-j2ee-engine.xml file under the <project-root>/gen_wdp folder. I then attempted to open it with the SAP EARDD editor. It opens with the Source tab selected. If I try to click the General tab I get an error saying:
    "The source page has errors. Other pages cannot be used until these erros are corrected."
    I see nothing wrong with the XML document. It's source is here:
    <?xml version="1.0" encoding="UTF-8"?>
    <application-j2ee-engine>
        <provider-name>local</provider-name> 
        <modules-additional>
        <module>
          <entry-name>EVENTS_WorkflowNotification.wda</entry-name>
          <container-type>webdynpro</container-type>
        </module>
      </modules-additional>
    </application-j2ee-engine>
    When I deploy the application, everything works fine. I was going to edit the XML document by hand, but of course there is no DTD listed so I don't know what's supposed to go in there without the Editor doing it for me.
    Getting closer. Thanks so much.

  • Using External JARs in a Web Dynpro Project

    Hi,
    I'm having some difficulties building and deploying a Web Dynpro application that uses the Apache JaxMe libraries.  We're using SP11 of Developer Studio and WebAS and we're using JDI Scenario 2+ for building and deployment.  Thus far here's the procedure I followed:
    1) Created a DC of type "External Library"
    2) Added the necessary jars to the "libraries" folder of the External Library DC project (the jars that I added were jaxme2-rt.jar, jaxme2.jar, jaxmeapi.jar, jaxmejs.jar, jaxmepm.jar, jaxmexs.jar, xercesImpl.jar, xml-apis.jar all of which were pulled from the Apache JaxMe implementation download)
    3) For each of the jars in the libraries folder I right-clicked, selected Develoment Component then clicked "Add to public part" 
    Then after reading this note:
    https://websmp206.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000038152005
    I created a J2EE Library Component DC following these steps:
    1) Created a new DC of type J2EE Server Component / Library
    2) Added the External Library DC that I had just created as a "Used DC"
    3) Edited the DC so that it is used a Build Time and Run Time
    Finally I went to the Web Dynpro application and included the J2EE Library Component DC as a Used DC at build time and run time. 
    I was able to build all of the project successfully (doing a DC build for each) then I was able to succesfully deploy the applications to my local development WebAs (by doing a DC deploy for both the J2EE Server Component and the Web Dynpro application)  The problem is that at runtime the Web Dynpro application cannot find the external libraries.  For example, I receive the following error when running the application:
    java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    The "missing" class is included in one of the jars but for some reason these jars are not accessible to Web Dynpro at runtime. 
    Any help you can provide on this problem is very much appreciated.
    Thanks in advance!
    Jason

    I created the <b>JAR</b> with the following class (structure):
       <b>com.sap.tc.webdynpro.tests.utils.TableSorter.class</b>
    I have followed the steps that was suggested in the forum:
    ==========================================================
    1) creating an Extneral library DC
    2) import the JAR "com.sap.tc.webdynpro.tests.util.jar" to the libraries folder of the External Library DC project
    3) Right-click on the JAR imported to the project and add them to the public part.
    This DC is now ready to be used as a build-time reference that will allow CBS to build the "main" Web Dynpro application that will use the external libraries. Next, we have to create a new Web Dynpro DC to hold the class files here are the steps:
    1) Create a new Web Dynpro DC
    2) Create a new public part, selecting the "Can be packaged into other build results" option
    3) Rename the JARs as Zip files and extrct the full content (folders and class files) to your root folder
    4) Import the folders and files to the src/packages folder
    5) Expand the public part node that was created and select the "Entities" node, right-click it and choose Edit
    6) In the Entity Type list select the "Folder" option then in the selected entities tree pick each of the folders that you imported in step 5 (above)
    7) Now do a DC build and a DC deploy of the project
    Then check-in, activate, and release any activities you have associated with creating these two projects. In the DC perspective, refresh the Active DCs and Inactive DCs to ensure that both new DCs appear in the Active list. Now we have to setup the references to these DCs in our main Web Dynpro application. To do this, follow these steps:
    1) Open the Web Dynpro perspective and right click the Used DCs node then choose "Add Used DC.."
    2) Pick the public part of the External Library DC that we created (first) and set it to have a Build Time dependency
    3) Again, right click the Used DCs node and choose "Add Used DC.." then choose the public part of the Web Dynpro DC that we created and give it a Run Time dependecy (weak) and click finish.
    4) Now, due to what I think is a bug. You must right click on the Web Dynpro "used DC" that you just added in the previous step, and set the run time dependency again (it seems to revert to the default values for some reason)
    5) Now do a DC build and a DC deploy on the "main" web dynpro application.
    6) Check-in, activate, and release any activities associated with adding these references and then others on your team may use the classes in the external libraries within the Web Dynpro project.
    However, when I executed, the following exception occurred:
    ===========================================================
    Error stacktrace:
    java.lang.<b>NoClassDefFoundError</b>: <i>com/sap/tc/webdynpro/tests/utils/TableSorter</i>
         at br.com.embraer.materiais.zdplmm001.view.Zdplmm001_0500View.wdDoModifyView(Zdplmm001_0500View.java:138)
    <b>What's missing????</b>
    Thanks
    Robson Lima
    Sao Paulo - Brazil

  • Problem in completing the TASK when using Web Dynpro Java and BPM

    Hi,
    I am using Web Dynpro Java and BPM.
    i see my Web Dynpro View when i run the process.
    Just that the task is not completing.
    when i click on the Web Dynpro button to signal the completion of the event, nothing happens.
    i have appropriately created events in both Component controller and Interface Controller and used the same in creating the Task.
    a method in Component controller fires the event and a button click in the view calls this method.
    i have successfully completed Donka Dimitrova's "SAP Netweaver Business Process Management-End-to-End Process Implementation Sample " but when i tried my own with slight modifications, it is not working !!!
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d07f3e88-554f-2b10-3cbf-ab8afea51b9f
    regards,
    -Amol Gupta

    Hi Amol,
    The way you described the things, I dont see any problems. Just to make sure that you are triggering the right event that you mapped as completion event for the task, try to cross check once again and see if the correct event is getting triggered. Also try to put some messages for debugging to see till where the control goes.
    Regards,
    Arafat

  • Web dynpro project save problem

    in web dynpro project in netweaver when i am going to put some code done by me and then i press save all metadata it will remove all coding done by me please help me in this problem.

    hi Phil Thankx for your answer but i don't know how to raise support ticket.
    i am java developer and new to web dynpro and i am learning from go and create examples if you have some other source which is better then that then please help me.you can also mail me at [email protected]
    please reply sir.

  • Got reading error when deploying a web Dynpro project

    Hi everyone,
    I'm working on NWDS 7.1 CE.  After I synchronized a project (using the "Create Project" option), then Build and Deploy it under the Development Infrastructure perspective, I can run it by choosing the "Run" option of the web Dynpro project's application. But once I chose "Deploy new arcihve and run", I got the following error message:
    [ERROR CODE DPL.DC.3095] A reading error occurred while loading the SDU 'D:/usr/sap/DW1/J00/j2ee/cluster/server0/temp/tcbldeploy_controller/archives/3888/dow.comgcacmpprofitcenterui.ear'.; nested exception is:
         com.sap.engine.services.dc.util.readers.sdu_reader.SduReaderException: [ERROR CODE DPL.DC.3388]
    The specified file D:/usr/sap/DW1/J00/j2ee/cluster/server0/temp/tc~bl~deploy_controller/archives/3888/dow.com~gca~cmp~profitcenter~ui.ear is not a valid SAP deployable unit. In case it is Java Enterprise application, please convert it to SAP compatible deloyable unit first.
    Additional information: 'The information about the development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation is missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    Does anyone know what happens here? What's the difference of the Build/Deploy commands under Web Dynpro perspective and under Development Infrastructure perspective? After I made changes to the project, can I just deploy it under the Development Infrastructure perspective?
    Thanks,
    James

    Hi Nilesh,
           Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
    C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
    1. Click on Secure store
    2. Right you will find :
    admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
    Restart the server and try login visual admin
           Deploy now...Other wise see this thread same error solved:
    Re: An Deploy Problem about Credentials.
    Regards
    Suresh

  • How to add a javabean Model to a web dynpro Project

    Hi all,
    I have been following the tutorial "Using EJBs in Web Dynpro Applications" for creating a customized LOCAL webdynpro application, based in javabean Model. It was made by just exporting the JAR file from a java project, as it is explained in the tutorial. OK.
    The problem comes when I want to duplicate the development but using a DC Web Dynpro Project. I have re-develop every step of the tutorial but using DC projects:
    DC diccionary project, DC ejb project, DC enterprise application project & DC java project.
    But now I DO NOT KNOW the steps for importing the development into a model for DC Web Dynpro.
    Anyhelp will be very appreciated, thanks in advance-

    Thanks Jhansi,
    Yes, you are right. I had already followed those steps. The error comes when I have to select between the JavaBean Source:
    1. project (source folder) (checkbox)
    2. public parts of used DC's (combobox)
    I have been trying both, the second one by copying first the JAR called CommandBean.jar of my DC Java Project with dependencies to EJB project into the web dynpro "lib" folder, and then selecting the new entry CommandBean.jar from that combobox.
    then i get de following error: "Invalid JAR - No JavaBeans available for import"
    So I do not know how to use any of these two options for java source.
    Thanks.

  • How to add new class to existing DC (Web Dynpro project)

    Hi,
    How can I add new class to an existing DC (Web Dynpro project)?
    I tried adding it using File - New - Other - Java - Class, but after a build of the DC the new class (and its contents    ) was completely removed.
    Then I created a new DC (java project) and created a new class in that DC. This went fine, but I got into problems because of circular referencing between the new & the old DC, so no build was possible.
    This can't be difficult, does somebody knows how to do it?
    My temporary solution is to add the classdefinition to an exisiting .java file. Very ugly.
    Thanks,
    Jeroen

    Hi Jeroen,
    where did you create the class? If the *.java file is placed in the src/packages folder it should not be deleted by a build. (I suspect you created it in the gen_wdp folder?)
    Regards,
    Marc

  • Create adaptive web service model for a web dynpro project

    I have been trying to create a new new adaptive web service model for a web dynpro project.I am using the URL of the wsdl file to create the model. I have copied the url link of the wsdl from the overview tab of the web services navigator. The web service works fine when tested through the Netweaver Navigator. This web service has also been used successfully through the Visual Composer. But when I try to create a model for this web service URL, when I click the Next button after entering the URL in the model creation wizard  step 4 , I get "Error loading wsdl file. Check error log for details" Given below is the exception recorded in the error log: (Infact, I get this for all wsdl URLs)
    !MESSAGE Jun 6, 2007 9:44:59 AM           com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[main,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor
       Plugin ID  : com.sap.ide.webdynpro.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS
       Method     : loadNameSpacesAndModelClasses
       Message    : Cannot load NameSpaces and ModelClasses
    Class Path: C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;
    java.home: C:\java\j2sdk1.4.2_09
    proxyHost:
    proxyPort:
    nonProxyHosts:
    Temporary Directory: C:\DOCUME1\E51914\LOCALS1\Temp\
    WSDL URL: http://etcvpcod108:50100/UserService/Config5?wsdl
       Exception  : com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL http://etcvpcod108:50100/UserService/Config5?wsdl and service factory configuration {DynamicProxy.ClassPath=C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.Javac.path=C:\java\j2sdk1.4.2_09, DynamicProxy.TempDir=C:\DOCUME1\E51914\LOCALS1\Temp\, DynamicProxy.INetProxy.Host=}
    !STACK 0
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://etcvpcod108:50100/UserService/Config5?wsdl' and service factory configuration '{DynamicProxy.ClassPath=C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.Javac.path=C:\java\j2sdk1.4.2_09, DynamicProxy.TempDir=C:\DOCUME1\E51914\LOCALS1\Temp\, DynamicProxy.INetProxy.Host=}'
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:413)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:305)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:315)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
         at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
         at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
         at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         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.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:411)
         ... 53 more

    Hi Srikanth,
    My version was
    Version: 7.0.09
    Build id: 200608262203
    I was able to successfully import the model after I did the following
    1. Re intsall Studion (same version , same build)
    2. Reset the proxy settings to not use Proxy server
    Thanks for looking into it though...
    -Lakshmi

  • Web dynpro project creation error with NWDS SP07

    I have NWDS 7.01 SP07 installed and when I am trying to create a webdynpro project, Local DC or otherwise. I get the following exception in the log. I am not able to create a web dynpro project. This problem has been replicated on other systems in windows environment.
    java.lang.NoClassDefFoundError: com/sap/ide/metamodel/webdynpro/WebDynproObject
    Any help regarding this release? We have to use SP07.

    This error is with NWDS standalone. No NWDI or server involved at the time of the error.
    Error happens at the time of creation of the web dynpro project. For both a DC project and standard web dynpro project. It seems to be a bug in NWDS 7.01 SPP07. I am wondering if there is a patch available.
    There are also errors opening up the empty web dynpro perspective.

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

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

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

  • Pre-compile for the web dynpro project

    Dear all,
    My web dynpro project has a interactiveform.
    Every FIRST time interactiveform loading, it always until timeout.
    However, after first time execution, everything works fine.
    Can any one have any suggestion for solving this problem?
    Thankx in advance.
    Best Regards,
    Philip Chen

    Hi Krishna,
    If you have Installed NWDS Successfully& configured WAS, you can start with development of sample applications.
    Just refer this Links :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/webdynpro/how%20to%20build%20a%20web%20dynpro%20application.pdf - How to create WebDynPro Application ?
    Why WebDynpro ? Why WebDynpro ?
    Why  webdynpro and not BSP or JSP? Why webdynpro and not BSP or JSP?
    BSP to WEB Dynpro BSP to WEB Dynpro
    Benifits of using Webdynpro Benifits of using Webdynpro
    Java vs. ABAP Java vs. ABAP
    regarding Java related webdynpro regarding Java related webdynpro
    Web Dynpro vs. Struts - a few questions Web Dynpro vs. Struts - a few questions
    What kind of applications are being developed with Web Dynpro? What kind of applications are being developed with Web Dynpro?
    Check this:
    http://www.sappro.com/downloads/OptionComparison.pdf

  • Creating Web Dynpro Project in JDI

    Hi,
    I'm having difficulty creating a simple Web Dynpro project in a DC in JDI. I'm trying use Scenario 2+. When I try to build the DC containing the WDP project in the DC View, I get the following error:
    Apr 25, 2005 6:15:48 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: hello: Build failed for meridium.com/hello(meridium.com_APPLICATION_1) in variant "default": Used component not found: sap.com/tc/bi/bp/webDynpro
    In the Web Dynpro perspective of the same project, the project cannot be built until I modify the .classpath file to modify the build path to include all of the jars reference in a WDP project.
    How do I identify the components that are to be used for a Web Dynpro application? Is this done in the SLD? If so, which dependencies should I assign? Are there any step-by-step examples of creating a WDP application in JDI scenario 2+?
    Thanks.
    Rob

    Thanks for your response.
    I took a look at the .dcdef file and it looks like it defines the proper DCs for a WDP project (see below). The problem seems to be that the files defined in these dependencies can't be located. The build error says "Used component not found: sap.com/tc/bi/bp/webDynpro" which is defined in the .dcdef file below. How do I specify where to find the dependent files?
    <?xml version="1.0" encoding="UTF-8"?>
    <development-component
               xmlns="http://xml.sap.com/2002/11/DevelopmentComponent"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://xml.sap.com/2002/11/DevelopmentComponent dcdef.xsd"
               version="1.0.2"
               xmlns:IDX="urn:sap.com:DevelopmentComponent:1.0">
         <name>hello</name>
         <vendor>meridium.com</vendor>
         <caption>Hello </caption>
         <component-type>
              <vendor>sap.com</vendor>
              <type>Web Dynpro</type>
         </component-type>
         <properties>
              <ns0:localization xmlns:ns0="http://xml.sap.com/2003/06/Localization">
                   <ns0:domain>CA</ns0:domain>
                   <ns0:originalLocale>en</ns0:originalLocale>
              </ns0:localization>
         </properties>
         <build-plugin>
              <dc-ref>
                   <name>tc/bi/bp/webDynpro</name>
                   <vendor>sap.com</vendor>
              </dc-ref>
              <pp-ref>webDynpro</pp-ref>
         </build-plugin>
         <dependencies>
              <dependency>
                   <dc-ref>
                        <name>tc/cmi</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>tc/ddic/ddicruntime</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>tc/ddic/metamodel/content</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>tc/wd/webdynpro</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>tc/logging</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>tc/wdp/metamodel/content</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>com.sap.aii.proxy.framework</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>com.sap.aii.util.misc</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>com.sap.exception</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>com.sap.mw.jco</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
         </dependencies>
         <folders>
              <source-folder>META-INF</source-folder>
              <source-folder>src/mimes</source-folder>
              <source-folder>src/configuration</source-folder>
              <package-folder>src/packages</package-folder>
         </folders>
    </development-component>
    -r

Maybe you are looking for

  • After downloading Yosemite, my HP Photosmart D110 printer will no longer work. The wireless connection is fine but says it cannot find my printer when trying to print.

    After downloading Yosemite my printer, a HP Photosmart D100 will no longer print. The wireless connection is fine, and a test page printed perfectly directly from my printer. When trying to print from my computer, it says it cannot connect or find th

  • Could not create user in

    Hi all,   I have installed SAP EP6.0 SP11 upon NW04 SR1 with WebAs 6.40 (both abap and java engines).I'm not able to create any new user in portal.Why is this so.Can anyone help me in this regard. Gopi

  • Question on iSetup and the files used

    All I have a customer on 115.10.2 and they are using iSetup to transfer data from their Hyperion DRM instance into their Oracle E-Business Instance. The customer is moving the key flexfields data from the Hyperion DRM Instance to the Oracle E-Busines

  • Output type in Dunning

    Hi Experts, Can anyone please explain how to trigger the email and the fax functionality for  the dunning smartform through NACE. The program I am using to get the dunning is  SAPF150D2. Kindly help! Thanks in advance Asish Dash

  • Syncing with iCal via iTunes fails

    since 3 weeks I'm not able to sync my calendars between my iPhone (3G, iOS 3.1.3) and iTunes (v 10.4.1 for MacOS) and iCal. The iPhone is shown in iTunes, I can start syncing and the progress of the process is beeing shown in iTunes. iTunes also tell