[
https://issues.apache.org/jira/browse/AXIS2-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739803#action_12739803
]
Eranga Jayasundera commented on AXIS2-4452:
-------------------------------------------
[Currently the corba module is always looking up the Corba object using the
name service when executing a Corba method.]
You can specify the CORBA object in using a name service or IOR file or IOR
string.
Option 1: Using a name service
<service name="mycorbaserver" scope="application">
<description>CORBA Web Service</description>
<parameter name="idlFile">mycorbaserver.idl</parameter>
<parameter
name="namingServiceUrl">corbaloc::localhost:2900/NameService</parameter>
<parameter name="objectName">mycorbasrv</parameter>
<parameter name="interfaceName">corba2ws::MyCorbaService</parameter>
</service>
Option 2: IOR file
<service name="mycorbaserver" scope="application">
<description>CORBA Web Service</description>
<parameter name="idlFile">mycorbaserver.idl</parameter>
<parameter name="iorFilePath">/tmp/simple.ior</parameter>
<parameter name="interfaceName">corba2ws::MyCorbaService</parameter>
</service>
Option 3: IOR String
<service name="mycorbaserver" scope="application">
<description>CORBA Web Service</description>
<parameter name="idlFile">mycorbaserver.idl</parameter>
<parameter name="iorString">IOR:000000004300......</parameter>
<parameter name="interfaceName">corba2ws::MyCorbaService</parameter>
</service>
However, supplying the IOR of the Corba object in the SOAP request seems to be
interesting. But we need to check the feasibility.
> Use IOR supplied in SOAP request to get Corba object
> ----------------------------------------------------
>
> Key: AXIS2-4452
> URL: https://issues.apache.org/jira/browse/AXIS2-4452
> Project: Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: corba
> Affects Versions: 1.5
> Reporter: Bas Claessen
> Assignee: Eranga Jayasundera
>
> Currently the corba module is always looking up the Corba object using the
> name service when executing a Corba method.
> It would be very nice when you can also supply the IOR of the Corba object in
> the SOAP request.
> When this IOR is present, the Corba service is not using the name service to
> get a Corba object, but will use the Corba object identified by the IOR.
> Pseudo code:
> if (iorStringInSoapMessage == null)
> {
> obj=CorbaUtil.resolveObject(service, orb);
> }
> else
> {
> obj=orb.string_to_object(iorStringInSoapMessage);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.