Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 26483 invoked from network); 19 Oct 2007 12:25:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Oct 2007 12:25:13 -0000 Received: (qmail 43318 invoked by uid 500); 19 Oct 2007 12:24:53 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 43170 invoked by uid 500); 19 Oct 2007 12:24:52 -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 43159 invoked by uid 99); 19 Oct 2007 12:24:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 05:24:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of atmanes@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 12:24:51 +0000 Received: by py-out-1112.google.com with SMTP id a25so979290pyi for ; Fri, 19 Oct 2007 05:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=MisOVBIcAeut4WL83NRW0OCQtpqOeRW49MtXIFyZzXo=; b=fpFy8Dqqf+a82NQprdyIMV9PxzIJflT4LPRUTbmVEqL7/NMrVGf4vUQnoOHhsjsl/KF4Y7F3EjRtqf6bQI5zTS/J/WG5L+poA6qQAuSAxPbrYuRexVrDe5cs+QIxG43w8HVHJD8yRTs8uR20IMhiMX83rZqnQKNUmI4mV1IMrt8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GuyTAe9vt4Sv4TZnpy4l48txPaG20J22KwH9E8L4Q+TFZAWb8J1dA5vCpAbBf3Pw6x+8rygb1KZLBOYBKq7HwZ9mxmWq+8M5OT1foc1mSfSWMNMhcCtS6CwLClcf/4dtvbbA47SNyGn3R2m7DxXTTKNOcOGRdgj0oaJhuIHbTuk= Received: by 10.64.209.6 with SMTP id h6mr3249553qbg.1192796670492; Fri, 19 Oct 2007 05:24:30 -0700 (PDT) Received: by 10.65.160.20 with HTTP; Fri, 19 Oct 2007 05:24:30 -0700 (PDT) Message-ID: Date: Fri, 19 Oct 2007 08:24:30 -0400 From: "Anne Thomas Manes" To: axis-user@ws.apache.org Subject: Re: unexpected subelement In-Reply-To: <60708f4b0710182331l1e6a4233h537679974eb72ac9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <60708f4b0710182331l1e6a4233h537679974eb72ac9@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Your other alternative is to define the "value" element as "xs:anyType": Anne On 10/19/07, Amila Suriarachchi wrote: > > > > On 10/18/07, Kahler, Jason J (US SSA) wrote: > > I have a wsdl that uses an xsd:any in a complexType. > > When I submit request via SoapUI I get Unexpected subelement value. I am > > using adb as my databinding. > > > > Here is my WSDL snippet. > > > > > > > > > > minOccurs="1" > > name="ParameterName" type="xsd:string"/> > > minOccurs="1" > > name="queryOperator" type="tns:queryOperatorType"/> > > minOccurs="1" > > name="value" type="tns:queryValueType"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Soap Request: > > > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > > xmlns:wfnp=" http://wfnp"> > > > > > > > > > > > anyOldPAram > > = > > myValue > > this is an invalid xml. since type is any then you should have a vail xml > inside value element > try this > > > > > > > > > > > > > > > Soap Response: > > > > > xmlns:soapenv=" > http://schemas.xmlsoap.org/soap/envelope/"> > > > > > > soapenv:Server > > > org.apache.axis2.databinding.ADBException : > > Unexpected subelement value > > > > > > > > > > > > I saw some posts about bugs, but I am using a new version of axis2. > > Also I use an xsd:any in another service with no issues? > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > axis-user-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > -- > Amila Suriarachchi, > WSO2 Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org