[ https://issues.apache.org/jira/browse/AXIS2-5607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773456#comment-13773456 ]
Martin Gainty commented on AXIS2-5607: -------------------------------------- so we can debug in the same location of the *.idl place this service definition in NameOfService.xml where NameOfService is the actual name of the service <service name="NameOfService"> <description>DescriptionGoesHere</description> <parameter name="idlFile">NameOfService.idl</parameter> <parameter name="interfaceName">example::calculator</parameter> <!-- get this from corba admin --> <!-- get the URL below from the corba admin --> <parameter name="namingServiceUrl">corbaloc::localhost:900/NameService</parameter> <!-- name of object to obtain ..get this from corba admin --> <parameter name="objectName">calculator</parameter> </service> please display contents of the following files: idl service.xml > FVDCodeBaseImpl cannot be cast to CodeBase > ------------------------------------------ > > Key: AXIS2-5607 > URL: https://issues.apache.org/jira/browse/AXIS2-5607 > Project: Axis2 > Issue Type: Bug > Components: corba > Affects Versions: 1.6.2 > Environment: Java 7 > Reporter: Jürgen Weber > Priority: Minor > > I tried the Exposing CORBA Services as Web Services - Introduction to the > Axis2 CORBA Module > sample from http://wso2.com/library/2807/ using Yoko 1.3 > There seems to be an incompatibility between Yoko 1.3 and the Java 1.7 Orb, > the client shows the stack trace below. > I configured the corba module to use the sun orb, too, then the sample works: > <parameter name="orbClass">com.sun.corba.se.impl.orb.ORBImpl</parameter> > <parameter > name="orbSingletonClass">com.sun.corba.se.impl.orb.ORBSingleton</parameter> > Exception in thread "main" org.apache.axis2.AxisFault: > com.sun.corba.se.impl.io.FVDCodeBaseImpl cannot be cast to > org.omg.SendingContext.CodeBase > at > org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) > at > org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) > at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) > at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) > at test.MycorbaserverStub.concat(MycorbaserverStub.java:209) > at test.Client.main(Client.java:18) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org