Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 68196 invoked from network); 2 Feb 2010 18:16:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 18:16:33 -0000 Received: (qmail 34628 invoked by uid 500); 2 Feb 2010 18:16:32 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 34550 invoked by uid 500); 2 Feb 2010 18:16:32 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 34540 invoked by uid 99); 2 Feb 2010 18:16:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 18:16:32 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.207.172.168] (HELO server.dankulp.com) (66.207.172.168) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 18:16:23 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id 2A78250700B3; Tue, 2 Feb 2010 13:16:03 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.1-gr2 (2007-05-02) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.tbeTFs4TR5 Received: from dilbert.localnet (c-24-91-141-225.hsd1.ma.comcast.net [24.91.141.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id B127E50700B3; Tue, 2 Feb 2010 13:15:58 -0500 (EST) From: Daniel Kulp To: users@cxf.apache.org Subject: Re: Client side; service returns fault; Unmarshalling Error: unexpected element Date: Tue, 2 Feb 2010 13:15:58 -0500 User-Agent: KMail/1.12.4 (Linux/2.6.32-gentoo; KDE/4.3.5; x86_64; ; ) Cc: KnutIvar References: <27417976.post@talk.nabble.com> <201002021107.09645.dkulp@apache.org> <27424872.post@talk.nabble.com> In-Reply-To: <27424872.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002021315.58300.dkulp@apache.org> X-Old-Spam-Status: No, score=-3.5 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.2.1-gr2 Oh. You are putting what should be in a soap:Fault into the soap:Body. Since it's not a soap:Fault, it's trying to process it as a reponse, not a fault. Thus, the message really isn't valid. If it's a fault, it shoudl be a soap:Fault. Dan On Tue February 2 2010 1:10:51 pm KnutIvar wrote: > It looks like this...; > > > > > type="co-v1-5:OssIllegalArgumentException"/> > type="co-v1-5:RemoteException"/> type="co-v1-5:ObjectNotFoundException"/> > type="co-v1-5:DuplicateKeyException"/> > type="co-v1-5:CreateException"/> > > > > As you can see; it has the createExceptionElement as a choice. > > However; the requestKey appears here; > > > > > > > > > > ... and more about the request (from the wsdl); > > style="document"/> > > > > > > > > > > > > ... It looks ok to me... > > dkulp wrote: > > What does the schema look like for the > > createAndStartRequestByValueException > > element? From that error message, it looks like > > createAndStartRequestByValueException is not allowed to have a > > "createException" child element. The only expected element is a > > "requestKey" > > element. > > > > Dan > > ----- > http://www.knutivars.net www.knutivars.net > "http://www.knutivars.net/cxf/index.html Document first Apache CXF and > XMLBeans with Spring. > -- Daniel Kulp dkulp@apache.org http://www.dankulp.com/blog