Doug,

I just download the axis2.war for the 1.1 release and tested and both

http://localhost:8080/axis2/rest/StockQuoteService/getPrice?symbol=IBM
http://localhost:8080/axis2/rest/Version/GetVersion

work as advertised with no extra configuration. This is 1.1 release and not
the nightly build - you
might want to check

The patch I refer to  (1917) applies to 1.1.x or if you build the binaries
from the latest code.

Mj


On 1/6/07, Martin Gainty <[EMAIL PROTECTED]> wrote:

 I think this is a work in progress
I thought that the REST version of StockQuoteService was in development so
I thought of generating code from the databinding/StockQuoteService.wsdl

Here are the steps

$AXIS2_HOME/bin>wsdl2Java.bat -uri
$AXIS2_HOME/samples/databinding/StockQuoteService.wsdl
Using AXIS2_HOME:   C:\AXIS\axis2-1.1
Using JAVA_HOME:    C:\J2SE15
Retrieving schema wsdl:imported from 'StockQuote.xsd', relative to
'file:/C:/AXIS/axis2-1.1/samples/databinding/'.
Jan 6, 2007 9:28:55 AM org.apache.axis2.schema.SchemaCompilerfindClassName
WARNING: Type {
http://w3.ibm.com/schemas/services/2002/11/15/stockquote}quote_type0<http://w3.ibm.com/schemas/services/2002/11/15/stockquote%7Dquote_type0>missing!
Jan 6, 2007 9:28:55 AM org.apache.axis2.schema.SchemaCompilerfindClassName
WARNING: Type {
http://w3.ibm.com/schemas/services/2002/11/15/stockquote}quote_type0<http://w3.ibm.com/schemas/services/2002/11/15/stockquote%7Dquote_type0>missing!

Yet when I attempt to look at
http://w3.ibm.com/schemas/services/2002/11/15/stockquote

I get a 404

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:* Doug Kunzman <[EMAIL PROTECTED]>
*To:* [email protected]
 *Sent:* Friday, January 05, 2007 9:42 PM
*Subject:* RE: Deployment Problem with Quick Start Sample


It still does not work do I need to download a patch?

Doug

 ------------------------------
*From:* Manoj Khangaonkar [mailto:[EMAIL PROTECTED]
*Sent:* Friday, January 05, 2007 8:30 PM
*To:* [email protected]
*Subject:* Re: Deployment Problem with Quick Start Sample


 And if you are using the browser you need to use the REST url

http://mindleech:8080/axis2/rest/StockQuoteService?getPrice=IBM


On 1/5/07, Manoj Khangaonkar <[EMAIL PROTECTED]> wrote:
>
> Doug,
>
> The aar needs to be copied to webapps/axis2/web-inf/services directory.
> You need to copy it
>
> Look at your tomcat logs , there should be an error.
>
> In 1.1.x -- the current trunk , rest is broken -see JIRA 1917 - i have
> provided a patch.
>
> One of the committers will need to commit the patch.
>
> Mj
>
>
>  On 1/5/07, Doug Kunzman <[EMAIL PROTECTED] > wrote:
> >
> > Hi-
> >
> > I am using AXIS2 version 1.1 and attempted to deploy the quick start
> > sample using the upload facility.  I noticed that the
> > StockQuateService.aar got copied to the /services directory rathern
> > than the /WEB-INF directory as the documentation describes.  Which is
> > correct?  Can someone explain?
> >
> > Also, when I type into a browser the following URL
> >
> > http://mindleech:8080/axis2/services/StockQuoteService
> >
> > I get the following message,
> >
> > -
> >        <soapenv:Fault>
> > <faultcode/>
> > -
> >        <faultstring>
> > I can not find a service for this request to be serviced. Check the
> > WSDL and the request URI; nested exception is:
> >        org.apache.axis2.AxisFault: I can not find a service for this
> > request to be serviced. Check the WSDL and the request URI
> > </faultstring>
> > <detail/>
> > </soapenv:Fault>
> >
> > When I type,
> > http://mindleech:8080/axis2/rest/StockQuoteService?getPrice=IBM
> >
> > I get no response.  Can someone please help me troubleshoot this
> > problem
> >
> > doug
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to