You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Supun Kamburugamuva <su...@gmail.com> on 2008/10/28 10:57:01 UTC

NHTTP transport PUT and DELETE methods

I was looking in to the NHTTP transport REST handling (trying to implement
PUT and DELETE). It seems that ServerWorker class uses some utilities which
are already available in Axis2 HTTP transport by re-implementing them. These
re-implemented utilities are located in Synapse RestUtil class. There is a
RestUtil class available in Axis2 HTTP transport as well. ServerWorker class
already uses functionality from Axis2 HTTP transport so using Axis2 HTTP
transport classes shouldn't be a problem.

I can use RestUtil class in Axis2 or write the missing methods in Synapse
RestUtil class to sync with Axis2 class. WDYT?

Regards,
Supun.

-- 
Software Engineer, WSO2 Inc
http://wso2.org
Web Services with Axis2/C http://wsaxc.blospot.com

Re: NHTTP transport PUT and DELETE methods

Posted by Ruwan Linton <ru...@gmail.com>.
Hi Supun,

We need to use the aixs2 RESTUtils class, I used the RESTUtils class inside
synapse to fix an issue before the last release as far as I can remember. I
was planning to fix this but didn't have time to look at this. I will fix
this issue ASAP, and I recommend you to use the axis2 RESTUtils class.

Thanks,
Ruwan

On Tue, Oct 28, 2008 at 3:27 PM, Supun Kamburugamuva <su...@gmail.com>wrote:

> I was looking in to the NHTTP transport REST handling (trying to implement
> PUT and DELETE). It seems that ServerWorker class uses some utilities which
> are already available in Axis2 HTTP transport by re-implementing them. These
> re-implemented utilities are located in Synapse RestUtil class. There is a
> RestUtil class available in Axis2 HTTP transport as well. ServerWorker class
> already uses functionality from Axis2 HTTP transport so using Axis2 HTTP
> transport classes shouldn't be a problem.
>
> I can use RestUtil class in Axis2 or write the missing methods in Synapse
> RestUtil class to sync with Axis2 class. WDYT?
>
> Regards,
> Supun.
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
> Web Services with Axis2/C http://wsaxc.blospot.com
>
>


-- 
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/