You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Bill Blough (JIRA)" <ji...@apache.org> on 2019/08/17 18:24:00 UTC
[jira] [Updated] (AXIS2C-1283) Improvement for REST. Allows HTTP
methods without post data to have the correct namespace associated by
default. This default associated namespace can be defined in service.xml
for each operation.
[ https://issues.apache.org/jira/browse/AXIS2C-1283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Blough updated AXIS2C-1283:
--------------------------------
Labels: patch (was: )
> Improvement for REST. Allows HTTP methods without post data to have the correct namespace associated by default. This default associated namespace can be defined in service.xml for each operation.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-1283
> URL: https://issues.apache.org/jira/browse/AXIS2C-1283
> Project: Axis2-C
> Issue Type: Improvement
> Components: core/deployment
> Environment: Affects REST requests.
> Reporter: Luis Bilo
> Assignee: Nandika Jayawardana
> Priority: Minor
> Labels: patch
> Fix For: 1.7.0
>
> Attachments: op_ns_uri.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Suports default namespace definition @ services.xml for each rest operation. The motivation behind this patch was to make REST requests without post data to be compatible with adb auto generated code with no modifications.
> The default namespace can be defined as in the following example:
> <operation name="get_message" uri_ns="my_namespace">
> <parameter name="wsamapping">urn:get_message</parameter>
> <parameter name="RESTMethod">GET</parameter>
> <parameter name="RESTLocation">message/{uuid}/</parameter>
> </operation>
> Note: there could still be an improvement, that would be to allow the definition of a global default namespace for all requests, in order to minimize services.xml configuration time. Individual operation default namespace would still have priority over global definition.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org