Axis 1.4 jar throws classcastexception
--------------------------------------

                 Key: AXIS-2817
                 URL: https://issues.apache.org/jira/browse/AXIS-2817
             Project: Axis
          Issue Type: Bug
          Components: WSDL processing
    Affects Versions: 1.4
         Environment: Linux red hat 4.4+ Weblogic 10.3+JRockit ( java version 
"1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, 
compiled mode) ) 
            Reporter: Annaya 


I am invoking a webservice from my application . This web service gets 
successfully invoked in the environment
Windows+JBoss 4.2.3+JDK 1.6_10 axis 1.4 jar

However the same code throws an error in the environment 
Linux+Weblogic 10.3 JRockit 1.6 + axis 1.4 jar
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, 
compiled mode)

I get the below log:
<Jan 20, 2010 6:42:44 PM IST> <Error> <OIMCP.SAPSOD> <BEA-000000> 
<Class/Method: SOAPUtilityImpl/getVirsaRiskAnalysis encounter some problems: 
Error processing WSDL document:
java.lang.ClassCastException: java.util.ArrayList>
javax.xml.rpc.ServiceException: Error processing WSDL document:
java.lang.ClassCastException: java.util.ArrayList
at org.apache.axis.client.Service.initService(Service.java:250)
at org.apache.axis.client.Service.<init>(Service.java:165)
at org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:198)
at 
oracle.iam.grc.sod.scomp.impl.grcsap.analysis.GRC53SOAPUtilityImpl.getVirsaRiskAnalysis(GRC53SOAPUtilityImpl.java:261)
at 
oracle.iam.grc.sod.scomp.impl.grcsap.analysis.SoDAnalysisExecutionOperGRC.startPreventiveSynConflictSimulation(SoDAnalysisExecutionOperGRC.java:531)
at 
oracle.iam.grc.sod.impl.SILServiceImpl.executeSynchronousSoDSimulation(SILServiceImpl.java:2322)

Also, the error is thrown when i am creating the service 

Service remote = (Service) factory.createService(url, qName)

The URL and qName parameters hold the same values in both environments. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to