You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by mtim <mt...@gmail.com> on 2005/06/23 18:15:34 UTC

Axis in the container other then Tomcat. Is this is bug ?

Hello, 

Runtime: Axis 1.2.1 , Weblogic 8.1

In my RPC handler I'm getting this error: 
java.lang.ClassCastException
  at org.apache.axis.MessageContext.setMessage(MessageContext.java:648)

The message that  I'm   trying  to set came from  
MessageFactory.newInstance().createMessage(MimeHeaders, InputStream)
call, which returns me weblogic implementation of
javax.xml.soap.SOAPMessage  class.

So is it a bug ?
Based on description of  javax.xml.rpc.handler.soap.SOAPMessageContext
 I _CAN_  set the the implementation of javax.xml.soap.SOAPMessage.

Please help. 

Thanks in advance. 
Timour