axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yogen (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1434) Incorrect WSDL2Java code generation for option "-d none"
Date Tue, 17 Oct 2006 19:50:35 GMT
Incorrect WSDL2Java code generation for option "-d none"
--------------------------------------------------------

                 Key: AXIS2-1434
                 URL: http://issues.apache.org/jira/browse/AXIS2-1434
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.1
         Environment: WinXP, Sun JDK 1.5
            Reporter: yogen
            Priority: Critical


The code generated for attached WSDL files using wsdl2java tool throws compilation errors
during ant build. The code is generated using "-d none" option.
>wsdl2java -d none -p com.wsrp.test -ss -sd -g -uri wsrp_service.wsdl -pn WSRPServiceDescriptionService
>ant
compile.src:
    [javac] Compiling 6 source files to C:\work\WSRP\build\classes
    [javac] C:\work\WSRP\src\com\wsrp\test\WSRPServiceMessageReceiverInOut.java:70: toOM(org.apache.axiom.om.OMElement)
in com.wsrp.test.WSRPServ
iceMessageReceiverInOut cannot be applied to (org.apache.axiom.om.OMElement,boolean)
    [javac]             f.setDetail(toOM(e.getFaultMessage(),false));
    [javac]                         ^
    [javac] C:\work\WSRP\src\com\wsrp\test\WSRPServiceMessageReceiverInOut.java:78: toOM(org.apache.axiom.om.OMElement)
in com.wsrp.test.WSRPServ
iceMessageReceiverInOut cannot be applied to (org.apache.axiom.om.OMElement,boolean)
    [javac]             f.setDetail(toOM(e.getFaultMessage(),false));
    [javac]                         ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors

BUILD FAILED
C:\work\WSRP\build.xml:42: Compile failed; see the compiler error output for details.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message