Hi

Wanted to try and deploy a service that uses @QueryParam as follows.  Get
the above error message when I try and access it from

https://localhost:8443/localgravity/storeservice/helloworld?country="GBR"&state="...";
 
etc

Any ideas?  Only thing I can think of is that, this time, I tried to use
@QueryParam instead of @PathParam lick last time - though this should work
if I have the syntax correct right.

I've included some artefacts below...

rgds

Rob
========================
WADL

Looking at https://localhost:8443/localgravity?_wadl my service is simply
not there...

<resources base="https://localhost:8443/localgravity/";>
<resource path="/storeservice">
<resource path="/store/{id}">  MY FIRST SUCCESSFULLY-DEPLOYED SERVICE NOT
THE ONE I WANT

<method name="GET">
<request/>
<response><representation
mediaType="application/json;charset=UTF-8"/></response>
</method>
</resource>
</resource>
</resources>

SERVICE CLASS:

@Path("/storeservice")
@Produces("application/json; charset=UTF-8")
public class BasicService {

    private static final Logger LOGGER =
Logger.getLogger(BasicService.class.getName());
    @Context
    private ServletContext servletContext;
    @Context 
    private SecurityContext securityContext;
    
        @GET
        @Path("/helloworld")
        public LGSStorePayload serviceQuery(
                @QueryParam("country") String c,
                @DefaultValue("") @QueryParam("state") String s,
                @DefaultValue("") @QueryParam("city") String cy,
                @DefaultValue("") @QueryParam("insku") String ins) {
                return doQuery(c, s, cy, ins); etc....
        }

etc..



--
View this message in context: 
http://cxf.547215.n5.nabble.com/No-root-resource-matching-request-path-tp5733691.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to