Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 94540 invoked from network); 19 Apr 2007 14:54:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Apr 2007 14:54:44 -0000 Received: (qmail 52431 invoked by uid 500); 19 Apr 2007 14:54:43 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 52382 invoked by uid 500); 19 Apr 2007 14:54:43 -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 52296 invoked by uid 99); 19 Apr 2007 14:54:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 07:54:42 -0700 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; Thu, 19 Apr 2007 07:54:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 74948714064 for ; Thu, 19 Apr 2007 07:54:15 -0700 (PDT) Message-ID: <7566832.1176994455474.JavaMail.jira@brutus> Date: Thu, 19 Apr 2007 07:54:15 -0700 (PDT) From: "Eugeniy Nizhinskiy (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-2564) Wrong type mapping for java.lang.Long In-Reply-To: <25719113.1176993675287.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 [ https://issues.apache.org/jira/browse/AXIS2-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugeniy Nizhinskiy updated AXIS2-2564: -------------------------------------- Component/s: codegen Priority: Critical (was: Major) > Wrong type mapping for java.lang.Long > ------------------------------------- > > Key: AXIS2-2564 > URL: https://issues.apache.org/jira/browse/AXIS2-2564 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Reporter: Eugeniy Nizhinskiy > Priority: Critical > > 1. Wrong java2wsdl mapping occurs when try to use java.lang.Long types in web service. > java.lang.Long mappes to long instead of nilable long. > 2. Problem with complex types. If we use long (not java.lang.Long) as in/out parameter in web service methods java2wsdl mappes it as nilable. But if we use in/out complex type with long field we will get not nilable in wsdl. > Example: > From the following classes java2wsdl generates wrong WSDL. > [BatchManagerService.java] > package x4444; > public class BatchManagerService { > > public x4444.Person getPerson(java.lang.Long personINTN) > { > return null; > }; > public x4444.Person getPersonSimple(long personSIMPLEINTN) > { > return null; > }; > } > [Person.java] > package x4444; > public class Person { > public java.lang.Long getLong(){return null;}; > public long getSimpleLong(){return 0;}; > } > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- 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