I have a Controller Class with:
openUserSession(); closeUserSession(); loadView();loadRooms(); -------------------------- | / my Service class with: loadView(); -------------------------- | / my Entity class with: getPicture(id:Long):byte -------------------------- and a <<FrondEndSessionObject>> with: room : Collection -------------------------- I model the Event Parameter like in "Tables" section of Struts and than I put code. My CustomerControlImpl.java when I put the code become : public final void loadView(ActionMapping mapping, org.andromda.archive.customer.LoadViewForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { // all properties receive a default value, just to have the application running properly //form.setId(new Long((long)3355)); final byte[] imageBytes = getCustomerService().getPicture(form.getId()); response.setContentType(null); response.setContentLength(imageBytes.length); response.getOutputStream().write(imageBytes); } in output I got this error: [javac] Compiling 31 source files to C:MyProjectandromdApprentroomswebtargetclasses C:MyProjectandromdApprentroomswebsrcjavaorgandromdaarchivecustomercustomerControllerImpl.java:47: cannot resolve symbol symbol : method getPicture (java.lang.Long) location: interface org.andromda.archive.customer.CustomerService final byte[] imageBytes = getCustomerService().getPicture(form.getId()); ^ 1 error I think there is some problem like: I don't use well getCutomerService or call well, I don't find the getCutomerService() function! Is it correct to make a entity? is it correct use getCustomerService() in cutomerControllerImpl.Java ? Thanks for your suggestion _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=942#942 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user