Re: RE :Re: Exposing CORBA Service as Web service

Jürgen Weber <[email protected]> Wed, 13 Apr 2016 16:16:18 +0200
Newsgroups gmane.comp.corba.jacorb.devel
Message-ID <CAFNKvH31Yb-crqZVKzHFHNUGg0vtvK+Hi9yF=ioVO_3M9whWXQ@mail.gmail.com>
I hadn't tried a nameservice, I used <parameter name="iorString">

Juergen
Am 13.04.2016 9:10 vorm. schrieb "Nicolas Aguilé" <[email protected]>:

> 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&nbsp; &nbsp; &nbsp; &nbsp; at
> java.util.ResourceBundle.getObject(ResourceBundle.java:393)&nbsp; &nbsp;
> &nbsp; &nbsp; at
> java.util.ResourceBundle.getString(ResourceBundle.java:353)&nbsp; &nbsp;
> &nbsp; &nbsp; at
> org.apache.axis2.jaxws.i18n.MessageBundle.getMessage(MessageBundle.java:173)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.jaxws.i18n.MessageBundle.getMessage(MessageBundle.java:93)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.jaxws.i18n.Messages.getMessage(Messages.java:87)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.corba.deployer.CorbaDeployer.populateService(CorbaDeployer.java:327)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.corba.deployer.CorbaDeployer.processService(CorbaDeployer.java:129)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.corba.deployer.CorbaDeployer.deploy(CorbaDeployer.java:97)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:144)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:136)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileSystemConfigurator.java:147)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.transport.SimpleAxis2Server.&lt;init&gt;(SimpleAxis2Server.java:47)&nbsp;
> &nbsp; &nbsp; &nbsp; at
> org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98)[INFO]
> Listening on port 8080
>
> My CORBA deployer conf file looks like this :
> &lt;service name="CoGenExt"&gt;&nbsp; &nbsp; &lt;description&gt;Connecteur
> generique&lt;/description&gt;&nbsp; &nbsp; &lt;parameter
> name="idlFile"&gt;ConnecteurGeneriqueExterne.idl&lt;/parameter&gt;&nbsp;
> &nbsp; &lt;parameter
> name="interfaceName"&gt;sas::cogen::coinst::commun::corba::ConnecteurGeneriqueExterne&lt;/parameter&gt;&nbsp;
> &nbsp; &lt;parameter
> name="orbClass"&gt;org.jacorb.orb.ORB&lt;/parameter&gt;&nbsp; &nbsp;
> &lt;parameter
> name="orbSingletonClass"&gt;org.jacorb.orb.ORBSingleton&lt;/parameter&gt;&nbsp;
> &nbsp; &lt;parameter name="namingServiceUrl"&gt;corbaloc::
> 127.0.0.1:14200/NameService&lt;/parameter&gt;&nbsp; &nbsp; &lt;parameter
> name="objectName"&gt;OpsnetV3/connecteurs/sicops/sicopsDeOpsnetLFOJ&lt;/parameter&gt;&lt;/service&gt;
>
> NameService is running and Service
> implementing&nbsp;ConnecteurGeneriqueExterne interface too.
>
>
> Nicolas&nbsp;
>
> ----- message d'origine -----
> De : "Jürgen Weber" &lt;[email protected]&gt;
> date mar. 12/04/2016 21:47 (GMT +02:00)
> À : "Discussions concerning CORBA development with JacORB" &
> lt;[email protected]&gt;
> 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
>   &lt;parameter name="orbClass"&gt;org.jacorb.orb.ORB&lt;/parameter&gt;
>   &lt;parameter
> name="orbSingletonClass"&gt;org.jacorb.orb.ORBSingleton&lt;/parameter&gt;
>
> Juergen
>
> 2016-04-12 15:54 GMT+02:00 Nick Cross &lt;[email protected]&gt;:
> &gt;
> &gt; I believe there is one test with CXF currently
> &gt;
> &gt;
> https://github.com/JacORB/JacORB/blob/master/test/regression/src/test/java/org/jacorb/test/bugs/bug968/ReproClientTest.java
> &gt;
> &gt;
> https://github.com/JacORB/JacORB/blob/master/test/regression/pom.xml#L249
> &gt;
> &gt; Perhaps you could adapt this test?
> &gt;
> &gt; Nick
> &gt;
> &gt;
> &gt; On 11/04/16 15:35, Nicolas Aguilé wrote:
> &gt;&gt;
> &gt;&gt; Hi,
> &gt;&gt; i'm trying to expose a CORBA service (using JacORB) as a Web
> Service using
> &gt;&gt; CXF.
> &gt;&gt; I've generate a WSDL file using the idl2wsdl tool and after
> generate de
> &gt;&gt; Java files from the WSDL but it doesn't work.
> &gt;&gt;
> &gt;&gt; Does anyone have expose CORBA with CXF ?
> &gt;&gt; What are configurations for cxf-servlet.xml, cxf-extension-corba,
> ... ?
> &gt;&gt; Thanks for your help
> &gt;&gt;
> &gt;&gt; Nicolas Aguilé
> &gt;&gt; _______________________________________________
> &gt;&gt; jacorb-developer maillist  -
> &gt;&gt; [email protected]
> &gt;&gt;
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
> &gt;&gt;
> &gt;
> &gt; _______________________________________________
> &gt; jacorb-developer maillist  -
> [email protected]
> &gt;
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
> _______________________________________________
> jacorb-developer maillist  -
> [email protected]
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
> _______________________________________________
> jacorb-developer maillist  -
> [email protected]
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>
_______________________________________________
jacorb-developer maillist  -  [email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer