Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 65298 invoked from network); 23 Nov 2007 14:25:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Nov 2007 14:25:13 -0000 Received: (qmail 76128 invoked by uid 500); 23 Nov 2007 14:24:54 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 76104 invoked by uid 500); 23 Nov 2007 14:24:54 -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 76093 invoked by uid 99); 23 Nov 2007 14:24:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 06:24:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 14:25:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 390A5714211 for ; Fri, 23 Nov 2007 06:24:43 -0800 (PST) Message-ID: <32741265.1195827883231.JavaMail.jira@brutus> Date: Fri, 23 Nov 2007 06:24:43 -0800 (PST) From: "Martin Caslavsky (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-3362) wsdl2java for JAXB binding generates uncompilable code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org wsdl2java for JAXB binding generates uncompilable code ------------------------------------------------------ Key: AXIS2-3362 URL: https://issues.apache.org/jira/browse/AXIS2-3362 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: codegen Affects Versions: 1.3, nightly Environment: JDK5, JAXB-RI 2 Reporter: Martin Caslavsky Attachments: test.wsdl For method with single primitive parameter (int, long,...) wsdl2java for JAXB binding generates uncompilable code in *MessageReceiverInOut.invokeBusinessLogic(MessageContext, MessageContext): "Cannot cast from Object to int": if ("NewOperation".equals(methodName)) { int newOperationResponse1 = 0; int wrappedParam = (int) fromOM(msgContext.getEnvelope() .getBody() .getFirstElement(), int.class, getEnvelopeNamespaces(msgContext.getEnvelope())); (ADB works OK) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org