Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 50650 invoked from network); 13 Feb 2008 03:59:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2008 03:59:38 -0000 Received: (qmail 73476 invoked by uid 500); 13 Feb 2008 03:59:23 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 73463 invoked by uid 500); 13 Feb 2008 03:59:23 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 73452 invoked by uid 99); 13 Feb 2008 03:59:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2008 19:59:23 -0800 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DATE_IN_PAST_12_24,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of deepalk@gmail.com designates 209.85.132.251 as permitted sender) Received: from [209.85.132.251] (HELO an-out-0708.google.com) (209.85.132.251) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 03:58:50 +0000 Received: by an-out-0708.google.com with SMTP id c31so1263348ana.22 for ; Tue, 12 Feb 2008 19:58:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=Et0Ejf9Xmb5f2n7T7evH3Z/RJtpKyIH98JjCxT8iLvY=; b=ThoKvfF9IBiQj8iWNRzIS8kLmrtNh8wtEbnzoieop9RPmh2yY7VGHCj+969dntTSIsBpYuJUhS/BmzqzH3yXPRDYHmhGK/qHr/ovbJZuIwjwhKip/X0WD00eblr+2y0x1BEE4gX1K19GOxohzMeAfLzJAqOXupAfcD6BXC2BcqA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=QbZROnBelrWcsEzCuL9BuyphC8yJbPBHcNZq+NHJckRpkBRbfObikIaExlRJRUR0XcOGrskOWyquGYtVtTyu919P2b2I5uci5RkeIAvfYqxCb72WywmCrNBcUm6UhNBaOBSBJ+z5RNBXQPAFWxnKdleFHZddG5EuxpESxXqRE1Q= Received: by 10.100.132.2 with SMTP id f2mr4614857and.11.1202875137246; Tue, 12 Feb 2008 19:58:57 -0800 (PST) Received: from ?10.100.1.132? ( [222.165.132.170]) by mx.google.com with ESMTPS id 20sm1143376agd.11.2008.02.12.19.58.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 Feb 2008 19:58:55 -0800 (PST) Message-ID: <47B19460.3080701@gmail.com> Date: Tue, 12 Feb 2008 18:13:12 +0530 From: Deepal jayasinghe User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: [axis2] axis2 1.3 custom complex type problem References: <20080211133535.286910@gmx.net> In-Reply-To: <20080211133535.286910@gmx.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi , When I debug Axis2 with your scenario I found an issue in Axis2 , so I have fixed that and committed the change , you may try with nightly builds or wait for Axis2 1.4 Thanks Deepal > Hi all, > > i have define a new class that has an member which is an array of > KeyValuePair. Where KeyValuePair has two member of type object (key and value). > > WSDL is genereated as follows: > > > > > > > > > > > > > > Service class method: > > public Hashtable testHashtable2() { > KeyValuePair[] keyValuePairs = new KeyValuePair[] { > new KeyValuePair("TestStringKey", "TestStringValue"), > new KeyValuePair(new Integer(1), new Integer(2)), > new KeyValuePair("StringKayForinteger", new Integer(2)), > new KeyValuePair(new Integer(1), "StringValueForInteger"), > new KeyValuePair(new Integer(1), new String("StringValueForInteger")) > }; > > return new Hashtable(keyValuePairs); > } > > and SOAP Response: > > > > > > > TestStringKey > TestStringValue > > > > > > > StringKayForinteger > > > > > StringValueForInteger > > > > StringValueForInteger > > > > > > > So for String there are the values but not type and for Integer there are no > values but the type. Why is this? > > Regards > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org