[Wsf-general] WSRequest support for REST
Keith Chapman
keith at wso2.com
Tue May 22 21:02:17 PDT 2007
Jonathan Marsh wrote:
> The WSDL HTTP binding provides support for mapping a list of name-value
> pairs (as expressed in a specifically constrained XML Schema type) to HTTP.
> You envision a programming model where the user can pass these name/value
> pairs directly into the WSRequest rather than wrapping them first in XML?
>
Yes, may be we should provide both options to the user. Why should the
user go through the trouble of formulating the xml himself (we then have
to extract the parameters from the xml). If he had the option of passing
name-value pairs directly that might be easier.
Thanks,
Keith.
> Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com
>
>
>> -----Original Message-----
>> From: wsf-general-bounces at wso2.org [mailto:wsf-general-
>> bounces at wso2.org] On Behalf Of Keith Chapman
>> Sent: Wednesday, May 16, 2007 11:52 PM
>> To: wsf-general at wso2.org
>> Subject: [Wsf-general] WSRequest support for REST
>>
>> This mail is down the lines of the evolving WSRequest [1], mainly with
>> regard to how the API will provide support for the RESTBinding.
>>
>> The REST implementation is AXIS2 is based on retrieving data from the
>> SOAP request and building the REST request (As specified by the HTTP
>> method, HTTPLocation property and the content-type).
>>
>> Should WSRequest follow the same footsteps or should it provide better
>> support for REST? I guess we can use the above as the default
>> implementation where its XML in XML out and also provide a easier
>> mechanism of formulating the request by just providing name-value
>> pairs.
>>
>> Comments??
>>
>> Thanks,
>> Keith.
>>
>> [1]
>> http://www.wso2.org/wiki/display/mashup/Ideas+for+evolving+WSRequest
>>
>>
>>
>>
>> _______________________________________________
>> Wsf-general mailing list
>> Wsf-general at wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/wsf-general
>>
>
>
>
More information about the Wsf-general
mailing list