Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 59750 invoked from network); 20 Aug 2006 23:07:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Aug 2006 23:07:21 -0000 Received: (qmail 26680 invoked by uid 500); 20 Aug 2006 23:07:18 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 26623 invoked by uid 500); 20 Aug 2006 23:07:18 -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 26612 invoked by uid 99); 20 Aug 2006 23:07:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Aug 2006 16:07:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Aug 2006 16:07:17 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 736577142E5 for ; Sun, 20 Aug 2006 23:04:15 +0000 (GMT) Message-ID: <8058529.1156115055469.JavaMail.jira@brutus> Date: Sun, 20 Aug 2006 16:04:15 -0700 (PDT) From: "Nick Gallardo (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Closed: (AXIS2-1048) Dispatch ClassCastException on InvokeAsync In-Reply-To: <11703043.1155949093830.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-1048?page=all ] Nick Gallardo closed AXIS2-1048. -------------------------------- Resolution: Fixed > Dispatch ClassCastException on InvokeAsync > ------------------------------------------------------- > > Key: AXIS2-1048 > URL: http://issues.apache.org/jira/browse/AXIS2-1048 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: jaxws > Reporter: Nikhil Thaker > Assigned To: Nick Gallardo > Priority: Minor > Attachments: JIRA_1048_SOAPMessageFix.txt > > > AsyncInvocation on Dispatch returning a SOAPEnvelope rather than a SOAPMessage and hence client test case getting a ClassCastException. > I have fixed the problem and I am attaching the patch for the same. > The problem was in XMLDispatchAsyncListener where in it was using SOAPEnvelopeBlock and returning business object for SOAPEnvelopeBlock. I changed to logic to use Message and then getSOAPMessage from message implementation. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org