Issue compiling using weblogic-maven-plugin jwsc goal
-----------------------------------------------------

                 Key: MOJO-1521
                 URL: http://jira.codehaus.org/browse/MOJO-1521
             Project: Mojo
          Issue Type: Bug
          Components: _Plugin Submission
         Environment: Weblogic 10.3
            Reporter: Sheshadri
            Priority: Critical
         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 contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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


Reply via email to