> keith chapman wrote:
>> Wouldn't it be better to follow the WSDL 2.0 property names so that
>> you have a one to one mapping between property names in the
>> services.xml. WSDL 2.0 property names are whttp:httploaction and
>> whttp:httpmethod where whttp is the namespace of the httpBinding.
>>
>
> But that is less readable IMHO as far as the users are concerned -
> someone looking at service XML would not be able to infer that this is a
> REST property.

+1, and, besides reading from a WSDL and reading from a services.xml would
necessarily be two separate paths and thus, would not matter. Because we
would not in fact search an attribute with whttp:httpLocation, but rather
an attribute with prefix whttp and local-part httpLocation. I hope I'm not
missing anything here.

Regards,
Senaka

>
> Samisa...
>> Thanks,
>> Keith.
>>
>> On Jan 25, 2008 4:21 PM, Dumindu Pallewela <[EMAIL PROTECTED]> wrote:
>>
>>> On Jan 25, 2008 2:26 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote:
>>>
>>> [snip]
>>>
>>>>> <operation name="foo">
>>>>>              <parameter name="HTTPMethod" >PUT</parameter>
>>>>>              <parameter name="HTTPLocation"
>>>>> >foo/bar/{x}/{y}</parameter>
>>>>> </operation>
>>>>>
>>>>>
>>>> +1. With the change to the param name to reflect tat it is REST, e.g.
>>>> REST_HTTPMethod & REST_HTTPLocation
>>>>
>>> [/snip]
>>>
>>> Won't *RESTMethod* and *RESTLocation* be better, as HTTP is assumed
>>> anyway?
>>>
>>> -Dumindu.
>>>
>>> --
>>> Dumindu Pallewela
>>> http://blog.dumindu.com
>>> GPG ID: 0x9E131672
>>>
>>> WSO2 | "Oxygenating the Web Service Platform" | http://wso2.com
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to