Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 23922 invoked from network); 6 Jan 2004 19:16:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Jan 2004 19:16:22 -0000 Received: (qmail 14754 invoked by uid 500); 6 Jan 2004 19:16:02 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 14677 invoked by uid 500); 6 Jan 2004 19:16:01 -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 14656 invoked from network); 6 Jan 2004 19:16:01 -0000 From: "Richard Martin" To: Subject: RE: SimpleDeserializer Error Date: Tue, 6 Jan 2004 19:17:53 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0047_01C3D489.CE6772C0" X-Mailer: Microsoft Outlook, Build 11.0.5207 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Thread-Index: AcPUhpjB40S3dRJjSLCownkUfI68JQAAiE1Q Message-Id: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0047_01C3D489.CE6772C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit If it's the deserialiser that's at fault then you can easily change it. I'd recommend downloading a copy of Castor (www.castor.org ) and using it to do all the deserialisation. In fact there's a developerworks article on how to do this here: http://www-106.ibm.com/developerworks/library/ws-castor/ Give it a try; your mileage may vary - if the problem isn't the serialisation mechanism then this may not help. Regards, Richard _____ From: Pani, Gourav [mailto:gourav.pani@brightpoint.com] Sent: 06 January 2004 18:55 To: 'axis-user@ws.apache.org' Subject: RE: SimpleDeserializer Error Is there some sort of a workaround to this? -----Original Message----- From: Richard Martin [mailto:rmarti@essex.ac.uk] Sent: Tuesday, January 06, 2004 1:55 PM To: axis-user@ws.apache.org Subject: RE: SimpleDeserializer Error Yes, this appears to be a bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17484 And there was another email about it not 3 or 4 weeks ago: http://www.mail-archive.com/axis-user@xml.apache.org/msg16191.html It seems that the deserialiser has problems deserialising arrays of custom objects, but that's just a first glance. Regards, Richard _____ From: Pani, Gourav [mailto:gourav.pani@brightpoint.com] Sent: 06 January 2004 18:10 To: 'axis-user@ws.apache.org' Subject: SimpleDeserializer Error The following is the error I get when I post to a service. org.xml.sax.SAXException: Error: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. My transaction sends an array of a serializable object and the construction of the object is consistent with the WSDL. Has anyone else encountered this problem? Thanks. ------=_NextPart_000_0047_01C3D489.CE6772C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

If it’s the deserialiser that’s at fault then you can easily change it. I’d recommend = downloading a copy of Castor (www.castor.org) = and using it to do all the deserialisation.

In fact there’s a developerworks article on how to do this = here:

 

http://= www-106.ibm.com/developerworks/library/ws-castor/

 

Give it a try; your mileage may = vary – if the problem isn’t the serialisation mechanism then this may not = help.

 

Regards, =

 

Richard

=

 


From: = Pani, Gourav [mailto:gourav.pani@brightpoint.com]
Sent: 06 January 2004 = 18:55
To: 'axis-user@ws.apache.org'
Subject: RE: = SimpleDeserializer Error

 

Is there some sort of a workaround = to this?

-----Original = Message-----
From: Richard Martin [mailto:rmarti@essex.ac.uk]
Sent: Tuesday, January = 06, 2004 1:55 PM
To: axis-user@ws.apache.org
Subject: RE: = SimpleDeserializer Error

Yes, this appears to be a bug: =

 

http:/= /nagoya.apache.org/bugzilla/show_bug.cgi?id=3D17484=

 

And there was another email about = it not 3 or 4 weeks ago: http://www.mail-archive.com/axis-user@xml.apache.org/msg16191.html=

 

It seems that the deserialiser has problems deserialising arrays of custom objects, but that's just a first glance.

 

Regards, =

 

Richard

=

 


From: = Pani, Gourav [mailto:gourav.pani@brightpoint.com]
Sent: 06 January 2004 = 18:10
To: 'axis-user@ws.apache.org'
Subject: = SimpleDeserializer Error

 

The following is the error I get when I post to a service. 

org.xml.sax.SAXException: Error: SimpleDeserializer encountered a child element, which is NOT expected, in something it was = trying to deserialize.

 

My transaction sends an array of a serializable = object and the construction of the object is consistent with the WSDL.  Has = anyone else encountered this problem?

 

Thanks.

 

------=_NextPart_000_0047_01C3D489.CE6772C0--