Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 8646 invoked from network); 22 Nov 2005 18:15:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Nov 2005 18:15:07 -0000 Received: (qmail 55080 invoked by uid 500); 22 Nov 2005 18:15:06 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 54490 invoked by uid 500); 22 Nov 2005 18:15:04 -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 54479 invoked by uid 99); 22 Nov 2005 18:15:04 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2005 10:15:04 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 88E3C592 for ; Tue, 22 Nov 2005 19:14:42 +0100 (CET) Message-ID: <1152036930.1132683282558.JavaMail.jira@ajax.apache.org> Date: Tue, 22 Nov 2005 19:14:42 +0100 (CET) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS-2165) axis-wsdl2java used with 'extension base' is producing wrong number of constructor arguments In-Reply-To: <929725963.1123183603711.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-2165?page=all ] Davanum Srinivas resolved AXIS-2165: ------------------------------------ Resolution: Fixed Closing bug as fixed. Please ask on mailing list for encoded support in Axis2. > axis-wsdl2java used with 'extension base' is producing wrong number of constructor arguments > -------------------------------------------------------------------------------------------- > > Key: AXIS-2165 > URL: http://issues.apache.org/jira/browse/AXIS-2165 > Project: Apache Axis > Type: Bug > Components: WSDL processing > Versions: 1.2.1 > Environment: Linux, java 1.4.2 > Reporter: trebor iksrazal > > I have produced a simple test case, which works as expected with JWSDP wscompile, but does not work as expected with axis-wsdl2java. > With wscompile, the generated class constructor is: > public ReturnWeb_Login(java.lang.String errorMessage, int successErrorCode, java.lang.String SOAP_Session_id, java.lang.String web_user_name) { > this.errorMessage = errorMessage; > this.successErrorCode = successErrorCode; > this.SOAP_Session_id = SOAP_Session_id; > this.web_user_name = web_user_name; > } > With axis-wsdl2java, the generated class constructor is: > public ReturnWeb_Login( > java.lang.String SOAP_Session_id, > java.lang.String web_user_name) { > this.SOAP_Session_id = SOAP_Session_id; > this.web_user_name = web_user_name; > } > WSDL: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > axis-wsdl2java definition: > > > > output="resources/axis" > verbose="true" > url="resources/axis-jira.wsdl" > > > namespace="http://com/hostedtelecom/callcentreweb" > package="com.hostedtelecom.callcentreweb.endpoint" /> > > > > > > > > > > > > > > > > > wscompile ant task: > > > > > > > > fork="true" > base="resources/sun" > import="true" > mapping="resources/CallCentreWeb_Mapping.xml" > verbose="true" > debug="true" > sourceBase="resources/sun" > config="resources/config-wsdl.xml"> > > > > > > > > > > > > > > wscompile dependency for : > config="resources/config-wsdl.xml"> > > > > > Note : > mapping="resources/CallCentreWeb_Mapping.xml" > is an wscompile output file. > Please advise if I can clarify further. Regards, > iksrazal -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira