This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes java.lang.ClassCastException: org.apache.axis.message.Detail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "java.lang.ClassCastException: org.apache.axis.message.Detail" Watch "java.lang.ClassCastException: org.apache.axis.message.Detail" New topic
Author

java.lang.ClassCastException: org.apache.axis.message.Detail

sathish shan
Greenhorn

Joined: Oct 16, 2004
Posts: 1
Hi,

I get the below error while running a webservice in weblogic 9.2

<faultstring>Exception during processing: java.lang.ClassCastException: org.apache.axis.message.Detail (see Fault Detail for stacktrace)</faultstring>
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">java.lang.ClassCastException: org.apache.axis.message.Detail
at weblogic.webservice.core.soap.SOAPElementImpl.addChildElement(SOAPElementImpl.java:136)
at weblogic.webservice.core.soap.SOAPFaultImpl.setDetail(SOAPFaultImpl.java:52)
at weblogic.webservice.util.FaultUtil.fillFault(FaultUtil.java:129)
at weblogic.webservice.util.FaultUtil.exception2Fault(FaultUtil.java:190)
at weblogic.webservice.core.handler.InvokeHandler.serializeFault(InvokeHandler.java:203)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:159)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:144)

I have the below classpath set to weblogic

[color=red]CLASSPATH=:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/commons/xbean.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/axis-1.4.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/commons-discovery-0.2.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/commons-logging.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/jaxrpc.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/saaj.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/log4j-1.2.9.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/xml-apis.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/axis/xercesImpl.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/hibernate/antlr-2.7.6.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/commons/tibjms.jar:/home/lonicet/ICE/test/runtime/bin/SmallSTep/lib/commons/jconn2.jar::/opt/bealicense/9.2:::/opt/beawls/9.2.MP1/weblogic92/server/lib/weblogic.jar:/opt/sunjdk/1.5.0_10-b03-amd64/lib/tools.jar:/opt/beawls/9.2.MP1/weblogic92/server/lib/ojdbc14.jar:/opt/sunjdk/1.5.0_10-b03-amd64/jre/lib/rt.jar:/opt/beawls/9.2.MP1/weblogic92/server/lib/webservices.jar[/color]

What could be the reason? I put the jar files in the order mentioned in axis website. Any help would be appreciated much.

Thanks
Sathish
 
jQuery in Action, 2nd edition
 
subject: java.lang.ClassCastException: org.apache.axis.message.Detail
 
Similar Threads
HttpErrorCode : 500
WLSERVER ANT TASK
ClassNotFoundException
error while deplying jax-ws ?
Problem CreatingJMS-Implemented Weblogic Web Service