Hello, Can you please send your mycorbaserver.xml file to check the nameserver lookup code issue?
Regards, Eranga On Thu, Jun 5, 2008 at 11:55 PM, Juergen Weber <[EMAIL PROTECTED]> wrote: > Hi all, > > in case anybody else tries the sample from > Exposing CORBA Services as Web Services - Introduction to the Axis2 CORBA > Module > http://wso2.org/library/2807 > > you will run into > org.apache.axis2.AxisFault: unknown > > Problem is that CorbaUtil.resolveObject() throws a > CORBA.OBJECT_NOT_EXIST (which is swallowed by Axis, see AXIS2-3836). > The nameserver lookup code does not work, no idea why. > > A work-around to get the sample running is to use IOR based Corba > server adressing. object_to_string the Object in the server, write it > into a file and configure mycorbaserver.xml to use that file > <parameter name="iorFilePath">/my/ior.txt</parameter> > > Then the sample works fine. > > Cheers, > Juergen > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]