From axis-c-dev-return-21130-apmail-ws-axis-c-dev-archive=ws.apache.org@ws.apache.org Fri Oct 16 03:35:04 2009 Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 59372 invoked from network); 16 Oct 2009 03:35:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Oct 2009 03:35:04 -0000 Received: (qmail 98199 invoked by uid 500); 16 Oct 2009 03:35:04 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 98085 invoked by uid 500); 16 Oct 2009 03:35:03 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 98071 invoked by uid 99); 16 Oct 2009 03:35:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 03:35:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 03:34:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4934A234C045 for ; Thu, 15 Oct 2009 20:34:31 -0700 (PDT) Message-ID: <1614900650.1255664071286.JavaMail.jira@brutus> Date: Thu, 15 Oct 2009 20:34:31 -0700 (PDT) From: "S.Uthaiyashankar (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Created: (AXIS2C-1403) Code generation having problem in Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Code generation having problem in Windows ----------------------------------------- Key: AXIS2C-1403 URL: https://issues.apache.org/jira/browse/AXIS2C-1403 Project: Axis2-C Issue Type: Bug Components: wsdl2c tool Affects Versions: 1.6.0 Environment: Windows Reporter: S.Uthaiyashankar Fix For: Next Version Error reported in mailing list by Pete Maclean: http://www.mail-archive.com/axis-c-user@ws.apache.org/msg05892.html =========================================================== I am attempting to use Axis2/c 1.6.0 to generate C client stubs in Windows with the "-d adb" option for use with the Microsoft C compiler and am facing three problems. First I had trouble actually generating the stubs using the WSDL2C.bat file supplied in the package. I got past this obstacle by changing the line that read: java -classpath %AXIS2_CLASSPATH% org.apache.axis2.wsdl.WSDL2C %* to: java -classpath "%AXIS2_CLASSPATH%" org.apache.axis2.wsdl.WSDL2C %* Since I can see no downside to it, may I suggest that this change be made to the distribution package. It could save a bit of puzzlement and frustration. The other problems cause the generated code to get compilation errors. The second is that declarations are generated that are not at the top of their blocks. I see code like this: { axiom_node_t *text_node = NULL; text_node = axiom_node_get_first_child(parent, env); axiom_text_t *text_element = NULL; ... This is fine in C++ but not in plain C. =========================================== -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.