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 "Gee Chia (JIRA)" <ji...@apache.org> on 2007/02/06 17:03:07 UTC

[jira] Created: (AXIS2-2120) Metadata Exchange support on Axis2

Metadata Exchange support  on Axis2
-----------------------------------

                 Key: AXIS2-2120
                 URL: https://issues.apache.org/jira/browse/AXIS2-2120
             Project: Axis 2.0 (Axis2)
          Issue Type: New Feature
          Components: modules
    Affects Versions: nightly
            Reporter: Gee Chia


New features to support WS-MetadataExchange specification on Axis.  Basically, to support incoming Get Metadata request message from SOAP protocol engines, Axis2 SOAP processing is extended with new metadataExchange module, and allows plug-in of Data Locators. Data Locator is responsible to perform data retrieval. The plug-in support allows other Web Services engines that build on top of Axis2 to support different data retrieval implementation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2120) Metadata Exchange support on Axis2

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

Gee Chia updated AXIS2-2120:
----------------------------

    Attachment: mexPatch

Attached file contains code changes (new and modified existing) to support Metadata Exchange on Axis2.


Summary of changes:

org.apache.axis2.mex package
  metadataExchange module implementation

org.apache.axis2.description.AxisService  -
    Added new getData API

org.apache.axis2.dataRetrieval package -
   Default Axis 2 data locators support

org.apache.axis2.deployment :AxisConfigBuild,  ServiceBuilder
     Support dataLocator and dialectLocator element configuration in Axis2.xml and    
     services.xml

org.apache.axis2.engine.AxisConfiguration -
   Support Data Locator configuration

userguide.mex.clients.*
   Sample client codes to demonstrate using Axis2 default data locator, Service  
   level Data locators, and WSDL specific Service level data locators for WS-Mex 
    GetMetadata request

userguide.mex.datalocators.*
   Sample data locators

userguide.mex.services.*
  Sample Services  that conforms to the MEX specification and make the metadata 
  available for access.






  


> Metadata Exchange support  on Axis2
> -----------------------------------
>
>                 Key: AXIS2-2120
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2120
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: modules
>    Affects Versions: nightly
>            Reporter: Gee Chia
>         Attachments: mexPatch
>
>
> New features to support WS-MetadataExchange specification on Axis.  Basically, to support incoming Get Metadata request message from SOAP protocol engines, Axis2 SOAP processing is extended with new metadataExchange module, and allows plug-in of Data Locators. Data Locator is responsible to perform data retrieval. The plug-in support allows other Web Services engines that build on top of Axis2 to support different data retrieval implementation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2120) Metadata Exchange support on Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470977 ] 

Davanum Srinivas commented on AXIS2-2120:
-----------------------------------------

Gee,

Could you please check if you can avoid touching the kernel module. We have some code here if you want to take a peek at.

http://wso2.org/projects/commons/mex

thanks,
dims

> Metadata Exchange support  on Axis2
> -----------------------------------
>
>                 Key: AXIS2-2120
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2120
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: modules
>    Affects Versions: nightly
>            Reporter: Gee Chia
>         Attachments: mexPatch
>
>
> New features to support WS-MetadataExchange specification on Axis.  Basically, to support incoming Get Metadata request message from SOAP protocol engines, Axis2 SOAP processing is extended with new metadataExchange module, and allows plug-in of Data Locators. Data Locator is responsible to perform data retrieval. The plug-in support allows other Web Services engines that build on top of Axis2 to support different data retrieval implementation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2120) Metadata Exchange support on Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471103 ] 

Davanum Srinivas commented on AXIS2-2120:
-----------------------------------------

Gee,

As a general rule, we *prefer* to talk about "design and implementation" here on the axis-dev@ list :) Especially if it affects the kernel module. Let me review this a bit more and get back to you. 

thanks,
dims

> Metadata Exchange support  on Axis2
> -----------------------------------
>
>                 Key: AXIS2-2120
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2120
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: modules
>    Affects Versions: nightly
>            Reporter: Gee Chia
>         Attachments: mexPatch
>
>
> New features to support WS-MetadataExchange specification on Axis.  Basically, to support incoming Get Metadata request message from SOAP protocol engines, Axis2 SOAP processing is extended with new metadataExchange module, and allows plug-in of Data Locators. Data Locator is responsible to perform data retrieval. The plug-in support allows other Web Services engines that build on top of Axis2 to support different data retrieval implementation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2120) Metadata Exchange support on Axis2

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

Sanka Samaranayake updated AXIS2-2120:
--------------------------------------

    Attachment: updated.zip

I've reviewed the uploaded patch and it looks good to me except for few minor errors. ( I've fixed them and uploaded the files to the JIRA).

IMO, the DataLocator concept makes lot of senses. Perhaps Gee could provide few concrete scenario that demonstrate the use of DataLocators, to ensure we fully understand it before committing it to the codebase.

However the MetadataExchange module has a limitation where it doesn't support WS-Transfer based metadata requests. However there is a workaround. Since the wsa:To of the WS-Transfer based metadata requests ends with '/metadata', you can rename the control operation of the module to 'metadata' s.t. any of those requests are dispatched to that operation via RequestURIBasedOperationDispatcher. Then you can check whether the soap action is equal to WS-Transfer-Get action and process appropriately.  (The MexMessageReceiver and module.xml with the suggested changes are also uploaded)

