Umm..not sure. Can you run a validator on your xml to make sure you don't
have syntax error?

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

 Thank You Salma

Now I have a different error
2006-12-29 21:48:23,390 ERROR
org.apache.axis2.deployment.WarBasedAxisConfigurator -
org.apache.axis2.deployment.DeploymentException: Dispatch phase not found
on the global InFlow phase of the axis2.xml. Please recheck; nested
exception is:
 org.apache.axis2.deployment.DeploymentException: Dispatch phase not found
on the global InFlow phase of the axis2.xml. Please recheck: loading
repository from classpath
Here are the phase declarations from axis2.xml
    <!-- ================================================= -->
    <!-- Phases  -->
    <!-- ================================================= -->
    <phaseOrder type="InFlow">
        <!--  System pre defined phases       -->
        <phase name="Transport">
            <handler name="RequestURIBasedDispatcher"
                     class="
org.apache.axis2.engine.RequestURIBasedDispatcher">
                <order phase="Transport"/>
            </handler>
            <handler name="SOAPActionBasedDispatcher"
                     class="
org.apache.axis2.engine.SOAPActionBasedDispatcher">
                <order phase="Transport"/>
            </handler>
        </phase>
        <phase name="Security"/>
        <phase name="PreDispatch"/>
        <phase name="Dispatch" class="
org.apache.axis2.engine.DispatchPhase">
            <handler name="AddressingBasedDispatcher"
                     class="
org.apache.axis2.engine.AddressingBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>

            <handler name="SOAPMessageBodyBasedDispatcher"
                     class="
org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
            <handler name="InstanceDispatcher"
                     class="org.apache.axis2.engine.InstanceDispatcher">
                <order phase="Dispatch"/>
            </handler>
        </phase>
        <!--  System pre defined phases       -->
        <!--   After Postdispatch phase module author or or service author
can add any phase he want      -->
        <phase name="OperationInPhase"/>
 <phase name="soapmonitorPhase"/>
    </phaseOrder>
    <phaseOrder type="OutFlow">
        <!--      user can add his own phases to this area  -->
 <phase name="soapmonitorPhase"/>
        <phase name="OperationOutPhase"/>
        <!--system predefined phase-->
        <!--these phase will run irrespective of the service-->
        <phase name="PolicyDetermination"/>
        <phase name="MessageOut"/>
        <phase name="Security"/>
    </phaseOrder>
    <phaseOrder type="InFaultFlow">
        <phase name="PreDispatch"/>
        <phase name="Dispatch" class="
org.apache.axis2.engine.DispatchPhase">
            <handler name="RequestURIBasedDispatcher"
                     class="
org.apache.axis2.engine.RequestURIBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>

            <handler name="SOAPActionBasedDispatcher"
                     class="
org.apache.axis2.engine.SOAPActionBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>

            <handler name="AddressingBasedDispatcher"
                     class="
org.apache.axis2.engine.AddressingBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>

            <handler name="SOAPMessageBodyBasedDispatcher"
                     class="
org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
            <handler name="InstanceDispatcher"
                     class="org.apache.axis2.engine.InstanceDispatcher">
                <order phase="PostDispatch"/>
            </handler>
        </phase>
        <!--      user can add his own phases to this area  -->
        <phase name="OperationInFaultPhase"/>
 <phase name="soapmonitorPhase"/>
    </phaseOrder>
    <phaseOrder type="OutFaultFlow">
        <!--      user can add his own phases to this area  -->
 <phase name="soapmonitorPhase"/>
        <phase name="OperationOutFaultPhase"/>
        <phase name="PolicyDetermination"/>
        <phase name="MessageOut"/>
    </phaseOrder>
Advice ?
---------------------------------------------------------------------------

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:* Salma Soleil <[EMAIL PROTECTED]>
*To:* [email protected] ; Martin Gainty <[EMAIL PROTECTED]>
*Sent:* Friday, December 29, 2006 7:58 PM
*Subject:* Re: No REST for axis2 v1.1


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.jspI 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