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 D78FA1812B for ; Mon, 29 Jun 2015 23:00:07 +0000 (UTC) Received: (qmail 27992 invoked by uid 500); 29 Jun 2015 23:00:07 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 27850 invoked by uid 500); 29 Jun 2015 23:00:07 -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 27839 invoked by uid 99); 29 Jun 2015 23:00:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2015 23:00:07 +0000 Date: Mon, 29 Jun 2015 23:00:07 +0000 (UTC) From: "Joel (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=14606607#comment-14606607 ] Joel commented on AXIS-2442: ---------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:21.184s [INFO] Finished at: Sat Jun 27 12:00:50 UTC 2015 [INFO] Final Memory: 36M/168M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal on project axis-rt-core: Could not resolve dependencies for project org.apache.axis:axis-rt-core:jar:1.4.1-SNAPSHOT: Could not find artifact org.apache.ws.commons.axiom:testutils:jar:1.2.15-SNAPSHOT in Nexus (http://repository.apache.org/snapshots) -> [Help 1] > 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