AFAIK Axis1 does not have support for REST, but Axis2 has rich support for REST. Therefore the following might be a good option for you.
The WSO2 Web Services Application Server (WSO2 WSAS) [1] which is a complete runtime for web services built on top of Axis2 has a key feature that lets you expose Axis1 services as Axis2 services (It proxies requests for Axis1 services via Axis2. Therefore WSAS will accept a REST request and pass it on as a SOAP request to Axis1). We've just released a public beta of WSAS 3.0 [2]. (It is available under the Apache Liscense, hence you could download it and tryit out your self). Thanks, Keith. [1] http://wso2.org/projects/wsas/java [2] http://ww2.wso2.org/~wsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip On Tue, Dec 2, 2008 at 3:39 AM, kat kat <[email protected]> wrote: > > > On Fri, Nov 28, 2008 at 9:07 PM, kat kat <[email protected]> wrote: > >> On Fri, Nov 28, 2008 at 8:41 PM, keith chapman >> <[email protected]>wrote: >> >>> Can you explain why you have to use Axis2 a.4 and not Axis2 a.4.1? >> >> >> Is Axis 1.4 ( http://ws.apache.org/axis/ ) referred as Axis2 a.4? >> >> Well, I am planning to manage the VMWare ESX 3.5 virtual machines using >> the SOAP web service they provide. They have given the WSDL although the >> code generated by WSDL2JAVA class from Axis ( http://ws.apache.org/axis/) >> and Axis2 are pretty different. VMWare recommends development of client >> code accessing their service on Axis 1.4. >> >> Me being new to both and in the interest to develop the client faster I >> want to kick start with the client code examples they have given. They >> generate client stubs using WSDL2JAVA of Axis 1.4. >> >> I agree same is possible with AXIS2 as well and my original aim was to >> develop a service which will act as a REST server (other projects in my >> company follow REST) and SOAP client for VMWare with REST acting just as a >> interface between my webservice and other projects which use REST client in >> Python. >> >> So is the reason. >> >> >> On Sat, Nov 29, 2008 at 8:27 AM, kat kat <[email protected]> wrote: >>> >>>> Hello All, >>>> >>>> For some reason I will have to use axis 1.4 and not axis2 1.4.1. >>>> >>>> So, can Axis 1, current release 1.4, be used in semi-RESTful way with >>>> just POST/GET methods since it supports WSDL 1.1 and WSDL 1.1, I believe, >>>> does support POST and GET methods? >>> >>> > > Any feedback on this? If I want a simple application/x-www-form-urlencoded > HTTP POST to be performed on one service and equivalently a simple GET, can > this be done with Axis 1.4. In brief REST style POST and GET with Axis 1.4. > > > >> If yes, is there any example for this? >>>> >>> > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
