Return-Path: Delivered-To: apmail-ws-kandula-dev-archive@www.apache.org Received: (qmail 27080 invoked from network); 11 Mar 2010 05:24:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Mar 2010 05:24:25 -0000 Received: (qmail 28748 invoked by uid 500); 11 Mar 2010 05:23:52 -0000 Delivered-To: apmail-ws-kandula-dev-archive@ws.apache.org Received: (qmail 28504 invoked by uid 500); 11 Mar 2010 05:23:51 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 28496 invoked by uid 99); 11 Mar 2010 05:23:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 05:23:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_FILL_THIS_FORM_SHORT 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; Thu, 11 Mar 2010 05:23:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6E525234C4C1 for ; Thu, 11 Mar 2010 05:23:27 +0000 (UTC) Message-ID: <386631036.196711268285007451.JavaMail.jira@brutus.apache.org> Date: Thu, 11 Mar 2010 05:23:27 +0000 (UTC) From: "Amila Chinthaka Suriarachchi (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Resolved: (AXIS2-4650) BAD WSDL generation from Java class In-Reply-To: <605783532.156461268150248032.JavaMail.jira@brutus.apache.org> 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 [ https://issues.apache.org/jira/browse/AXIS2-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Chinthaka Suriarachchi resolved AXIS2-4650. ------------------------------------------------- Resolution: Fixed fixed in revision 921694 > BAD WSDL generation from Java class > ----------------------------------- > > Key: AXIS2-4650 > URL: https://issues.apache.org/jira/browse/AXIS2-4650 > Project: Axis2 > Issue Type: Bug > Environment: OS: Debian GNU/Linux > WSO2 WSAS v3.1.3 > Reporter: Vitor Manuel Alves Rodrigues > Attachments: entity.txt > > > Hello everyone, > I have this snippet from the WSDL: > ... > > > > > > > ... > The correct would be this: > > > > > > > I have this in Java: > public class Entity { > ... > /*Inner class*/ > public class EntityCompanyWithContactType { > private EntityCompanyType entity; > private DigitalAddress.DigitalAddressType[] digital_address; > private PhoneNumber.PhoneNumberType[] phone_number; > private PostalAddress.PostalAddressType[] postal_address; > private PostalAddress.PostalAddressPhoneNumberType[] postal_address__phone_number; > /** > * The default constructor. > */ > public EntityCompanyWithContactType(){} > /** > * The constructor with all the input for one record. > * @param entity value; > * @param digital_address list value; > * @param phone_number list value; > * @param postal_address list value; > * @param postal_address__phone_number list value; > */ > public EntityCompanyWithContactType(EntityCompanyType entity, DigitalAddress.DigitalAddressType[] digital_address, PhoneNumber.PhoneNumberType[] phone_number, PostalAddress.PostalAddressType[] postal_address, PostalAddress.PostalAddressPhoneNumberType[] postal_address__phone_number) { .. } > > ..... > } > I'm using "ant install" -> - install: build of AAR and deploy into WSAS. Also generates API documentation. > My build.xml : > .. > depends="build-service,doc" > description="Installs the service package AAR into the Web service server repository."> > > > > > > > > ... > What am i doing wrong? Help. :( > For more info, please please contact me :) -- 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: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org