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
