[jacorb-developer] RE :Re: Exposing CORBA Service as Web service

Nicolas Aguilé na.ais40 at wanadoo.fr
Wed Apr 13 09:09:59 CEST 2016


Hi Jürgen,
i've also tried Axis2 because the documentation was clear about the subject of exposing a CORBA service as a WS
But unfortunately, it also failed with the error :
[INFO] Deploying Web service: version.aar - file:/home/na/clearcase/na_SASV6/modulesSocle/SASCoExtWS/scripts/../axis2-repository/services/version.aar[ERROR] Error while deploying nulljava.util.MissingResourceException: Can't find resource for bundle org.apache.axis2.jaxws.i18n.ProjectResourceBundle, key op_error        at java.util.ResourceBundle.getObject(ResourceBundle.java:393)        at java.util.ResourceBundle.getString(ResourceBundle.java:353)        at org.apache.axis2.jaxws.i18n.MessageBundle.getMessage(MessageBundle.java:173)        at org.apache.axis2.jaxws.i18n.MessageBundle.getMessage(MessageBundle.java:93)        at org.apache.axis2.jaxws.i18n.Messages.getMessage(Messages.java:87)        at org.apache.axis2.corba.deployer.CorbaDeployer.populateService(CorbaDeployer.java:327)        at org.apache.axis2.corba.deployer.CorbaDeployer.processService(CorbaDeployer.java:129)        at org.apache.axis2.corba.deployer.CorbaDeployer.deploy(CorbaDeployer.java:97)        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:144)        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585)        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164)        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)        at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:136)        at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileSystemConfigurator.java:147)        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)        at org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:47)        at org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98)[INFO] Listening on port 8080

My CORBA deployer conf file looks like this :
<service name="CoGenExt">    <description>Connecteur generique</description>    <parameter name="idlFile">ConnecteurGeneriqueExterne.idl</parameter>    <parameter name="interfaceName">sas::cogen::coinst::commun::corba::ConnecteurGeneriqueExterne</parameter>    <parameter name="orbClass">org.jacorb.orb.ORB</parameter>    <parameter name="orbSingletonClass">org.jacorb.orb.ORBSingleton</parameter>    <parameter name="namingServiceUrl">corbaloc::127.0.0.1:14200/NameService</parameter>    <parameter name="objectName">OpsnetV3/connecteurs/sicops/sicopsDeOpsnetLFOJ</parameter></service>

NameService is running and Service implementing ConnecteurGeneriqueExterne interface too.


Nicolas 

----- message d'origine -----
De : "Jürgen Weber" <juergen at jwi.de>
date mar. 12/04/2016 21:47 (GMT +02:00)
À : "Discussions concerning CORBA development with JacORB" <jacorb-developer at lists.spline.inf.fu-berlin.de>
Objet : Re: [jacorb-developer] Exposing CORBA Service as Web service

there is also a Corba module in Axis2:

https://axis.apache.org/axis2/java/core/docs/corba-deployer.html

The article tells to use yoko, but it also works with JacORB, you have
to use the parameters
  <parameter name="orbClass">org.jacorb.orb.ORB</parameter>
  <parameter name="orbSingletonClass">org.jacorb.orb.ORBSingleton</parameter>

Juergen

2016-04-12 15:54 GMT+02:00 Nick Cross <jacorb at goots.org>:
>
> I believe there is one test with CXF currently
>
> https://github.com/JacORB/JacORB/blob/master/test/regression/src/test/java/org/jacorb/test/bugs/bug968/ReproClientTest.java
>
> https://github.com/JacORB/JacORB/blob/master/test/regression/pom.xml#L249
>
> Perhaps you could adapt this test?
>
> Nick
>
>
> On 11/04/16 15:35, Nicolas Aguilé wrote:
>>
>> Hi,
>> i'm trying to expose a CORBA service (using JacORB) as a Web Service using
>> CXF.
>> I've generate a WSDL file using the idl2wsdl tool and after generate de
>> Java files from the WSDL but it doesn't work.
>>
>> Does anyone have expose CORBA with CXF ?
>> What are configurations for cxf-servlet.xml, cxf-extension-corba, ... ?
>> Thanks for your help
>>
>> Nicolas Aguilé
>> _______________________________________________
>> jacorb-developer maillist  -
>> jacorb-developer at lists.spline.inf.fu-berlin.de
>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>>
>
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
_______________________________________________
jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer


More information about the jacorb-developer mailing list