Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 4209 invoked from network); 19 Jul 2005 09:07:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jul 2005 09:07:13 -0000 Received: (qmail 27783 invoked by uid 500); 19 Jul 2005 09:07:08 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 27756 invoked by uid 500); 19 Jul 2005 09:07:08 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 27743 invoked by uid 99); 19 Jul 2005 09:07:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2005 02:07:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [155.35.46.20] (HELO mail18.ca.com) (155.35.46.20) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2005 02:07:03 -0700 Received: from inhyms21.ca.com ([155.35.35.10]) by mail18.ca.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 19 Jul 2005 14:37:02 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C58C41.39E6D630" Subject: RE: [Axis2] ClassCastException in SOAPMessageImpl constructor, line 49 Date: Tue, 19 Jul 2005 14:37:02 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Axis2] ClassCastException in SOAPMessageImpl constructor, line 49 thread-index: AcWMPZgQXfKLQRXgQ3KAwiUlOK7QFwAA4oEg From: "Shahi, Ashutosh" To: Cc: X-OriginalArrivalTime: 19 Jul 2005 09:07:02.0562 (UTC) FILETIME=[3A1C4020:01C58C41] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C58C41.39E6D630 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi Denis, Thanks for the pointer. Yes, it's a bug as in setup() method should be taking javax.xml.soap.MimeHeaders and not axis2.saaj.MimeHeaders and no casting should be done in the constructor. I'll correct it and patch it up. =20 Ashutosh _____ =20 From: Denis Schlesinger [mailto:schlesinger@ecs-gmbh.de]=20 Sent: Tuesday, July 19, 2005 2:12 PM To: axis-dev@ws.apache.org Subject: [Axis2] ClassCastException in SOAPMessageImpl constructor, line 49 =20 Hi all, =20 Could anyone please verify whether I am correct or not when assuming that the "MimeHeaders"-casting in the constructor of 'org.apache.axis2.saaj.SOAPMessageImpl' is not working? One tries to cast 'javax.xml.soap.MimeHeaders' to 'org.apache.axis2.saaj.MimeHeaders' when calling the method 'setup' =20 I always get a ClassCastException... =20 Cheers, Denis ------_=_NextPart_001_01C58C41.39E6D630 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hi Denis,

Thanks for the pointer. Yes, it’s a bug as in setup() = method should be taking javax.xml.soap.MimeHeaders and not = axis2.saaj.MimeHeaders and no casting should be done in the constructor. I’ll correct it and = patch it up.

 

Ashutosh


From: Denis Schlesinger [mailto:schlesinger@ecs-gmbh.de]
Sent: Tuesday, July 19, = 2005 2:12 PM
To: axis-dev@ws.apache.org
Subject: [Axis2] ClassCastException in SOAPMessageImpl constructor, line = 49

 

Hi all,

 

Could anyone please verify whether I am = correct or not when assuming that the “MimeHeaders”-casting in the = constructor of ‘org.apache.axis2.saaj.SOAPMessageImpl’ is not working? = One tries to cast ‘javax.xml.soap.MimeHeaders’ to ‘org.apache.axis2.saaj.MimeHeaders’ when calling the method ‘setup’

 

I always get a = ClassCastException…

 

Cheers,

Denis

------_=_NextPart_001_01C58C41.39E6D630--