From: Vance K. <va...@us...> - 2006-04-17 01:57:46
|
User: vancek Date: 06/04/16 18:57:46 Modified: andromda-ejb3/src/main/resources/templates/ejb3 WebServiceInterface.vsl Log: added support for @WebResult on operations Revision Changes Path 1.2 +4 -1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/WebServiceInterface.vsl Index: WebServiceInterface.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/WebServiceInterface.vsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- WebServiceInterface.vsl 11 Apr 2006 15:45:14 -0000 1.1 +++ WebServiceInterface.vsl 17 Apr 2006 01:57:46 -0000 1.2 @@ -27,7 +27,10 @@ ## All operations throw java.rmi.RemoteException ## #* *##if (!$operation.lifecycleCallback && ($operation.visibility == "public") && ($operation.viewTypeRemote || $operation.viewTypeBoth) && ($operation.exposed)) - @javax.jws.WebMethod(operationName = "${stringUtils.capitalize($operation.name)}") + @javax.jws.WebMethod(operationName = "$operation.methodName") +#* *##if ($stringUtils.isNotBlank($operation.resultName)) + @javax.jws.WebResult(name = "${operation.resultName}") +#* *##end #* *##if ($operation.oneway) @javax.jws.Oneway #* *##end |