Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3982172E2 for ; Sat, 27 Jun 2015 12:17:05 +0000 (UTC) Received: (qmail 23137 invoked by uid 500); 27 Jun 2015 12:17:05 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 23007 invoked by uid 500); 27 Jun 2015 12:17:05 -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 22996 invoked by uid 99); 27 Jun 2015 12:17:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jun 2015 12:17:05 +0000 Date: Sat, 27 Jun 2015 12:17:05 +0000 (UTC) From: "Andreas Veithen (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AXIS-2442) java file genrated using WSDL2JAVA fail to compile with 'too many parameters' error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604133#comment-14604133 ] Andreas Veithen commented on AXIS-2442: --------------------------------------- Thanks for identifying the exact revision of the commit that fixed the issue. I've reintegrated the change into the current trunk. Note that nightly builds are available from the Apache snapshot repository at https://repository.apache.org/content/repositories/snapshots/org/apache/axis/. > java file genrated using WSDL2JAVA fail to compile with 'too many parameters' error > ----------------------------------------------------------------------------------- > > Key: AXIS-2442 > URL: https://issues.apache.org/jira/browse/AXIS-2442 > Project: Axis > Issue Type: Bug > Components: WSDL processing > Affects Versions: 1.3 > Environment: WIndows XP, Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05), AXIS1.3 > Reporter: Rakesh Jaiswal > Fix For: 1.4.1 > > Attachments: axis.jar, enterprise.wsdl > > > Hi, > I have generated java files using WSDL2Java utility using following option. > java -Dlog4j.configuration=file:/c:/dontknow/wsdl/log4j.properties -classpath C:\axis-1_3\lib\axis.jar;C:\axis-1_3\lib\commons-logging-1.0.4.jar;C:\axis-1_3\lib\log4j-1.2.8.jar;C:\axis-1_3\lib\commons-discovery-0.2.jar;C:\axis-1_3\lib\jaxrpc.jar;C:\axis-1_3\lib\saaj.jar;C:\axis-1_3\lib\wsdl4j-1.5.1.jar org.apache.axis.wsdl.WSDL2Java enterprise.wsdl > All java files successfully created. But when I am trying to compile those java files then Iam getting following exception. > Opportunity.java:588: too many parameters. > I have seen code of Opportunity.java & its constructor is having 286 parameters which is against java specification. Java limits the number of method parameters to 255 or 254 or less if > parameters are of type long for double. > Below is a part of my WSDL. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks for you help. > Regards > Rakesh -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org