cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Mao <james....@iona.com>
Subject Re: REST questions
Date Tue, 31 Oct 2006 03:37:27 GMT
Yes, i would agree with you, so the current GET support in CXF, is 
extremely fast, i'll skip all the unmarshall part.
It support both the qurey and path,

http://localhost:9090/SoapContext/SoapPort/greetMe/me/CXF
http://localhost:9090/SoapContext/SoapPort/greetMe?me=CXF

Cheers,
James.

>  
>   
>> So, currently i think all the hello_world demos can get the 
>> result even from the browser, just use the uri like this:
>>
>> http://localhost:9090/SoapContext/SoapPort/sayHi
>> http://localhost:9090/SoapContext/SoapPort/greetMe/me/CXF
>>
>> If the method name is not exist, you will get the fault message.
>>     
>
> Just wanted to post a reminder that the 'method' for a 
> REST-style interaction perpetrated over HTTP is usually
> the 'GET' of the HTTP, rather than anything that is stored 
> in the XML body of a message, or indeed in the URI.
>
>  cheers
>   --oh
>
>   


Mime
View raw message