[ https://jira.codehaus.org/browse/MWEBLOGIC-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jon Osborn resolved MWEBLOGIC-27. --------------------------------- Resolution: Fixed Fix Version/s: 2.9.4-SNAPSHOT Please check out this version. You can now specify the JWS type. it defaults to JWSRPC > Issue compiling using weblogic-maven-plugin jwsc goal > ----------------------------------------------------- > > Key: MWEBLOGIC-27 > URL: https://jira.codehaus.org/browse/MWEBLOGIC-27 > Project: Mojo's Maven plugin for WebLogic > Issue Type: Bug > Environment: Weblogic 10.3 > Reporter: Sheshadri > Assignee: Jon Osborn > Priority: Critical > Fix For: 2.9.4-SNAPSHOT > > Attachments: ErrorTrace.txt > > > I'm trying to compile JWS implementation file using maven weblogic plugin > 2.9.1 version. > Steps 1 > a) Create WSDL and Schemas(XSD). Note schema contained enumerate values. > b) Genereate JAXWS webservice artifacts using wsdlc ant task (outside this > project) > c) Create a Maven 2.0 project with implementation class in src/main/java > d) Now executing jwsc goal to compile and bundle the artifact to a > webservice, I get the following error > [INFO] > fileset=/opt/app/d1tvt1m7/test/main/cc1234/test/test1006/xi-parent/xi-services/src/main/java > [jwsc] JWS: processing module xi-services-10.06 > [jwsc] Parsing source files > [jwsc] Parsing source files > [jwsc] 1 JWS files being processed for module xi-services-10.06 > [jwsc] > /opt/app/d1tvt1m7/test/main/cc1234/test/test1006/xi-parent/xi-services/src/main/java/com/mtt/xi/tac/TACServices.java > 59:34 > [jwsc] [ERROR] - Enum Types are not supported on a JWS: > com.mtt.xi.tac.TacUpdateStautsInfo > [jwsc] > /opt/app/d1tvt1m7/test/main/cc1234/test/test1006/xi-parent/xi-services/src/main/java/com/mtt/xi/tac/TACServices.java > 59:34 > [jwsc] [WARNING] - The type com.mtt.xi.tac.TacUpdateStautsInfo used in > the return on method submitTac has no default constructor and might not be > able to be bound to XML. > [jwsc] > /opt/app/d1tvt1m7/test/main/cc1234/test/test1006/xi-parent/xi-services/src/main/java/com/mtt/xi/tac/TACServices.java > 59:34 > [jwsc] [ERROR] - Enum Types are not supported on a JWS: > com.mtt.xi.tac.TacInfo > [jwsc] > /opt/app/d1tvt1m7/test/main/cc1234/test/test1006/xi-parent/xi-services/src/main/java/com/mtt/xi/tac/TACServices.java > 59:34 > [jwsc] [WARNING] - The type com.mtt.xi.tac.TacInfo used in parameter > submitTacRequest on method submitTac has no default constructor and might not > be able to be bound to XML. > [AntUtil.deleteDir] Deleting directory /var/tmp/_nxzcrm > [ERROR] Exception encountered during jwsc > weblogic.wsee.tools.WsBuildException: JWS Validation failed: [Enum Types are > not supported on a JWS: com.mtt.xi.tac.TacUpdateStautsInfo, Enum Types are > not supported on a JWS: com.mtt.xi.tac.TacInfo] > The same implementation works fine using a jwsc anttask distributed part of > weblogic. So would like to if there is any configuration parameter in Jwsc > goal to address this. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email