You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Bas Claessen (JIRA)" <ji...@apache.org> on 2009/07/29 12:18:14 UTC

[jira] Created: (AXIS2-4452) Use IOR supplied in SOAP request to get Corba object

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


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.


[jira] Assigned: (AXIS2-4452) Use IOR supplied in SOAP request to get Corba object

Posted by "Eranga Jayasundera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eranga Jayasundera reassigned AXIS2-4452:
-----------------------------------------

    Assignee: Eranga Jayasundera

> 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.


[jira] Commented: (AXIS2-4452) Use IOR supplied in SOAP request to get Corba object

Posted by "Eranga Jayasundera (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (AXIS2-4452) Use IOR supplied in SOAP request to get Corba object

Posted by "Bas Claessen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752188#action_12752188 ] 

Bas Claessen commented on AXIS2-4452:
-------------------------------------

Hi Eranga,

Thank you for your response.
Do you know when the feasibility check will be finished?

Kind regards,

Bas

> 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.