Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 58751 invoked from network); 21 Jul 2004 11:43:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Jul 2004 11:43:24 -0000 Received: (qmail 96857 invoked by uid 500); 21 Jul 2004 11:42:48 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 96815 invoked by uid 500); 21 Jul 2004 11:42:47 -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: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 96791 invoked by uid 99); 21 Jul 2004 11:42:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [195.243.210.197] (HELO mail4.telekom.de) (195.243.210.197) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 21 Jul 2004 04:42:44 -0700 Received: from U9JWN.mgb01.telekom.de by mail2.dmz.telekom.de with ESMTP for axis-user@ws.apache.org; Wed, 21 Jul 2004 13:42:33 +0200 Received: from edmb003.edm-b.edm.dsh.de by U9JWN.mgb01.telekom.de with ESMTP for axis-user@ws.apache.org; Wed, 21 Jul 2004 13:42:36 +0200 Received: by edmb003.edm-b.edm.dsh.de with Internet Mail Service (5.5.2657.72) id ; Wed, 21 Jul 2004 13:42:36 +0200 Message-Id: From: Dorner Thomas To: "'axis-user@ws.apache.org'" Subject: Help please - Complex Types Date: Wed, 21 Jul 2004 13:42:33 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, this is my second post for this problem - unfortunately no one can help me!? My Problem is: I send a HashMap from a WebService-Client to my WebService - no Problem so far. The WSDL for the HashMap looks like this: Now i can see the value for the HashMap is defined as xsd:anyType, so I can send everything. When I now use to send an Array in the HashMap for the value I got some Error: soapenv:Server.userException org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. Why this error??? --> the value of the HashMap looks like this: kem teset test So I have more then one item in the value of the HashMap Okay,on the other hand - when I send an Array to a Class which was defined in the wsdl like this: There is no Problem! --> Axis know there is a Array coming and deserialize it. Maybe I had define in my WSDL that the value can hold xsd:anyType with maxOccurs="unbounded". I think this defines an Array[] of anyType - in Doc/lit - wrapped style? Can someone tell me, what the hell I must do to send an Array in my HashMap without an error when Axis want to deserialize the Value? Some help will be appreciated Thanks Tomi