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 Deepal Jayasinghe <de...@opensource.lk> on 2006/03/03 04:47:28 UTC

[Axis2] wsamapping syntax changes

Hi All;

If some one want to add a mapping soap action or any other name into
operation he had to add a following parameter into operation element in
the services.xml
<parameter name="wsamapping">myMapping</parameter>

but I created a JIRA saying that is not the correct way of doing that ,
since that is not something services require at the runtime but Axis2
core use while processing the message. Therefore its better if we could
make it to child elements of the operation tag , so I made the changes
 :)  and (fixed the JIRA)  if some one want to add mapping he has to add
following xml element inside operation element

<operation name="myOP">
  <wsamapping>MyMapping</wsamapping>
</operation>


-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



Re: [Axis2] wsamapping syntax changes

Posted by Eran Chinthaka <ch...@opensource.lk>.
Please update the services.xsd as well.

Deepal Jayasinghe wrote:

>hey cool idea , I will go for that  :)
>
>Ruchith Fernando wrote:
>
>  
>
>>+1 to removing the parameter.
>>
>>How about renaming "wsamapping" to "actionMapping" since it this is
>>used with both soapAction and wsa:Action.
>>
>>Thanks,
>>Ruchith
>>
>>On 3/3/06, Deepal Jayasinghe <de...@opensource.lk> wrote:
>> 
>>
>>    
>>
>>>Hi All;
>>>
>>>If some one want to add a mapping soap action or any other name into
>>>operation he had to add a following parameter into operation element in
>>>the services.xml
>>><parameter name="wsamapping">myMapping</parameter>
>>>
>>>but I created a JIRA saying that is not the correct way of doing that ,
>>>since that is not something services require at the runtime but Axis2
>>>core use while processing the message. Therefore its better if we could
>>>make it to child elements of the operation tag , so I made the changes
>>>:)  and (fixed the JIRA)  if some one want to add mapping he has to add
>>>following xml element inside operation element
>>>
>>><operation name="myOP">
>>> <wsamapping>MyMapping</wsamapping>
>>></operation>
>>>
>>>
>>>--
>>>Thanks,
>>>Deepal
>>>................................................................
>>>~Future is Open~
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>> 
>>
>>    
>>
>
>  
>

Re: [Axis2] wsamapping syntax changes

Posted by Deepal Jayasinghe <de...@opensource.lk>.
hey cool idea , I will go for that  :)

Ruchith Fernando wrote:

>+1 to removing the parameter.
>
>How about renaming "wsamapping" to "actionMapping" since it this is
>used with both soapAction and wsa:Action.
>
>Thanks,
>Ruchith
>
>On 3/3/06, Deepal Jayasinghe <de...@opensource.lk> wrote:
>  
>
>>Hi All;
>>
>>If some one want to add a mapping soap action or any other name into
>>operation he had to add a following parameter into operation element in
>>the services.xml
>><parameter name="wsamapping">myMapping</parameter>
>>
>>but I created a JIRA saying that is not the correct way of doing that ,
>>since that is not something services require at the runtime but Axis2
>>core use while processing the message. Therefore its better if we could
>>make it to child elements of the operation tag , so I made the changes
>> :)  and (fixed the JIRA)  if some one want to add mapping he has to add
>>following xml element inside operation element
>>
>><operation name="myOP">
>>  <wsamapping>MyMapping</wsamapping>
>></operation>
>>
>>
>>--
>>Thanks,
>>Deepal
>>................................................................
>>~Future is Open~
>>
>>
>>
>>    
>>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



Re: [Axis2] wsamapping syntax changes

Posted by Ruchith Fernando <ru...@gmail.com>.
+1 to removing the parameter.

How about renaming "wsamapping" to "actionMapping" since it this is
used with both soapAction and wsa:Action.

Thanks,
Ruchith

On 3/3/06, Deepal Jayasinghe <de...@opensource.lk> wrote:
> Hi All;
>
> If some one want to add a mapping soap action or any other name into
> operation he had to add a following parameter into operation element in
> the services.xml
> <parameter name="wsamapping">myMapping</parameter>
>
> but I created a JIRA saying that is not the correct way of doing that ,
> since that is not something services require at the runtime but Axis2
> core use while processing the message. Therefore its better if we could
> make it to child elements of the operation tag , so I made the changes
>  :)  and (fixed the JIRA)  if some one want to add mapping he has to add
> following xml element inside operation element
>
> <operation name="myOP">
>   <wsamapping>MyMapping</wsamapping>
> </operation>
>
>
> --
> Thanks,
> Deepal
> ................................................................
> ~Future is Open~
>
>
>