Question on Component Model

Dear Experts ,
In an interview i faced a question, it is
what is advantage public part for a component ?  if we  can use the visibility options of objects in a DC to acess ?
i read a  blog on component model  which states that complie time dependencies can be redused , please throw some light on this concept .
thanks in advance,
Phani

Hi Phani,
This question belongs to the [NWDI forum|SAP NetWeaver Development Infrastructure (NWDI);.
Anyway, a public part allows you to expose an API (an interface if you like) of the component to other components. This will allow you to change internal logic of the methods and API you expose without having to change anything on the component that uses your public part.
Complie time dependencies with a public part can be redused if it's access list states so.
Hope it helps,
Roy

Similar Messages

  • Nested Groups in Component Model

    Is it possible to have a nested group in the Component Model? For example, I have a group of metatdata. That group is called Class and consists of the following fields:
    - Department
    - Number
    - Title
    - Level
    There can be 1:n of these Classes.
    These Classes compose a group called Notice. There can be 1:n Notices. The metadata may look like this.
    Notices
    -- Notice1
    ---- Dept1
    ---- Number1
    ---- Title1
    ---- Level1
    -- Notice2
    ---- Dept2
    ---- Number2
    ---- Title2
    ---- Level2
    I'm busy wearing a different hat at the moment on another project and don't have a lot of time to research this. Thoughts? Thanks in advance for any contribution.

    Hi Bill,
    Here are a few ideas that i hope help. In answer to your question, Groups cannot have groups.
    1. Your group could add a new attribute in your group that is an array of another BPM Object in a "Model" object
    2. You could store the information nested in a relational database.
    When it comes to a presentation, you'd probably want a header that shows the list of "Class" (surprised it let you name the group this without a runtime error). The user would then click one of the "class" items at the top of the scren and then you'd display the nexted group in a section of the screen below the header of the presentation. You'd use a "View" object for the UI and this View would have a group called "NestedStuff" dedicated to displaying the nested array for the class group item picked in the header.
    Dan

  • Basic questions on data modeling

    Hi experts,
    I have some basic questions regarding data modeling within MDM. I understand the available table types and the concept of lookup fields. I know that the MDM data modeling concept is different to the relational concept. But having a strong database background my first step was to design a relational data model which I would like to transfer to a MDM repository. Unfortunately I didn't found good information material on this. So here are some questions maybe you can help me:
    1) Is it the right approach to model n:m relationships with multivalued lookup fields? E.g. main table Users with lookup field from subtable SapAccounts (a user can have accounts in different SAP systems, that means more than one account).
    2) Has a record always be unique in MDM repositories (e.g. should we use Auto ID's in every table or do we have to mark a combination of fields as unique)? Is a composite key of 2 or more fields represented with marking these fields as unique?
    3) The concept of relationships in MDM is only based on relationships between single records (not valid for all records in a table)? Is it necessary to define all relationships similar to the relational data model in MDM? Is there something similar to referential integrity in MDM?
    4) Is it possible to change the main table to a sub table later on if we realize that it has also to be used as a lookup table for another table (when extending the data model) or do we have to create a new repository from scratch?
    Thank you for your answers.
    Regards, bd

    Yes you are correct. It is almost difficult to map relational database to mdm one. But again MDM is not 'just' a database. It holds much more 'master' information as compared to any relational db.
    1) Is it the right approach to model n:m relationships with multivalued lookup fields? E.g. main table Users with lookup field from subtable SapAccounts (a user can have accounts in different SAP systems, that means more than one account).
    Yes Here you need to use MV look up tables or can also try Qualifier tables if it gets more complex
    2) Has a record always be unique in MDM repositories (e.g. should we use Auto ID's in every table or do we have to mark a combination of fields as unique)? Is a composite key of 2 or more fields represented with marking these fields as unique?
    Concept of uniqueness differs here that you also have something called Display Fields (DF). A combination of DF can also be treated as Unique one. For instance while importing records if you select these DF as a combination, you will eliminate any possible of duplicates based on this combination. Auto Id is one of the ways to have a unique id once record is within MDM. While you use UF or DF to eliminate any possible duplicates at import level
    3) The concept of relationships in MDM is only based on relationships between single records (not valid for all records in a table)? Is it necessary to define all relationships similar to the relational data model in MDM? Is there something similar to referential integrity in MDM?
    Hmm... good one. Referencial Integrity. What I assume you are talking is that if you have relationships between tables then removing a record will not be possible as it is a foreign key for some record. Here MDM does not allow that. As Relationships within MDM are physical and not conceptual. For instance material can have components. Now if material does not exist then any relationship to components is not worthwile to maintain. Hence relationshsip is eliminated.  While in relational model relationships are more conceptual. Hence with MDM usage of lookups and main table you do not need to maintain these kind of relationships on your own.
    4) Is it possible to change the main table to a sub table later on if we realize that it has also to be used as a lookup table for another table (when extending the data model) or do we have to create a new repository from scratch?
    No. It is not possible to convert main table. There is only one main table and it cannot be changed.
    I went for the same option but it did not work. What I suggest is to look up your legacy system one by one and see what fields in general can be classified as Master, Reference, Transactional - You will start getting answers immediately.

  • Creating component model diagram

    Dear SDN,
    I am trying to create a component model using Borland 2008 . I am refering the SAP LIbrary link .
    However I am not getting the PublicPart image as described in the SAP Library.
    Anyone has the similar experience . Any suggestion are welcome
    http://help.sap.com/saphelp_nw04/helpdata/en/1c/bca99c220c0e45a1cae3c4cccf4346/content.htm

    Hi
    Take the help from  [this|Re: Public Parts; and [this|Re: How can I consume the Public Part of a DC from a local DynPro project?; and [this|Multi DC architecture;
    I am mentioning some point which confused you in that figure.
    1. A component behaves like a u201Cblack boxu201D, which implies that its inner parts are not visible from the outside.A component can define any number of public parts, each of which must have a unique name. A particular development object can be named in more than one public part. This allows you to organize public parts according to functional view points. (Simple taken from the source)
    2. In the figure below, component X is on the same hierarchy level as component Y: consider it like DC X and DC Y(same hierarchy)
    3. Keep this point in mind that cyclic dependency is not at all possible, now try to figure out any such cases where two component say A & B using each other (A<=====>B), in this way might u will identified
    the use cases(ultimately which is the objective )
    Hope it helpful for you.
    Best Regards
    Satish Kumar

  • Naming Standards for SAP's Component Model Objects....

    In using SAP's Component Model, Scenario 3, there's a great deal of confusion in trying to version tracks, sc's, dc's, etc.
    Since SAP does not currently have Best Practices for the use of the NWDI and the Component Model, can someone else provide me with some advice?
    Thank you

    Hi Peggy,
    to find out more about all the NWDI terms it is a good idea to first read the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/01/9c4940d1ba6913e10000000a1550b0/frameset.htm">architecture manual</a> about NWDI/JDI.
    Regards,
    Benny

  • Integration Scenarios vs Process Component Modelling

    Hi Experts,
    Just wanted to know:
    1) How theoritically and technically, is 7.0's Integration Scenarios different from 7.1's Process modelling?
    2) For what kind of cases we go for Integartion Scenarios and for what kind of cases we model a PCM?
    3) What is "Deployment Unit" in PCM?
    Thanks
    Shailesh

    Hi,
    >>>1) How theoritically and technically, is 7.0's Integration Scenarios different from 7.1's Process modelling?
    Process Component modeling is ment for modeling SOA, where you create a Business Object, Service Interfaces, etc and this help to understand the business semantics of enterprise services in the business process platform. And you will not create Receiver Determination, Interfaces Determination out if that. Where as Integration Scenario is meant only for integration where you define Sender system, receiver system etc...
    >>>2) For what kind of cases we go for Integartion Scenarios and for what kind of cases we model a PCM?For normal integration between 2 or more systems you use Integration Scenario. But Process Component Model is for Service Provisioning.
    >>>3) What is "Deployment Unit" in PCM?
    All the related/dependent Process Components are tied together in one unti and this is called Deployment unit. It also describes the logical boundary of the  Process Component. Apart from this deployment units are the only installable units and this shows what types of interactions are needed between process components.
    Thanks,
    Prakash

  • J2EE design patterns vs SAP component model

    Hello,
    does anyone have documentation or articles which makes a link between the J2EE design patterns and the SAP component model ?
    Thanks

    Hi Thierry,
    > What do you mean by assembling DC's into another DC ? Do you mean by using child DC's? Also , the J2EE server DC will have to be in a SC.
    If you create "Java" DC that DC will not have a deployable result on its own. Typically you create a public part with purpose "compilation" (API) and a public part with purpose "assembly". If you define a dependency from an EAR DC or a J2EE Library DC to that assembly public part then the Jar file contained in that public part will be assembled into your (deployable) .ear file or the J2EE library.
    Child DCs are just a means of limiting visibility/scope, similar to ACLs.
    As long as you are working with a "track" each and every DC will be part of an SC. You define a track, you add "developed" SCs, you get a "compartment" where you can create DCs. So each DC automatically belongs to an SC. (But not all DC types produce deployable results, EJB Module/Web Module also need to be assembled into an EAR).
    > is it typical to have an SC dedicated to utility classes?
    Depends on the size of the project/product. I'd start by putting utility classes into some utility package (pure Java). If that gets too large I'd put utility classes sorted by functionality into DCs (Java libraries = jars). If that gets too large its time to think about utility SCs. Otherwise the tradeoff between meta-information and real content might be too much. As the project/product grows the need for refactoring may arise...
    Regards,
    Marc

  • A question about conversion model.

    I'm programming a JSF-based forum. See the code below:
    <jsp:useBean id="CommentBean" class="net.gleamynode.notes.http.faces.CommentBean" scope="request" />
    <jsp:setProperty name="CommentBean" property="pageId" value="${p.id}"/>
    <h:form id="commmentForm" formName="commentForm" >
    <h:input_hidden id="pageId" valueRef="CommentBean.pageId"/>
    <h:input_text id="userName" valueRef="CommentBean.userName"/>
    <h:input_text id="userEmail" valueRef="CommentBean.userEmail"/>
    <h:input_text id="userURL" valueRef="CommentBean.userURL"/>
    <h:input_textarea id="content" valueRef="CommentBean.content"/>
    <h:command_button id="submit" label="Leave a comment" commandName="submit" actionRef="CommentBean.createAction" />
    </h:form>
    The type of CommentBean.pageId property is 'java.lang.Integer'. It seems JSF does not convert the request parameter 'pageId' (whose type is String) properly. CommentBean.pageId is always set to '0'.
    The strange fact is that it works if I use input_number instead of input_hidden! It is clear that the conversion model is applied differently for different component types. (Sorry, I did'nt have much time to read every chapter of the spec. ;)
    Is there anyone who experienced the same problem?
    PS: btw, the first two line in the code above looks very unnatural because we specified the name of the bean class and scope already in faces-config.xml. Is there any way to do the same job without using jsp:useBean and jsp:setProperty? (please note ${p} is not a managed bean. it is just a dynamically declared bean in page scope.)

    Hi,
    yes, it seems, that input_hidden field accepts only String attributes.
    But this (maybe) will be changed in next releases so no conversion should be necessary.
    See, what Craig said about a similar case, which I think includes your question: http://forum.java.sun.com/thread.jsp?forum=427&thread=443816&message=2011411#2011411
    Greetings,
    Rene

  • Audio out options question - HDMI + component?

    I have looked thru the manual and forums, but have not seen the answer to my question.
    If I hook an ATV to my TV with HDMI, and also use the Right and Left (red and white component) audio out cables to my stereo (which does not have TOS link digital audio capability), will I get sound delivered to BOTH units at the same time? Basically, I'd like sound to go to my TV and my stereo.
    I see in the ATV manual that it is possible to use HDMI and digital audio out. DVI video and component audio out, but I need HDMI video/audio AND component audio out.

    The easiest way to accomplish this is to use the HDMI cable from the ATV to the TV and then export the sound from the TV with with either RCA, toslink, or digital audio out cables to your stereo. That is what I do at home. I have a DVR cable box, DVD player, and PS3 Blue Ray player and a HD video camera all hooked up via HDMI to a HDMI hub to the TV and then I can switch the stereo from either the TV audio out (all of the above) or the airport express where I stream music to the Stereo. There is no doubt that the sound quality from the BR HDMI cable of the PS3 has a superior sound.
    A tech at curcuit city told me there is a difference in sound between, a expensive Monster HDMI cable and the less expensive cables now available on line, but I have not tried a A/B comparison yet, but am planing to do so. $50-60$ vrs. a few dollars on line aftermarket.
    Hope this helps.

  • Help to create a component model using Calculator Web Service :(

    Hello All,
    Im working on EP6 SP9 and have a Calculator Web Service.
    I want to create a component which should contain following UI elements:
    1. <i>InputField</i> - to enter 1st number
    2. <i>InputField</i> - to enter 2nd number.
    3. <i>TextView</i> - To show the result
    The calculator web service consists of 4 basic methods like addition, subtraction, division & multiplication.
    I want to know whether how can I provide seperate buttons to each of the above mentioned functions 'coz when I add the web service while creating a component using SAP Web Dynpro (<i>using SAP NEtweaver Developer Studio 2.0.9</i>) - Model Creation step, I get an option to select only one method (and that is add).
    Its not working......
    I am following the steps as mentioned in help pages on Web Dynpro, section "Web Dynpro & Web Services" and example on WebServiceEmail.
    Please help.......
    I have to show this in a presentation on coming Friday.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu R Hunjan
    <i></i>

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Newbie question about component and UDF usage.

    This will be the 1st time I'm coding a component and UDF. I
    kind of understand the concept but not sure about how to write it
    in detail.Such as passing the parameter, etc.
    I'm starting to write a user login, verifying users before
    allowing them to enter into the app.
    So I have 2 fields in my login form, Login and password.
    Upon submitting this form, on the actionpage.cfm I'm calling
    a component. This is how I call the component:
    <CFINVOKE Component="cfc/loginaction"
    Method="AuthentiCateUser" ReturnVariable="UserInfo">
    Then in my Component I have the following:
    <CFCOMPONENT>
    <CFFUNCTION Name="AuthentiCateUser" RETURNTYPE="Query"
    hint="Use for user login">
    <CFARGUMENT Name="login" Type="Structure"
    Required="true">
    <CFARGUMENT Name="password" Type="Structure"
    Required="true">
    <!--- checking user authentication --->
    <CFQUERY NAME="Authenticate" DATASOURCE="sendfast">
    SELECT * FROM tblcustomer WHERE Login = '#Login#' AND
    Password = '#Password#'
    </CFQUERY>
    <CFRETURN AuthentiCateUser>
    </CFFUNCTION>
    </CFCOMPONENT>
    When I run this code, I got error, it said :
    The parameter LOGIN to function AuthentiCateUser is required
    but was not passed in.
    The error occurred in
    C:\CFusionMX\wwwroot\KDt_Mod\userloginaction.cfm: line 18
    16 : <CFSET
    UserLoginInfo["Password"]="#Form.Password#"> 17 : 18 :
    <CFINVOKE Component="cfc/loginaction" Method="AuthentiCateUser"
    ReturnVariable="UserInfo">
    19 :
    My question is:
    What should I do in order to pass #Form.Login# and
    #Form.Password# to my UDF within my component?
    I'm using CFMX 6 and Micrisift SQL 8

    I've applied cfinvokeargument and my login and password were
    passed to my component.
    But I'm facing new problem: Where should I write my
    authentication? should I write user authentication within my
    component or
    loginaction.cfm (the calling template)
    What I mean by authentication is something like this:
    <CFIF #Authenticate.RecordCount# IS NOT 0>
    <cfset session.CustomerID
    ="#Authenticate.customerid#">
    <cfset session.Name ="#Authenticate.Name#">
    <CFCOOKIE NAME="UserLoginIn"
    VALUE="12345_pn#Authenticate.customerid#">
    <cflocation url="index.cfm?loc=home">
    <CFELSE>
    <script language="JavaScript">
    alert("Username/password is not found, plese try again");
    history.go(-1);
    </script>
    <cfabort>
    </CFIF>
    If I keep this code in my loginaction.cfm what is returned
    from my function is not recognized by the component, the error said
    Authenticate.RecordCount is not recognized.
    Also I'm still confuse with what should I put in the
    RETURNTYPE. If I put query, it gave me error, also, what is
    returned by CFRETURN.
    This is my component:
    <CFCOMPONENT>
    <CFFUNCTION Name="AuthentiCateUser" RETURNTYPE="Query"
    hint="Use for user login">
    <CFARGUMENT Name="login" Type="Structure"
    Required="true">
    <CFARGUMENT Name="password" Type="Structure"
    Required="true">
    <!--- checking user authentication --->
    <CFQUERY NAME="Authenticate" DATASOURCE="sendfast">
    SELECT * FROM tblcustomer WHERE Login = '#Login#' AND
    Password = '#Password#'
    </CFQUERY>
    <CFRETURN AuthentiCateUser>
    </CFFUNCTION>
    </CFCOMPONENT>

  • A question on component design in Web Dynpro

    Hi experts,
    We currently working on our console which we want to implement them using Web Dynpro framework.
    During design time,  questions have been raised: we have like 100 EJB methods for our application, about 8 EJBs, we want to have faceless component taking care of persistence.
    The question is what is the best way to distribute the methods in terms of performance and supportability (for ease of development )? We discussed the following options:
    1.     One faceless component with one component controller implements 100 methods (maybe this is the worst)
    2.     Many faceless components, one for each EJB, here the question came up: performance because we have a tab strip in the UI that accesses 6 EJBs, would it take a long time to load/unload these components every single time we switch among the tabs ?
    3.     One faceless component with one custom controller for each EJB, here the question is: can we expose the custom controller in other to use them in the tabs?  Compared to option 1 we clearly separated the methods, so it is easier to support. Furthermore we should have a performance gain since the custom controllers are only loaded on demand.
    What do you think?
    Regards,
    Dat
    Edited by: Dat Triet Banh on Jul 4, 2011 4:47 AM

    Hi
    Better to segregate the EJB's and put it in seperate controller keep atmost 30 in one controller (you have around 3-4 component ). Any component which is going to use in other component is basically based on create on demand priniciple automatically by framework.
    or
    as given in point third create a component , with say 8-10 Custom Controller  implement the all the methods and put a same method signature in Component Controller, call the same through interface thats it.
    Best Regards
    Satish Kumar

  • Question on component cache

    I have built a component that wraps a standard button component. Based on some criteria, it enables/disables the button it wraps.
    In my JSP A.jsp,
    <s:myComp userName="">
    <h:commandButton disabled=false>
    </hx:commandExButton>
    </s:myComp
    In the encodeChildren method of my custom component,
    if( component instanceof HtmlCommandExButton ) {
    if( some condtion) {
    System.out.println(" Is button disabled "+ ((HtmlCommandExButton)component).isDisabled);
    //If button is enabled, disable it.
    ((HtmlCommandExButton)component).setDisabled(true);
    Scenario:
    1) I go to page A. My custom component disables the button by calling setDisabled method
    2) I go to a different page and then come back to page A in the same session
    3) My custom component reads the button's disabled property as true even though the disalbed is set to false in the JSP.
    At step 3, I guess it gets the button component from the component tree cache. I have a few questions.
    1) Is it a good idea to modify the properties of the enclosing components ?
    2) How can I make my component read the real data instead of the cached data for the the enclosing components ?
    3) Is it possible to evaluate the expression bound to disabled property to get the correct value ?

    Hi RaymondDeCampo
    Thanks for the reply. I am not holding the component in the session. It is actually the custom component's encodeChildren method where the child component is passed to it (In my case it is the button). First time when I visit the page, custom component reads the attributes of the child component and modifies them but the modified values will be retained even if I navigate around and come back to the same page.
    HOw can I force JSF to get a fresh instance of the component ?
    I am using IBM JSF1.1

  • Concept Question : Migrate SQL Models

    Hi Oracle SQL Data Modeler users.
    I have a question. How, if it at all, do you migrate a Database from Version 1 of the model to version 2?
    e.g. I've created the tutorial for a library. (Patrons; transactions; books).
    Now I've generated the DDL and imported it into Oracle (or any other database).
    Now I wish to change the model by adding an ISBN number and changing the domain of Person Name to 50 characters instead of 25.
    All of this is fine. But Oracle generates new DDL for complete new tables.
    How do I migrate the current data model from Version 1 to Version 2? Is this possible? How do other users manage this problem?
    i.e. if the solution is with DDL, I'm looking for alter table statements rather than create table statements
    Thanks
    Martin
    Edited by: mac24nz on Apr 11, 2011 3:07 AM

    Hi Martin,
    I suggest you look at these messages in the forum:
    Generate DDL - change is a new column and I want to generate a alter table
    Create 'alter tables ...' etc from Data Modeller
    David

  • Failed to create delegate for component (Model Error)

    Dear All,
    I am getting exception while running one webdynpro application. Details of error is attached below.
    I am getting this error just after binding the Component controller node to Model Node, without writing any code for model execution. My model is created from one webservice, and that web service is perfectly fine.
    My server and IDE both running on same service pack SP12.
    I have tried with re-creating model and rebuild the project but still getting the same error.
    Kindly suggest.
    Thanks & Regards
    Manoj Sahoo
    <i><u><b>Root Cause
    The initial exception that caused the request to fail, was:</b></u></i>
    <b>
       java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/model/webservice/gci/WSTypedModelClass -
    Loader Info -
    ClassLoader name: [chep.com/exchangeexchange_dynpro] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp chep.com/portglobalportfolio_common_dynpro service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc library:tccmi Resources: /usr/sap/MTD/JC00/j2ee/cluster/server0/apps/chep.com/exchangeexchange_dynpro/src.zip /usr/sap/MTD/JC00/j2ee/cluster/server0/apps/chep.com/exchangeexchange_dynpro/webdynpro/public/lib/chep.comportglobalportfolio_commonscommonsJAR.jar /usr/sap/MTD/JC00/j2ee/cluster/server0/apps/chep.com/exchangeexchange_dynpro/webdynpro/public/lib/chep.comexchange~exchange_dynpro.jar Loading model: {parent,references,local} -
    The error occurred while trying to load "com.chep.portfolio.exchange.dynpro.model.EMSSummaryTO".
        at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:401)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at com.chep.portfolio.exchange.dynpro.summary.wdp.InternalExchangeManagementSummaryComp.class$(InternalExchangeManagementSummaryComp.java:25)
        ... 33 more</b>
    <u><b>Detailed Exception Chain</b></u>
    <b>
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.chep.portfolio.exchange.dynpro.summary.ExchangeManagementSummaryComp. (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:382)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:748)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:283)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java: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: java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/model/webservice/gci/WSTypedModelClass</b>

    hi,
    the problem is that you are missing a jar file called: webdynpromodel_webservice_default.jar
    which should be present inside:
    C:\Documents and Settings\<User Name>\.dtc\3\DCs\sap.com\tc\wd\wslib\_comp\gen\default\public\default\lib\java
    For this you need to add tc/wd/wslib(default) DC as used DC. Go to DC Metadata -> DC Definition and expand used DCs. check whether it is present or not. If not then add it.
    Just check this. Hope this will solve your problem
    thanks & regards,
    Manoj
    Message was edited by:
            Manoj Kumar

Maybe you are looking for