Issue Type: Bug Bug
Assignee: Jon Osborn
Attachments: ErrorTrace.txt
Created: 13/Sep/12 11:54 AM
Description:

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.

Environment: Weblogic 10.3
Fix Versions: 2.9.4-SNAPSHOT
Project: Mojo's Maven plugin for WebLogic
Priority: Critical Critical
Reporter: Dietrich D. Baluyot
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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

Reply via email to