Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 71490 invoked from network); 5 Jul 2005 15:12:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2005 15:12:32 -0000 Received: (qmail 82263 invoked by uid 500); 5 Jul 2005 15:12:19 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 82253 invoked by uid 500); 5 Jul 2005 15:12:18 -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 82240 invoked by uid 99); 5 Jul 2005 15:12:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2005 08:12:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Tue, 05 Jul 2005 08:12:18 -0700 Received: by sasami.atomised.org (Postfix, from userid 1003) id 282C4B6F87; Tue, 5 Jul 2005 16:13:03 +0100 (BST) Date: Tue, 5 Jul 2005 16:13:03 +0100 To: axis-user@ws.apache.org, Anne Thomas Manes Subject: Re: Invalid element/Deserialisation Message-ID: <20050705151303.GC18626@sasami.atomised.org> References: <20050704193216.GA16048@sasami.atomised.org> <20050705133726.GA18626@sasami.atomised.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 I should point out that the call which works is being generated by the Java stubs generated from the WSDL, while the offending request is being generated by another bit of Java building up it's own SOAP message (although it seems to use the axis client libraries). I guess the major question is: Why did the stubs use two LogonToConnector elements... On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote: > Please post the WSDL. > > There is a big difference between the two messages -- one has an extra > wrapper element. But if that's the problem, then > I'd expect the error to occur on that element rather than on > DatabaseID. > > Your WSDD also looks suspect. The qname should be > qname="ns:DatabaseID" rather than > qname="ns:>UniformLoginCredentialsType>DatabaseID". > > Anne > > On 7/5/05, John Baker wrote: > > Further to my post, I have derived that if I create Stub classes from WSDL > > and make a WS call using Axis - to an Axis server - the client generates > > this call: > > > > > > > > > > a > > b > > c > > > > > > > > > > Which is unserialised without a problem. So what is different between that > > and this: > > > > > > > > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes" > > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes" > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > > > > dbVal > > > userVal > > > passVal > > > > > > > > > > > > > > > > > > And the deploy.wsdd refers to DatabaseID as follows: > > > > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID" > > > type="java:java.lang.String" > > > serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory" > > > deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory" > > > encodingStyle="" > > > /> > > > > > > Could someone point me in roughly the right direction? Is the SOAP request > > > badly formed? Why has it failed to look up a method of deserialising the > > > DatabaseID element? > > > > > > Thanks, > > > > > > > > > > > > John > >