[ http://issues.apache.org/jira/browse/AXIS2-1048?page=all ]
Nick Gallardo closed AXIS2-1048. -------------------------------- Resolution: Fixed > Dispatch<SOAPMessage> 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<SOAPMessage> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]