Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 9544 invoked from network); 17 Oct 2006 19:53:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2006 19:53:32 -0000 Received: (qmail 88420 invoked by uid 500); 17 Oct 2006 19:53:29 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 88374 invoked by uid 500); 17 Oct 2006 19:53:29 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 88363 invoked by uid 99); 17 Oct 2006 19:53:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 12:53:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 12:53:28 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DFC8D714310 for ; Tue, 17 Oct 2006 12:52:36 -0700 (PDT) Message-ID: <2904953.1161114756913.JavaMail.jira@brutus> Date: Tue, 17 Oct 2006 12:52:36 -0700 (PDT) From: "yogen (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-1434) Incorrect WSDL2Java code generation for option "-d none" In-Reply-To: <31367378.1161114635355.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-1434?page=all ] yogen updated AXIS2-1434: ------------------------- Attachment: wsrp_service.wsdl > 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 > Attachments: wsrp_service.wsdl, wsrp_v1_bindings.wsdl, wsrp_v1_interfaces.wsdl, wsrp_v1_types.xsd, xml.xsd > > > 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