You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by kat kat <do...@gmail.com> on 2008/12/01 23:09:21 UTC
Re: Axis 1 in semi-RESTful way
On Fri, Nov 28, 2008 at 9:07 PM, kat kat <do...@gmail.com> wrote:
> On Fri, Nov 28, 2008 at 8:41 PM, keith chapman <ke...@gmail.com>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 <do...@gmail.com> 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?
>>>
>>
Re: Axis 1 in semi-RESTful way
Posted by kat kat <do...@gmail.com>.
On Fri, Dec 12, 2008 at 7:06 AM, keith chapman <ke...@gmail.com>wrote:
> 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, I will try that.
> [1] http://wso2.org/projects/wsas/java
> [2] http://ww2.wso2.org/~wsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip<http://ww2.wso2.org/%7Ewsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip>
>
>
> On Tue, Dec 2, 2008 at 3:39 AM, kat kat <do...@gmail.com> wrote:
>
>>
>>
>> On Fri, Nov 28, 2008 at 9:07 PM, kat kat <do...@gmail.com> wrote:
>>
>>> On Fri, Nov 28, 2008 at 8:41 PM, keith chapman <ke...@gmail.com>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 <do...@gmail.com> 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
>
Re: Axis 1 in semi-RESTful way
Posted by kat kat <do...@gmail.com>.
On Thu, Dec 18, 2008 at 4:54 AM, keith chapman <ke...@gmail.com>wrote:
> Hi,
>
> The WSAS 2.3 release does not support exposing Axis1 services in a RESTfull
> manner. This was fixed very recenly and hence will be available in WSAS 3.0
> which will be out in mid January. If you wanna try it out for the moment you
> could use the public beta [1] that we released last week. There will be
> another beta out before the end of the year.
>
> I will provide you with an example...
All right thanks. This 3.0 release looks really interesting with pick and
choose capability. Looking forward for your example.
>
>
> Thanks,
> Keith.
>
> [1] http://ww2.wso2.org/~wsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip<http://ww2.wso2.org/%7Ewsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip>
>
>
> On Wed, Dec 17, 2008 at 12:44 PM, kat kat <do...@gmail.com> wrote:
>
>> On Fri, Dec 12, 2008 at 7:06 AM, keith chapman <ke...@gmail.com>wrote:
>>
>>> 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).
>>
>>
>>
>> Is there any example service of this proxy-ing Axis1 service via Axis2? I
>> did download wsas2.3 binary and saw the e.g's TinyURL and Flickr..
>>
>>
>>
>>>
>>>
>>> Thanks,
>>> Keith.
>>>
>>> [1] http://wso2.org/projects/wsas/java
>>> [2]
>>> http://ww2.wso2.org/~wsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip<http://ww2.wso2.org/%7Ewsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip>
>>>
>>>
>>> On Tue, Dec 2, 2008 at 3:39 AM, kat kat <do...@gmail.com> wrote:
>>>
>>>>
>>>>
>>>> On Fri, Nov 28, 2008 at 9:07 PM, kat kat <do...@gmail.com> wrote:
>>>>
>>>>> On Fri, Nov 28, 2008 at 8:41 PM, keith chapman <
>>>>> keithgchapman@gmail.com> 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 <do...@gmail.com> 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
>>>
>>
>>
>
>
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>
Re: Axis 1 in semi-RESTful way
Posted by keith chapman <ke...@gmail.com>.
Hi,
The WSAS 2.3 release does not support exposing Axis1 services in a RESTfull
manner. This was fixed very recenly and hence will be available in WSAS 3.0
which will be out in mid January. If you wanna try it out for the moment you
could use the public beta [1] that we released last week. There will be
another beta out before the end of the year.
I will provide you with an example...
Thanks,
Keith.
[1] http://ww2.wso2.org/~wsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip<http://ww2.wso2.org/%7Ewsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip>
On Wed, Dec 17, 2008 at 12:44 PM, kat kat <do...@gmail.com> wrote:
> On Fri, Dec 12, 2008 at 7:06 AM, keith chapman <ke...@gmail.com>wrote:
>
>> 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).
>
>
>
> Is there any example service of this proxy-ing Axis1 service via Axis2? I
> did download wsas2.3 binary and saw the e.g's TinyURL and Flickr..
>
>
>
>>
>>
>> Thanks,
>> Keith.
>>
>> [1] http://wso2.org/projects/wsas/java
>> [2] http://ww2.wso2.org/~wsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip<http://ww2.wso2.org/%7Ewsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip>
>>
>>
>> On Tue, Dec 2, 2008 at 3:39 AM, kat kat <do...@gmail.com> wrote:
>>
>>>
>>>
>>> On Fri, Nov 28, 2008 at 9:07 PM, kat kat <do...@gmail.com> wrote:
>>>
>>>> On Fri, Nov 28, 2008 at 8:41 PM, keith chapman <keithgchapman@gmail.com
>>>> > 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 <do...@gmail.com> 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
>>
>
>
--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/
blog: http://www.keith-chapman.org
Re: Axis 1 in semi-RESTful way
Posted by kat kat <do...@gmail.com>.
On Fri, Dec 12, 2008 at 7:06 AM, keith chapman <ke...@gmail.com>wrote:
> 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).
Is there any example service of this proxy-ing Axis1 service via Axis2? I
did download wsas2.3 binary and saw the e.g's TinyURL and Flickr..
>
>
> Thanks,
> Keith.
>
> [1] http://wso2.org/projects/wsas/java
> [2] http://ww2.wso2.org/~wsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip<http://ww2.wso2.org/%7Ewsasbuilder/wsas_3_0/beta1/wso2wsas-SNAPSHOT.zip>
>
>
> On Tue, Dec 2, 2008 at 3:39 AM, kat kat <do...@gmail.com> wrote:
>
>>
>>
>> On Fri, Nov 28, 2008 at 9:07 PM, kat kat <do...@gmail.com> wrote:
>>
>>> On Fri, Nov 28, 2008 at 8:41 PM, keith chapman <ke...@gmail.com>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 <do...@gmail.com> 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
>
Re: Axis 1 in semi-RESTful way
Posted by keith chapman <ke...@gmail.com>.
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 <do...@gmail.com> wrote:
>
>
> On Fri, Nov 28, 2008 at 9:07 PM, kat kat <do...@gmail.com> wrote:
>
>> On Fri, Nov 28, 2008 at 8:41 PM, keith chapman <ke...@gmail.com>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 <do...@gmail.com> 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