> Metadata Exchange support  on Axis2
> -----------------------------------
>
>                 Key: AXIS2-2120
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2120
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: modules
>    Affects Versions: nightly
>            Reporter: Gee Chia
>         Attachments: mexPatch, updated.zip
>
>
> New features to support WS-MetadataExchange specification on Axis.  Basically, to support incoming Get Metadata request message from SOAP protocol engines, Axis2 SOAP processing is extended with new metadataExchange module, and allows plug-in of Data Locators. Data Locator is responsible to perform data retrieval. The plug-in support allows other Web Services engines that build on top of Axis2 to support different data retrieval implementation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2120) Metadata Exchange support on Axis2

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

Davanum Srinivas resolved AXIS2-2120.
-------------------------------------

    Resolution: Fixed

> Metadata Exchange support  on Axis2
> -----------------------------------
>
>                 Key: AXIS2-2120
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2120
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: modules
>    Affects Versions: nightly
>            Reporter: Gee Chia
>         Attachments: mexPatch, updated.zip
>
>
> New features to support WS-MetadataExchange specification on Axis.  Basically, to support incoming Get Metadata request message from SOAP protocol engines, Axis2 SOAP processing is extended with new metadataExchange module, and allows plug-in of Data Locators. Data Locator is responsible to perform data retrieval. The plug-in support allows other Web Services engines that build on top of Axis2 to support different data retrieval implementation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2120) Metadata Exchange support on Axis2

Posted by "Gee Chia (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471063 ] 

Gee Chia commented on AXIS2-2120:
---------------------------------

Dims:
I appreciate your reminder to consider different implementation alternative.

During the design and implementation of the metadata exchange solution, I am trying to consider from different perspectives of how Axis2 users/developers might be using the metadata exchange code, and also how to fit the solution in the very robust Axis2 architecture - configurable and easily extensible for supporting different data retrieval implementation, and future data retrieval requirements. I am hoping to provide a more general data retrieval (exchange) code base to address WS-MEX specification requirements as well as longer-term needs. 

a. Supports extensible set of data i.e. not limited to only WSDL, Policy, and Schema. See http://download.boulder.ibm.com/ibmdl/pub/software/dw/specs/ws-rt/ws-rt-spec.pdf for an example.

b. Provides hooks for other mechanisms to store/generate the metadata i.e. allows Axis2 users to implement specialize data retrieval logic instead of using the default Axis2 implementation. The plug-in data locator is not MEX-specific. It is about how to associate some extra data with a target web service. MEX is just one way to access to the data locator to perform metadata exchange.

The data retrieval extends in Axis2 kernel is to provide support  for data associated with a service, and to provide a way for people to plug-in their own implementation for retrieving and/or generating data. 

Again, thanks for your attention.
Gee Chia


> Metadata Exchange support  on Axis2
> -----------------------------------
>
>                 Key: AXIS2-2120
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2120
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: modules
>    Affects Versions: nightly
>            Reporter: Gee Chia
>         Attachments: mexPatch
>
>
> New features to support WS-MetadataExchange specification on Axis.  Basically, to support incoming Get Metadata request message from SOAP protocol engines, Axis2 SOAP processing is extended with new metadataExchange module, and allows plug-in of Data Locators. Data Locator is responsible to perform data retrieval. The plug-in support allows other Web Services engines that build on top of Axis2 to support different data retrieval implementation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2120) Metadata Exchange support on Axis2

Posted by "Sanka Samaranayake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472997 ] 

Sanka Samaranayake commented on AXIS2-2120:
-------------------------------------------

I've reviewed the uploaded patch and it looks good to me except for few minor errors. ( I've fixed them and uploaded the files to the JIRA).

IMO, the DataLocator concept makes lot of senses. Perhaps Gee could provide few concrete scenario that demonstrate the use of DataLocators, to ensure we fully understand it before committing it to the codebase.

However the MetadataExchange module has a limitation where it doesn't support WS-Transfer based metadata requests. However there is a workaround. Since the wsa:To of the WS-Transfer based metadata requests ends with '/metadata', you can rename the control operation of the module to 'metadata' s.t. any of those requests are dispatched to that operation via RequestURIBasedOperationDispatcher. Then you can check whether the soap action is equal to WS-Transfer-Get action and process appropriately.  (The MexMessageReceiver and module.xml with the suggested changes are also uploaded)

> Metadata Exchange support  on Axis2
> -----------------------------------
>
>                 Key: AXIS2-2120
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2120
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: modules
>    Affects Versions: nightly
>            Reporter: Gee Chia
>         Attachments: mexPatch
>
>
> New features to support WS-MetadataExchange specification on Axis.  Basically, to support incoming Get Metadata request message from SOAP protocol engines, Axis2 SOAP processing is extended with new metadataExchange module, and allows plug-in of Data Locators. Data Locator is responsible to perform data retrieval. The plug-in support allows other Web Services engines that build on top of Axis2 to support different data retrieval implementation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2120) Metadata Exchange support on Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477362 ] 

Davanum Srinivas commented on AXIS2-2120:
-----------------------------------------

We've already checked this in right? :)

thanks,
dims

> Metadata Exchange support  on Axis2
> -----------------------------------
>
>                 Key: AXIS2-2120
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2120
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: modules
>    Affects Versions: nightly
>            Reporter: Gee Chia
>         Attachments: mexPatch, updated.zip
>
>
> New features to support WS-MetadataExchange specification on Axis.  Basically, to support incoming Get Metadata request message from SOAP protocol engines, Axis2 SOAP processing is extended with new metadataExchange module, and allows plug-in of Data Locators. Data Locator is responsible to perform data retrieval. The plug-in support allows other Web Services engines that build on top of Axis2 to support different data retrieval implementation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org