Hi
Following is my axis2.xml entries by default.
<!-- If the enableRESTInAxis2MainServlet is true, then Axis2MainServlet
will handle both SOAP and REST messages -->
<parameter name="enableRESTInAxis2MainServlet"
locked="true">false</parameter>
<!-- Following parameter will completely disable REST handling in
both the servlets-->
<parameter name="disableREST" locked="true">false</parameter>
<!-- This will disable the separate servlet we have for REST
handling. -->
<parameter name="disableSeparateEndpointForREST"
locked="true">false</parameter>
It seems axis2.war is coming by default with rest API's disabled.
When I am trying to access
http://localhost:8080/axis2/rest/Version/getVersion through browser i am
getting the following error "Please enable REST support in
WEB-INF/conf/axis2.xml and WEB-INF/web.xml"
-----Original Message-----
From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED]
Sent: Friday, May 25, 2007 7:43 AM
To: [email protected]
Subject: Re: Rest APIs
[EMAIL PROTECTED] wrote:
>
> Hi
>
>
>
> Can anybody help me enable rest APIs in my webservices?
>
http://ws.apache.org/axis2/1_2/rest-ws.html
Axis2 HTTP endpoints can handle both REST and SOAP by default, unless
you explicitly disable it using disableREST parameter in axis2.xml conf
file.
HTH.
Samisa...
--
Samisa Abeysinghe : http://www.bloglines.com/blog/samisa
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted by this
email.
www.wipro.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]