Set the parameter in axis2.xml

<parameter name="enableRESTInAxis2MainServlet" locked="true">true</parameter

http://wso2.org/library/254


On 12/29/06, Martin Gainty <[EMAIL PROTECTED]> wrote:

 How do i resolve this error when listing services or go to validate
services ?
(Note all I did was have tomcat browse and open the un-modified
axis2.1.1.war)
 Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/web.xml
------------------------------------------------------\---------------------

This e-mail message (including attachments, if any) is intended for the
use of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified that any
dissemination, distribution or copying of this communication is strictly
prohibited.
---------------------------------------------------------------------------

Le présent message électronique (y compris les pièces qui y sont annexées,
le cas échéant) s'adresse au destinataire indiqué et peut contenir des
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
destinataire de ce document, nous vous signalons qu'il est strictement
interdit de le diffuser, de le distribuer ou de le reproduire.

----- Original Message -----
*From:* Manoj Khangaonkar <[EMAIL PROTECTED]>
*To:* [email protected] ; Martin Gainty <[EMAIL PROTECTED]>
 *Sent:* Friday, December 29, 2006 7:03 PM
*Subject:* Re: No REST for axis2 v1.1


I presume you have seen this link that describes AXIS2 support for REST
and has some samples

http://ws.apache.org/axis2/1_1/rest-ws.html


On 12/29/06, Manoj Khangaonkar <[EMAIL PROTECTED]> wrote:
>
> I am not a REST expert, but it appears
>
> The quickstart example is invoked as a REST client.
>
> here is cut and paste from the userguide:
>
> begin guide -------------
>
> Once those url's are working, let's quickly test the service. Try
> pointing your browser to the following URL:
>
> http://localhost:8080/axis2/rest/StockQuoteService/getPrice?symbol=IBM
>
> end guide ---------
>
> This invokes AXISRestServlet and not AXISServlet and follows the code path 
for REST services.
>
>
>
>
>  On 12/29/06, Martin Gainty <[EMAIL PROTECTED] > wrote:
> >
> >  apparently that was a patch for a CLASSPATH issue
> > specifically I am looking for REST service which none of the 2.1.1distros 
seem to have
> >
> > BTW there are 5 quickstarts that are packaged in the 2.1.1 distro (and
> > none of them are a REST service)
> > /src/modules/samples/quickstart
> > /src/modules/samples/quickstartadb
> > /src/modules/samples/quickstartaxiom
> > /src/modules/samples/quickstartjibx
> > /src/modules/samples/quickstartxmlbeans
> >
> > M-
> > ---------------------------------------------------------------------------
> >
> > This e-mail message (including attachments, if any) is intended for
> > the use of the individual or entity to which it is addressed and may contain
> > information that is privileged, proprietary , confidential and exempt from
> > disclosure. If you are not the intended recipient, you are notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited.
> > ---------------------------------------------------------------------------
> >
> > Le présent message électronique (y compris les pièces qui y sont
> > annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir
> > des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
> > destinataire de ce document, nous vous signalons qu'il est strictement
> > interdit de le diffuser, de le distribuer ou de le reproduire.
> >
> > ----- Original Message -----
> > *From:* Manoj Khangaonkar <[EMAIL PROTECTED]>
> > *To:* [email protected] ; Martin Gainty <[EMAIL PROTECTED]>
> > *Sent:* Friday, December 29, 2006 12:23 PM
> > *Subject:* Re: No REST for axis2 v1.1
> >
> >
> > Martin,
> >
> > To add to my earlier response,
> >
> > REST should be enabled by default and for 1.1.1 the patch is for
> > AXIS2-1917.
> >
> > Mj
> >
> >
> > On 12/29/06, Manoj Khangaonkar <[EMAIL PROTECTED] > wrote:
> > >
> > > Martin,
> > >
> > > The quickstartsample is a rest sample. The client invokes the
> > > service using REST
> > >
> > > I have not tried it in 1.1.
> > >
> > > In 1.1.1 , it is broken and I have provided a patch AXIS2-1912.
> > >
> > > Mj
> > >
> > >
> > >  On 12/29/06, Martin Gainty <[EMAIL PROTECTED] > wrote:
> > > >
> > > >  Hello All- when attempting to access Axis 2 v 1.1 HappyAxis.jsp I
> > > > see
> > > > Please enable REST support in WEB-INF/conf/axis2.xml and
> > > > WEB-INF/web.xml Does anyone know how to enable rest support in
> > > > Axis 2 1.1?
> > > > Is there an example REST service available?
> > > >
> > > > Thx,
> > > > M-
> > > > 
---------------------------------------------------------------------------
> > > >
> > > > This e-mail message (including attachments, if any) is intended
> > > > for the use of the individual or entity to which it is addressed and may
> > > > contain information that is privileged, proprietary , confidential and
> > > > exempt from disclosure. If you are not the intended recipient, you are
> > > > notified that any dissemination, distribution or copying of this
> > > > communication is strictly prohibited.
> > > > 
---------------------------------------------------------------------------
> > > >
> > > > Le présent message électronique (y compris les pièces qui y sont
> > > > annexées, le cas échéant) s'adresse au destinataire indiqué et peut 
contenir
> > > > des renseignements de caractère privé ou confidentiel. Si vous n'êtes 
pas le
> > > > destinataire de ce document, nous vous signalons qu'il est strictement
> > > > interdit de le diffuser, de le distribuer ou de le reproduire.
> > > >
> > >
> > >
> >
>

Reply via email to