[ http://jira.andromda.org/browse/WS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16194#action_16194 ]
Bob Fields commented on WS-27: ------------------------------ I'm not sure why WebServicePackageLogicImpl.handleGetAttributeFormDefault would return null, It reads the value from the taggedValue (stereotype attribute) andromda_xml_attributeFormDefault and returns "UNQUALIFIED" if none is found or if set to 'default'. The test output from the webservice cartridge UML2 test model produces package-info.java correctly. Is it reproducible in your 3.4-SNAPSHOT source tree using the same UML2 test model? /** * @return findTaggedValue(WebServiceGlobals.ATTRIBUTE_FORM_DEFAULT) or DEFAULT_ATTRIBUTE_FORM * @see org.andromda.cartridges.webservice.metafacades.WebServicePackage#getAttributeFormDefault() */ protected String handleGetAttributeFormDefault() { String style = (String)this.findTaggedValue(WebServiceGlobals.ATTRIBUTE_FORM_DEFAULT); if (StringUtils.isEmpty(style) || style.equals(DEFAULT)) { style = DEFAULT_ATTRIBUTE_FORM; } return style; } Another possibility is that the $pkg reference returns a Package instead of a WebServicePackage type within package-info.java template, which does not have the method. The metafacade mapping looks right in the cartridge though. > Generation error in package-info.java > ------------------------------------- > > Key: WS-27 > URL: http://jira.andromda.org/browse/WS-27 > Project: WebService Cartridge > Issue Type: Bug > Affects Versions: 3.4 > Environment: Ubuntu 10.04 / Java 1.6 > Reporter: Walter Itamar MourĂ£o > Assignee: Chad Brandon > Attachments: package-info.java > > > package-info.java with wrong content (see attachment). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first