Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 81904 invoked from network); 13 Jul 2005 14:42:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2005 14:42:23 -0000 Received: (qmail 41462 invoked by uid 500); 13 Jul 2005 14:42:10 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 41420 invoked by uid 500); 13 Jul 2005 14:42:10 -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 41407 invoked by uid 99); 13 Jul 2005 14:42:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 07:42:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.153.168.129] (HELO sasami.atomised.org) (194.153.168.129) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 07:42:07 -0700 Received: by sasami.atomised.org (Postfix, from userid 1003) id 8BCF4B6F7F; Wed, 13 Jul 2005 15:43:03 +0100 (BST) Date: Wed, 13 Jul 2005 15:43:03 +0100 To: axis-user@ws.apache.org Subject: Invalid element/Deserialization, again :( Message-ID: <20050713144303.GA14982@sasami.atomised.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i From: jbaker@sasami.atomised.org (John Baker) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I know I've asked this before, and I've reviewed the remarks from last time and looked for obvious errors in my WSDL, but nothing is making itself obvious. Please consider this message arriving to an Axis server: (snip) And this exception: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: Invalid element in uk.co.caps_solutions. www.schema.uniform._72b.servicerequest.sr.srtypes.SubmittedGeneralServiceRequest Type - SubmittedGeneralServiceRequest faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Invali d element in uk.co.caps_solutions.www.schema.uniform._72b.servicerequest.sr.srty pes.SubmittedGeneralServiceRequestType - SubmittedGeneralServiceRequest at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeseri alizer.java:258) at org.apache.axis.encoding.DeserializationContext.startElement(Deserial izationContext.java:1035) So the problem appears to be that it doesn't like the second node (SubmittedGeneralServiceRequest). The WSDL can be found here: http://www.javasystemsolutions.com/serviceRequestConnector.wsdl To throw a further observation into the problem, if I make a call from some Axis generated stubs (from the WSDL), it makes this request: < So Axis stubs generate something similar to the XML coming into the server. So why can't Axis decode the XML coming in? Thanks :) John